Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: regexp's

by Cybercosis (Monk)
on Oct 03, 2000 at 10:37 UTC ( [id://35068]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @ARGV = filename.txt;
    
    ...
      /^(\d)\s+time\s+\d{2}\:\d{2}\:\d{2}\s+(\d+)/;
      $hash{$1} = $2;
    }
    
  2. or download this
      
    while(<>)
    {
    ...
        $hash{$1} = $2;
      }
    }
    
  3. or download this
    while(<>)
    {
    ...
       $hash{$1} = $2;
     }
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-19 12:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found