Do not use the &subname; to call subroutines unless you want to pass the current @_ array on to that sub. Normally, you'll want subname();, &subname(); or subname; (if the sub is already defined) instead.my ($alarm_details) = &main;
See perlsub
In reply to Re^2: reuse hashes in another method
by Joost
in thread reuse hashes in another method
by perumal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |