Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Besides what tye said in Re^4: GetOpt::Long usage style (\my @a), you can just use an arrayref instead. Obviously the reference operator \ required for scalars can be omitted.
Same for a hash/hashref. Admittedly it is not quite the same as what one would expect from
Which throws an error, which I think is arguably an error in Perl. BTW, sorry it took me so long to reply, and thanks for adding your point.
--- $world=~s/war/peace/g In reply to Re^4: GetOpt::Long usage style
by demerphq
|
|