Using the variable i need to call the subroutine how can i do this i am asking this for sample. And here i have an hash key with value names as subroutines. If any one help it's helpful for me to continue.#!/usr/local/bin/perl use strict; use warnings; my $s = "res"; $s(); sub res { print "hai"; }
In reply to How to call subroutines using variables ? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |