Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^12: Help with pushing into a hash

by jemswira (Novice)
on Sep 02, 2012 at 07:09 UTC ( #991239=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      push @activline, "$1 | $2 | $activ{$1} \n" if $activ{$1};
        push @antioxline, "$1 | $2 | $antiox{$1} \n" if $antiox{$1};
        push @toxinline, "$1 | $2 | $toxin{$1} \n" if $toxin{$1};
    
  2. or download this
    if ($1 eq "E7F888"){print $2;}
    
  3. or download this
    next unless /(E7F888)\s+.+=([^\s]+)/;
     push @activline, "$1 | $2 | $activ{$1} \n" if $activ{$1};
    
    print @activline;
    
  4. or download this
    #!/usr/bin/perl
    use Modern::Perl;
    ...
    write_file $activout, @activline;
    write_file $antioxout, @antioxline;
    write_file $toxinout, @toxinline;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991239]
help
Chatterbox?
[r@j]: Actully $Process_Java this is getting from config file
[Discipulus]: choroba so much work porting from C and the resulting code exceed the 2 sec limit.. ;=(

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (15)
As of 2017-10-23 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (280 votes). Check out past polls.

    Notices?