Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Storing regex values in an array and processing the array

by choroba (Canon)
on Jun 07, 2013 at 17:48 UTC ( #1037719=note: print w/ replies, xml ) Need Help??


in reply to Storing regex values in an array and processing the array

If you want to print the matches rather than the regular expressions, you have to tell Perl to do so:

print {$final_fh} /$pattern/, "\n";

This will probably still not do what you want, though. Read Regexp Quote Like Operators for details on what the match returns in various contexts and with various options (e.g. /g).

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Storing regex values in an array and processing the array
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2015-07-07 01:35 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 (86 votes), past polls