in reply to Re: marshalling data
in thread marshalling data
Actually, both of the uses of braces are valid alternatives (one only for moderately modern versions of Perl) to the methods you proposed. You can write "package main; ..." or "package main { ... }" (as of some non-ancient Perl version) and you can do "print $FH ..." or "print {$FH} ..." (since at least Perl 3).
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: marshalling data (braces)
by thomas895 (Deacon) on Mar 13, 2013 at 07:30 UTC |