Maqs has asked for the wisdom of the Perl Monks concerning the following question:
and the call it like:sub subname (@paremeters) {...};
so, my question is: is it possible to create something insubname (@params);
? You see, my sub &in has to accept both $entry and @array parameters.if( $entry &in @array) { #do some great stuff to celebrate it!...};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Non-prefix form of sub
by merlyn (Sage) on Oct 08, 2000 at 18:19 UTC | |
by Maqs (Deacon) on Oct 08, 2000 at 19:33 UTC | |
|
Sorta (Re: Non-prefix form of sub)
by tye (Sage) on Oct 08, 2000 at 21:37 UTC | |
|
Re: Non-prefix form of sub
by cianoz (Friar) on Oct 08, 2000 at 17:27 UTC | |
|
Re (tilly) 1: Non-prefix form of sub
by tilly (Archbishop) on Oct 09, 2000 at 00:53 UTC |