On 8/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Dear All, > > I am a beginner in Perl.. > > I need a perl script to open a file from a specific folder where the > script is. > > Note:That folder will always have one file but with different name and > with same extension. > > I also have to get the name of that file and rename it by adding some > characters to the old name of the file after doing some data > manipulation in that file. > > Please guide me in this regard.. > > I am awaiting your replies ASAP... > > Thanks in Advance..
Take a look at glob, regexes, and rename: perldoc -f glob perldoc perlre perldoc -f rename -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/