Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Combining Files using Hash

by dasgar (Priest)
on Sep 05, 2017 at 05:47 UTC ( #1198677=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my($key,$value1,$value2,$value3) = $line =~ /(\w+),(\d+.\d+),(.\d+\s+\
    +d+.\d+.)/g; 
    
    my($key,$value1,$value2,$value3,$value4,$value5,$value6,$value7) = $li
    +ne =~ /(\w+|\S+),(\d+),(\d+),(\d+),(\d+.\d+),(\d+.\d+),(\d+),(\d+.\d+
    +)/g ;
    
  2. or download this
    my($key,$value1,$value2,$value3) = ($line =~ /(\w+),(\d+.\d+),(.\d+\s+
    +\d+.\d+.)/g); 
    
    my($key,$value1,$value2,$value3,$value4,$value5,$value6,$value7) = ($l
    +ine =~ /(\w+|\S+),(\d+),(\d+),(\d+),(\d+.\d+),(\d+.\d+),(\d+),(\d+.\d
    ++)/g);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (1)
As of 2021-10-24 07:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (89 votes). Check out past polls.

    Notices?