cosmicperl has asked for the wisdom of the Perl Monks concerning the following question:
This file is loaded into my script and the appropriate sub routines for the operation is called. I've got a function in the script that allows you to edit and save an individual routine.$hash->{subs}->[0] = sub { $var1 = "a"; $var2 = "b"; }#sub 0 $hash->{subs}->[1] = sub { $var1 = "c"; $var2 = "d"; }#sub 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Saving sub routines.. Is it possible?
by grinder (Bishop) on Apr 05, 2008 at 15:45 UTC | |
by cosmicperl (Chaplain) on Apr 05, 2008 at 16:00 UTC | |
|
Re: Saving sub routines.. Is it possible?
by jasonk (Parson) on Apr 05, 2008 at 15:31 UTC | |
|
Re: Saving sub routines.. Is it possible?
by dragonchild (Archbishop) on Apr 05, 2008 at 17:31 UTC | |
|
Re: Saving sub routines.. Is it possible?
by Cyrnus (Monk) on Apr 05, 2008 at 15:33 UTC | |
|
Re: Saving sub routines.. Is it possible?
by educated_foo (Vicar) on Apr 06, 2008 at 03:00 UTC |