in reply to Re: Re: Increasing Buffer size of STDIN on PERL Program
in thread Increasing Buffer size of STDIN on PERL Program

In addition to the reply from Roger above, the node Perl Idioms Explained - my $string = do { local $/; <FILEHANDLE> }; from jeffa and the discussion that follows provides an excellent overview of this idiom.

 

perl -le "print+unpack'N',pack'B32','00000000000000000000001010000011'"

  • Comment on Re: Re: Re: Increasing Buffer size of STDIN on PERL Program