Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Help with processing command line arguments

by diotalevi (Canon)
on Dec 16, 2002 at 00:35 UTC ( [id://220086] : note . print w/replies, xml ) Need Help??


in reply to Re: Re: Help with processing command line arguments
in thread Help with processing command line arguments

Oh but it is, it is! The problem is that the DOS/Windows versions I've listed don't have a command shell powerful enough associate file extensions with an interpreter. Remember - you're restricted to command.com here.


Fun Fun Fun in the Fluffy Chair

Replies are listed 'Best First'.
Re: Re: Re: Re: Help with processing command line arguments
by theorbtwo (Prior) on Dec 16, 2002 at 23:47 UTC

    You can use start to get file-associations from the command line, as in start file.pl 1 2 3. (However, this will launch perl in a sperate process and window.)


    Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

A reply falls below the community's threshold of quality. You may see it by logging in.