Re: How to start some file as Perl script argument?



max <max@xxxxxxxxxxx> wrote:

How to start some file as Perl script argument?


What does "start some file" mean when you say it?

You cannot "start" an Excel file because it is not executable.


How to start it as
perlscript.pl someexcel.xls


You run this command line:

perlscript.pl someexcel.xls


If you instead meant that you want to run an external program, such
as Excel, then you should have asked how to run an external program.

The answer given in this FAQ:

perldoc -q external

outlines the three basic ways of running external commands.


--
Tad McClellan SGML consulting
tadmc@xxxxxxxxxxxxxx Perl programming
Fort Worth, Texas
.



Relevant Pages

  • Re: Restricting files to a single computer
    ... Disk to open an Excel file. ... computer is bought and the file has to pass to the new hard disk. ... The creation of an external program, ... number) and the file now opens. ...
    (microsoft.public.excel.programming)
  • Opening a .exe file from an excel hyperlink
    ... external program that is supposed to be in users' PC. ... HD then i can't create a universal hyperlink to open it directly from ... the excel file. ... so how can i create a universal hyperlink able to open this .exe file ...
    (microsoft.public.excel.programming)
  • Re: Date & Time in File Name
    ... The difficulty here is the external program (the one that creates the ... Excel file) apparently doesn't let you do this. ... datestamp attached. ...
    (microsoft.public.excel.misc)