Perl: the Markov chain saw | |
PerlMonks |
package inside .plby bugsbunny (Scribe) |
on Dec 02, 2002 at 12:42 UTC ( [id://216900]=perlquestion: print w/replies, xml ) | Need Help?? |
bugsbunny has asked for the wisdom of the Perl Monks concerning the following question:
hi, I have xxx.pl the content of which is something like this : #!/usr/bin/perl package XX::Blah; ... code... 1; package main; use XX::Blah; my $x = new XX::Blah(); $x->method();It seems that it can't find XX::Blah 'cause it is is not in some of the @INC directories but within the script itself... How can I make it work ? Note: it is .pl not .pm thanx alot in advance
Back to
Seekers of Perl Wisdom
|
|