for starters $t is local to func1 via the usage of my
my ($forecast, $t);
secondly you could either declare $t as a global var or pass it to func2
-Ron
From: Marco Perl
Sent: Fri 7/23/2004 10:05 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Team! Help a newbie with $t->print(
I have 2 functions. in func1 $t->print(); works fine.
but func1 got too long and I created func2 to continue on
$t->print(); statements. but $t->print(); of func2 does not work (perl interpreter
does not know what $t is).
so!, how can I associate $t in func2 to $t in func1,
and continue on