in reply to Re: Re: Perl Style: About error messges opening files
in thread Perl Style: About error messges opening files
Having said that, I tend to use => to separate arguments which have totally different roles - most often to separate the first argument from the rest:
Etc. I've used that long before people started preaching that => was some kind of pair creator. It never was, and still isn't. And I'm not the only one using this style, Larry Rosler (of GRT fame) was a vivid user of this style as well.push @array => 1, 2, 3, 4; printf "%s %6d %s" => $foo, $bar, $baz; pack "C" => $var; splice @array => 0, 3 => "foo", "bar", "baz";
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl Style: About error messges opening files
by flyingmoose (Priest) on Apr 27, 2004 at 14:23 UTC |