Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^7: RFC: beginner level script improvement

by jwkrahn (Monsignor)
on Sep 26, 2013 at 20:35 UTC ( #1055895=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
                my (@commands,@matches,$ip);
                for (my $i=0; $i < @temp; $i++){ #process each subset
    ...
                $$DATA{$ip}->{commands} = \@commands;
                $$DATA{$ip}->{matches} = \@matches;
    
  2. or download this
                my ( @commands, @matches, $ip );
                for my $i ( 0 .. $#temp ) { #process each subset
    ...
                $$DATA->{ $ip }{ commands } = \@commands;
                $$DATA->{ $ip }{ matches } = \@matches;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2014-08-31 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls