[ABE.pm] searching the archives
Ricardo SIGNES
perl.abe at rjbs.manxome.org
Wed Aug 13 12:25:50 PDT 2008
* "Faber J. Fedor" <faber at linuxnj.com> [2008-08-13T15:18:59]
> How do I search the ML archives?
Curses!
http://mail.pm.org/pipermail/abe-pm/
No search there, and we're not loaded into perl.markmail.org
> I want to look up the reason Rick gave for using the new style open()
> command
>
> open my $fh, '>', $filename;
>
> as opposed to the old style
>
> open(FH, ">$filename");
For one thing, having a string that contains multiple args is awful. It's like
if you had to say:
$sum = add_up("1:2:3:10"); # returns 16
More importantly, though, the old style creates a global filehandle. Globals
are evil.
--
rjbs
More information about the ABE-pm
mailing list