Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Regex expression is matching more than once

by tobias_hofer (Friar)
on Apr 22, 2013 at 07:51 UTC ( #1029815=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $FileName = "..\\MyXMLFile.xml";
    $FileName =~tr/(\.xml)$//d;  
    
  2. or download this
    my $FileName = "..\\MyXMLFile.xml";
    $FileName =~s/(\.xml)$//i;  
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1029815]
Approved by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-11-23 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (334 votes). Check out past polls.

    Notices?