Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: renaming the file using perl

by madtoperl (Hermit)
on Mar 16, 2017 at 10:28 UTC ( [id://1184858]=note: print w/replies, xml ) Need Help??


in reply to renaming the file using perl

Hi finddata
Please narrow down your question by showing what exactly is giving you trouble. Looks like you are making it more complicated to rename a file.
Maybe you are trying to generate a file based on the input from some existing data. Eg. If data is having configuration related data, then generate the output file with suffix as .config file If data is having html related data, then generate the output file with suffix as .html

If that is the case, you can do it in more easier way than doing this renaming stuff like adding the sufix based on the input data.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found