E
ed
Folks,
I'm attempting to write some OOP with the use strict pragma on an I'm just
not getting it to work. Here's an example
#!/usr/bin/perl -w
use strict;
use Automobile;
my $file = new Automobile;
I keep getting the error:
Bareword "Automobile" not allowed while "strict subs" in use.
The script runs fine without the use strict, so their must be something I
haven't figured out yet.
Thanks in advance!!
Ed
I'm attempting to write some OOP with the use strict pragma on an I'm just
not getting it to work. Here's an example
#!/usr/bin/perl -w
use strict;
use Automobile;
my $file = new Automobile;
I keep getting the error:
Bareword "Automobile" not allowed while "strict subs" in use.
The script runs fine without the use strict, so their must be something I
haven't figured out yet.
Thanks in advance!!
Ed