Are you calling the subroutines in your package, or just defining them?

For example, do you have anything like this inside your package?

########################

FooSub();

sub FooSub{
   my $bar = 21;
   print "BlackJack!\n";
}

########################

-----Original Message-----
From: Luinrandir [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 15, 2005 8:28 PM
To: beginners@perl.org
Subject: Why is my package executing everything!

My package is executing ALL subroutines when required?
why?


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to