Re: Command Line Args

2002-02-11 Thread Michael Fowler
On Mon, Feb 11, 2002 at 02:11:09PM -0500, Balint, Jess wrote: > What is the deal behind this 'package vars' vs 'lexical vars'. I have used > (my) to declare variables in the past and was wondering what the difference > was between these two declarations. Thanks. I'm surprised no one has answered

RE: command line args in Windows 2000

2002-01-08 Thread Wagner-David
What shell are you using? Std Dos Commmand or something else? Within definition or assignment of pl to perl, it should look something like: File types should have Open: D:\Perl\bin\Perl.exe "%1" %* Under one build of ActiveState, there were a number of problems in this area concerning

RE: command line args

2001-10-26 Thread Wagner-David
You would change to: $firstvar = shift(@ARGV); $secondvar = shift(@ARGV); or my ($firstvar ,$secondvar) = @ARGV; Then you could test if anything passed: if ( ! defined $firstvar ) { $firstvar = 'Nothing passed'; $secondvar = 'Nothing