Re: How to start some file as Perl script argument?
- From: Josef Moellers <josef.moellers@xxxxxxxxxxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 13:15:18 +0100
max wrote:
How to start some file as Perl script argument?
Start with perl script + argument
Eg.
File is someexcel.xls
How to start it as
perlscript.pl someexcel.xls
By typing "perlscript.pl someexcel.xls"?
I have more *.xls file in work folder.
Either loop over all files and call your script for every file or modify your script to accept multiple files and work on each of them and then type "perlscript.pl *.xls".
But only the second solution slightly touches Perl programming.
Your question is, most likeley, os-specific.
--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett
.
- References:
- Prev by Date: Re: How to start some file as Perl script argument?
- Next by Date: Re: HTML:Parser how to remove "//<![CDATA[ ... //]]>" ?
- Previous by thread: Re: How to start some file as Perl script argument?
- Next by thread: Re: How to start some file as Perl script argument?
- Index(es):
Relevant Pages
|