In the file Brucesubs2.pm:
 #!/usr/bin/perl
 # somesubs.pm
 package Brucesubs2;
 use strict;
 $Brucesubs2::scr = "123";
 $Brucesubs2::lang = "000";


In the file Brucesub2.pl
#!/usr/bin/perl
# srandcall.pl
use warnings;
use strict;
use Brucesubs2;

print $Brucesubs2::lang, " and ", $Brucesubs2::scr;

The pl file works fine in 5.6 but gives "Name used only once errors when run
in 5.8.  Anyone know why?

Bruce Bowen
401-568-8315


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to