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
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
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