Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Why does the array not reset each time I call the function?

by tuxy94 (Initiate)
on Apr 02, 2008 at 13:51 UTC ( #677960=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    print "Print of passwd_clean_data outside of function:\n";
    print Dumper(@passwd_clean_data);
    
  2. or download this
    Dump of data_file in function:
    Dump of data_file in function:
    ...
    $VAR66 = 'postfix:x:105:106::/var/spool/postfix:/bin/false';
    $VAR67 = 'bind:x:106:108::/var/cache/bind:/bin/false';
    $VAR68 = 'ntp:x:107:109::/home/ntp:/bin/false';
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2021-10-18 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (75 votes). Check out past polls.

    Notices?