>>>>> "SHC" == Shawn H Corey <shawnhco...@gmail.com> writes:
SHC> On 11-03-18 04:31 PM, shawn wilson wrote: >> my $writer = shift->( >> [ 200, [ "Content-type" => "text/plain" ], $s ] >> ); SHC> shift will shift @_ in a sub and @ARGV outside of one. So the first SHC> question is this inside a sub or not? no, that cannot be a valid question. @ARGV can't hold a code reference (unless some nutcase pushed one in there!). it can only hold strings from the command line. so this has to be inside a sub. uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/