Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: problems passing variables between subroutine

by philiprbrenan (Monk)
on Sep 05, 2012 at 21:36 UTC ( [id://991952]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub create_output (\@$)  {
        
        my (@array_of_lines, $entry_no_new) = @_;
    
  2. or download this
    use feature ":5.14";
    use warnings FATAL => qw(all);
    ...
    
    my @array = qw(1 2 3);
    foo(@array);
    
  3. or download this
    1 2 3
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found