RE: use strict and warnings...

2002-03-07 Thread Nikola Janceski
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 /xxxx/TempSorter.pm line 114. I gotta rea

RE: use strict and warnings...

2002-03-07 Thread Nikola Janceski
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 read the docs on use strict and warnings. I am using ${caller()."::a"} #line 114 in my prog

Re: use strict and warnings...

2002-03-07 Thread Jenda Krynicky
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

Re: use strict and warnings...

2002-03-07 Thread Tanton Gibbs
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

Re: use strict and warnings...

2002-03-07 Thread Tanton Gibbs
o: "Beginners (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 12:03 PM Subject: use strict and warnings... > I am going through my old code and adding: > use strict; > use warnings; > > And I am running into some problems. I created a module (tha

use strict and warnings...

2002-03-07 Thread Nikola Janceski
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; use Exporter; use strict; ### GLOBAL VARIABLES @ISA = qw(Exporter); @EXPORT = qw( w