Re: How to open a file in a folder but without knowing its name
- From: chas.owens@xxxxxxxxx (Chas Owens)
- Date: Thu, 16 Aug 2007 20:44:57 -0400
On 8/16/07, praboona@xxxxxxxxx <praboona@xxxxxxxxx> 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
.
- References:
- How to open a file in a folder but without knowing its name
- From: Praboona@xxxxxxxxx
- How to open a file in a folder but without knowing its name
- Prev by Date: Re: File::Find help
- Next by Date: How to convert from string to hex number
- Previous by thread: Re: How to open a file in a folder but without knowing its name
- Next by thread: Read Content Of External File with PERL
- Index(es):
Relevant Pages
|