There are two ways to solve your problem:
1. in your class2, you specifically export the methods that you want to be
used in other classes; or
2. you inherent the methods from class2 into your class1.
Here are hows:
Method 1: in your class2:
require Exporter;
our @ISA = qw(Exporter);
# Items
Hi All,
I am writing a program to display POD, functions, Perl FAQ, and programs and
want to impement two rules for the input:
1. it is Perl module names if the input starts with words or '-m';
2. it is Perl function, FAQ, or program name if it starts with -f, -q, or -p
respectively.
Here is th
Hello,
I created two classes, class1 and class2. In a method (m1) of class 1 I
instanciate an object of class2 and want to access a method (m2) of this
class (class2), But I always get an error that the object method (m2)
cannot be located via package class2:
Can't locate object method "new"
Hello Teresa,
Monday, August 13, 2001, 12:48:12 PM, you wrote:
TR> My computer has died so, I'm using my husband's which means that I
TR> have lost all my links. So, could someone please post the CGI.pm
TR> documentation link?
>>I believe what may be happening is the listbox/checkbox is retu
http://search.cpan.org/search?module=CGI
Brad Handy
--www.jack-of-all-trades.net
[EMAIL PROTECTED]
> -Original Message-
> From: Teresa Raymond [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 13, 2001 12:48 PM
> To: Moon, John
> Cc: [EMAIL PROTECTED]
> Subject: RE: Multiple values and
My computer has died so, I'm using my husband's which means that I
have lost all my links. So, could someone please post the CGI.pm
documentation link?
>I believe what may be happening is the listbox/checkbox is returning an
>array so $param{$i} for them is an array reference ... There is a di