Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: subsitute s/ and match m/ failure

by Bloodnok (Vicar)
on Jan 22, 2009 at 15:29 UTC ( #738188=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $model =~ s/\.log$//;
    die if $model =~ /log/;
    
  2. or download this
    $ip =~ s/\.log$//;
    die if $ip =~ /log/;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://738188]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2017-11-24 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (350 votes). Check out past polls.

    Notices?