Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 chilling in the Monastery: (11)
As of 2014-10-02 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (60 votes), past polls