Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Is it Possible to match contents in hash via a Regex?

by brassmon_k (Sexton)
on Jan 03, 2002 at 00:22 UTC ( #135787=note: print w/ replies, xml ) Need Help??


in reply to Is it Possible to match contents in hash via a Regex?

Cool!
I didn't know that you could put a regex into an array! That will make my script a lot cleaner...THANKS! Yeah, I can't believe I forgot that...

@fld = split / /; if ($_ =~ "regex/); print "$1 $2, etc";
THANKS MONKS!

The Brassmon_k


Comment on Re: Is it Possible to match contents in hash via a Regex?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2015-07-29 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (261 votes), past polls