sanjay nayak has asked for the wisdom of the Perl Monks concerning the following question:
If possible then how can i receive the two arguments in that sub routine.#main.pl Request::method($a, @b);
is this correct or not. Plz, suggest me some decent code to do a program what i want.package Request; method($$) { my ($a1, @b1) = @_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: can i pass an array as an argument during a sub routine call???
by GrandFather (Saint) on Sep 06, 2006 at 09:21 UTC | |
|
Re: can i pass an array as an argument during a sub routine call???
by davorg (Chancellor) on Sep 06, 2006 at 09:29 UTC | |
by monarch (Priest) on Sep 06, 2006 at 14:14 UTC | |
by davorg (Chancellor) on Sep 06, 2006 at 14:37 UTC | |
by chromatic (Archbishop) on Sep 06, 2006 at 17:32 UTC | |
|
Re: can i pass an array as an argument during a sub routine call???
by monarch (Priest) on Sep 06, 2006 at 09:25 UTC |