002 12:53 PM
To: 'Tanton Gibbs'; Beginners (E-mail)
Subject: RE: use strict and warnings...
the our works... now I got a crap load of errors with:
Can't use string ("main::a") as a SCALAR ref while "strict refs" in use at
//TempSorter.pm line 114.
I gotta rea
ED]]
Sent: Thursday, March 07, 2002 12:44 PM
To: Tanton Gibbs; Nikola Janceski; Beginners (E-mail)
Subject: Re: use strict and warnings...
OOPS! don't put the comma in the qw!
use vars qw(@ISA @EXPORT);
- Original Message -
From: "Tanton Gibbs" <[EMAIL PROTECTED]
From: Nikola Janceski <[EMAIL PROTECTED]>
> I am going through my old code and adding:
> use strict;
> use warnings;
>
> And I am running into some problems. I created a module (that I know
> works).
>
> [ snip FILE: TempSorter.pm ]
> ## Packages used
> package TempSorter;
> u
OOPS! don't put the comma in the qw!
use vars qw(@ISA @EXPORT);
- Original Message -
From: "Tanton Gibbs" <[EMAIL PROTECTED]>
To: "Nikola Janceski" <[EMAIL PROTECTED]>; "Beginners (E-mail)"
<[EMAIL PROTECTED]>
Sent: Thursday, March 0
You can either declare them with our (for newer versions of perl)
our @ISA = ...
our @EXPORT = ...
or you can say( for compatibility with older perls)
use vars qw(@ISA, @EXPORT);
at the top of your file.
- Original Message -
From: "Nikola Janceski" <[EMAIL PROTECTED]>
To: "Beginners (E-