On Aug 16, 7:13 am, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:

> I am  a beginner in Perl..

That must be why you seen to be unaware of the perldoc command.


> I need a perl script to open a file from a specific folder where the
> script is.

perldoc -f open

> Note:That folder will always have one file but with different name and
> with same extension.

perldoc -f glob

> I also have to get the name of that file and rename it by adding some
> characters to the old name of the file

perldoc -f rename

> after doing some data manipulation in that file.

There are many ways to do that, and you didn't give any details upon
which to base a recommendation.  If you want to do an inplace edit
then I recommend this approach:

perldoc -m Tie::File


--
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to