Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Using a Regex to parse into keys

by krusty (Hermit)
on Oct 07, 2002 at 02:06 UTC ( #203233=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    {  local $/=undef;
       $string = <FILE>; #where FILE has been opened previously
       %colors = $string =~ /(\d+)~<font color="(.*?)"/ig;
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-09-19 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls