Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: rename file extension

by nikosv (Hermit)
on Feb 24, 2010 at 16:43 UTC ( #825108=note: print w/ replies, xml ) Need Help??


in reply to rename file extension

Let's say orderlist contains the following:

@orderlist=qw(1.tst 2 3 4.tst); @orderlist=grep {s#\.tst$#\.test#} @orderlist; print @orderlist; #prints 1.test 4.test


Comment on Re: rename file extension
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-07-30 22:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (241 votes), past polls