rodry has asked for the wisdom of the Perl Monks concerning the following question:
Here is the code in question
my $tabla = param("tabla"); if ($tabla eq "Miembros") { my $llave = MensajeMiembros(); } sub MensajeMiembros { my $email = param("email"); my $mensaje = "Blah Blah"; return ($email);
When I remove the my from $email it works as expected.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Sub with My variable
by cianoz (Friar) on Sep 07, 2000 at 15:11 UTC | |
RE: Sub with My variable
by BlueLines (Hermit) on Sep 07, 2000 at 02:56 UTC | |
RE: Sub with My variable
by Adam (Vicar) on Sep 07, 2000 at 03:10 UTC |
Back to
Seekers of Perl Wisdom