in reply to How do I pass a block like map/grep/sort/etc?
Is there anyway to make your own function that can take a block of code
In short, yes. perldoc perlsub, read about prototypes.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I pass a block like map/grep/sort/etc?
by Anonymous Monk on Mar 06, 2004 at 02:26 UTC | |
by Fletch (Bishop) on Mar 06, 2004 at 02:43 UTC | |
by Anonymous Monk on Mar 06, 2004 at 02:27 UTC |