Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Pattern matching

by Athanasius (Archbishop)
on Nov 10, 2018 at 08:54 UTC ( [id://1225520]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        my $module_name = $1;
        print "Module name = >$module_name<\n";  
    }
    
  2. or download this
    18:49 >perl 1939_SoPW.pl
    Module name = >MODULE C17<
    
    18:49 >
    
  3. or download this
    if (defined($MODULE_NAME) && ($MODULE_NAME =~ / ^ (.+) \( /x))  
    {  
    ...
           $module_name =~ s/ \s+ $ //x;
        print "Module name = >$module_name<\n";  
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 13:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found