<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hey all,<div><br></div><div>i'm testing an update to the latest Catalyst version.</div><div>the web-application via FCGI works fine, but i do run Catalyst from command line scripts as well.</div><div><br></div><div>like</div><span class="Apple-tab-span" style="white-space:pre">        </span>use MyApp;<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>my $c = MyApp-&gt;new();&nbsp;</div><div><br><br><span class="Apple-tab-span" style="white-space:pre">        </span>my $val = "12345";<br><span class="Apple-tab-span" style="white-space:pre">        </span>$c-&gt;stash-&gt;{val} = $val;<br><br><span class="Apple-tab-span" style="white-space:pre">        </span>my $stash = $c-&gt;stash-&gt;{val};<br><span class="Apple-tab-span" style="white-space:pre">        </span>print "from stash: $stash\n";</div><div><br></div><div>since the upgrade i get the following error:</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>You requested a stash, but one does not exist at .....\site\lib\Catalyst.pm line 517.</div><div><br></div><div>As i read stash is now a middleware plugin; and is stored in the&nbsp;PSGI? environment; for sure thats not available when running from CLI.</div><div><br></div><div>how to i make the good old stash working if i'm from command line ?</div><div><br></div><div>thanks for support,</div><div>bernhard</div><div><br></div><div><br></div><div><br><div><br><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>—</div><div>Bernhard Bauch</div><div>Webdevelopment</div><div><br></div><div><div>ZSI-Zentrum für Soziale Innovation GmbH<br>Centre for Social Innovation<br><br>Linke Wienzeile 246, A-1150 Wien, Austria</div><div>Mail:&nbsp;<a href="mailto:bauch@zsi.at">bauch@zsi.at</a></div></div><div>Skype: berni-zsi</div><div><br></div><div><br></div></div></div></div></div><br class="Apple-interchange-newline">
</div>
<br></div></div></body></html>