Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Passing variables into a subroutine

by evaluator (Monk)
on Sep 04, 2012 at 11:53 UTC ( #991609=note: print w/ replies, xml ) Need Help??


in reply to Passing variables into a subroutine

Try this (untested):
my $entry_no_new = pop @_; my @array_of_lines = @_;
or
my @array_of_lines = @_; my $entry_no_new = pop @array_of_lines;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991609]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-06-25 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.