Peter,

You seem to be resisting using the my declaration.  Once you say use strict;
you need to declare all variables with my (global to a file) or our (global
to all files, but Perl 5.6 only).  Using strict without my leads to a lot of
error messages.

Merrill

> -----Original Message-----
> From: Peter Eisengrein [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, March 06, 2001 12:40 PM
> To:   '[EMAIL PROTECTED]'; Perl-Win32-Users Mailing List (E-mail);
> Peter Eisengrein
> Subject:      RE: strict frustration
> 
> I'm using the same, 5.6.0 build 616. To fix my problem I put the my @SORT
> inside of the appropriate subs and removed it from the main sub. But it
> still does not answer why it didn't work for me as a global!
> 
> Thanks for everyone's help, tho'
> 
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to