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)

A word spoken in Mind will reach its own level, in the objective world, by its own weight

Replies are listed 'Best First'.
Re^2: cull
by parv (Parson) on Apr 01, 2007 at 20:45 UTC
    OP has already listed that point.