in reply to Re: Defining global variable in a subroutinein thread Defining global variable in a subroutine
use strict; my $HELLO = 'Hello'; sub new_message { $HELLO = 'Nihao'; } [download]