in reply to Re: How to call a sub reff from a hash
in thread How to call a sub ref from a hash
still fails...#!/usr/bin/perl use strict; use warnings; sub Procedure_Name_1 { my($Parm) = shift; print($Parm); } my %Procedures; $Procedures{'ProcName1'} = \&Procedure_Name_1; my $Procedure = 'ProcName1'; my $Parameter = 'Some Value'; &$Procedures->{$Procedure}($Parameter);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to call a sub reff from a hash
by Fletch (Bishop) on Dec 15, 2008 at 22:10 UTC | |
by NateTut (Deacon) on Dec 15, 2008 at 22:12 UTC | |
by ikegami (Patriarch) on Dec 15, 2008 at 22:17 UTC | |
| |
by Fletch (Bishop) on Dec 15, 2008 at 22:16 UTC | |
by NateTut (Deacon) on Dec 15, 2008 at 22:19 UTC | |
|
Re^3: How to call a sub reff from a hash
by Joost (Canon) on Dec 15, 2008 at 22:37 UTC | |
|
Re^3: How to call a sub reff from a hash
by eric256 (Parson) on Dec 15, 2008 at 22:52 UTC |