On Mon, Jul 30, 2012 at 6:32 PM, Jenda Krynicky <je...@krynicky.cz> wrote: > > Just to prevent confusion ... the "use autodie" is not needed to be > able to open a "filehandle into a string". ... > It forces some Perl builtins to throw an exception instead of > reporting success or failure using their return values.
I understand what you're saying, I thought it was to cover the fact that open return value wasn't being checked? Same as if I'd rewritten that to be open my $fh_to_string, '<', \$buffer or die "can't unbuffer string: $!"; hmm, but can that open ever fail? -- a Andy Bach, afb...@gmail.com 608 658-1890 cell 608 261-5738 wk -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/