use strict; my $HELLO = 'Hello'; sub new_message { $HELLO = 'Nihao'; }
In reply to Re^2: Defining global variable in a subroutine
by ikegami
in thread Defining global variable in a subroutine
by bihuboliya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |