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

Re: renaming the file using perl

by madtoperl (Hermit)
on Mar 16, 2017 at 10:28 UTC ( #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?

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2023-12-06 18:36 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (31 votes). Check out past polls.