in reply to Re^3: Need help with perl syntax.
in thread Need help with perl syntax.
Yes but you don't need a code block in either case. my %quick_allow = map { $_ => 1 } @allow_users; could also be written as my %quick_allow = map( ( $_ => 1 ), @allow_users );.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Need help with perl syntax.
by ikegami (Patriarch) on Mar 14, 2008 at 21:18 UTC |