in reply to Re^5: Assigning value through references
in thread Assigning value through references
my $env = \%ENV; print $env->{SHELL}; print ${$env}{SHELL}; print $env{SHELL}; # barks under strict, undefined otherwise # output: /bin/bash /bin/bash
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
|
|---|