in reply to Re: Perl Style: About error messges opening files
in thread Perl Style: About error messges opening files
I've noticed you use => in place of commas .. a lot. <seinfeld>not that there is anything wrong with that</seinfeld>. I'm still one that uses => only for hash construction, when I need to imply a key-value pair, or maybe in a map, but anyway, when I need the implicit LHS quoting and a comma.
In one of your examples, you gave something like
system mkdir => -p => $foo;
while most would do something closer to:
system("mkdir -p $foo");
Care to explain why this is syllistically more interesting to you? My guess is no, but we're on a style thread and this just looks odd to me. I'm thinking you were nearly eaten by a pack of rabid commas when you were a child or something :) Ok, so I'm not going to use '=>' any more because of what you might say, I'm just curious ... sort of like a 'where did that accent come from' type of question.
(commence with the moose stoning)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl Style: About error messges opening files
by Abigail-II (Bishop) on Apr 27, 2004 at 14:19 UTC | |
by flyingmoose (Priest) on Apr 27, 2004 at 14:23 UTC | |
|
Re^3: Perl Style: About error messges opening files
by adrianh (Chancellor) on Apr 27, 2004 at 14:18 UTC | |
by eserte (Deacon) on Apr 27, 2004 at 14:43 UTC | |
|
Re: Re: Re: Perl Style: About error messges opening files
by eserte (Deacon) on Apr 27, 2004 at 14:13 UTC | |
by flyingmoose (Priest) on Apr 27, 2004 at 14:19 UTC | |
by eserte (Deacon) on Apr 27, 2004 at 14:37 UTC | |
by flyingmoose (Priest) on Apr 27, 2004 at 18:51 UTC |