S
soup_or_power
Consider the following code. Is there any workaround to calling sub b
from sub a without using the $type. Thanks for your help.
package my:
ackage
sub new ()
{
return self;
}
sub a ()
{
my($type)=shift;
my $par1
&b($type, $par1);
}
sub b()
{
my($type, $param)=@_;
}
from sub a without using the $type. Thanks for your help.
package my:
sub new ()
{
return self;
}
sub a ()
{
my($type)=shift;
my $par1
&b($type, $par1);
}
sub b()
{
my($type, $param)=@_;
}