in reply to cull
Because of the way you've written it, the second arg must be a ref to an actual array, which means your first example dies:
Type of arg 2 to main::cull must be array (not constant item)... near +"qw( eenie meenie minie moe );" Too many arguments for main::cull ... near "qw( eenie meenie minie moe + );" Execution aborted due to compilation errors.
(This is with perl 5.8.8)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cull
by parv (Parson) on Apr 01, 2007 at 20:45 UTC | |
by jdporter (Paladin) on Apr 02, 2007 at 02:20 UTC |