Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 romping around the Monastery: (7)
As of 2016-09-30 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (569 votes). Check out past polls.