[Catalyst] Re: Setting file handle as the response body generates warnings.

Aristotle Pagaltzis pagaltzis at gmx.de
Wed Nov 27 06:41:17 GMT 2013


* Craig Chant <craig at homeloanpartnership.com> [2013-11-26 10:20]:
>         # create an IO::File for Catalyst
>         use IO::File;
>         my $iof = IO::File->new;
>
>         # open XLS
>         $iof->open(\$xls, "r");

          open my $iof, '<', \$xls;

-- 
*AUTOLOAD=*_;sub _{s/..([^:]*)$/()[print$1,(",$\/"," ")[defined wantarray]]/e;$_}
&Just->another->Perl->hack;
#Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list