Mega Code Archive

 
Categories / Perl / Subroutine
 

Call a subroutine through its reference

sub subroutine {     print "Hello!\n"; } $codereference   = \&subroutine; &$codereference;