Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Pattern matching

by Laurent_R (Canon)
on Nov 10, 2018 at 10:59 UTC ( [id://1225529]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "Module name = $1\n" if /(MODULE\s+\w+)\s*\(/;   # Prints: Modul
    +e name = MODULE C17
    
  2. or download this
    print "Module name = $1\n" if /( MODULE \s+ \w+ ) \s* \(/x;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-03-29 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found