#!/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...
In reply to package inside .pl by bugsbunny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |