in reply to Re: Possible to change package of code reference?
in thread Possible to change package of code reference?
The function was generated by a config file with Perl code in it. The "run" commands in the subroutine are getting run by an object in the "Spin::Command::spin" class. But I want the commands to run under a method in a different class.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Possible to change package of code reference?
by LanX (Saint) on Oct 21, 2018 at 20:05 UTC | |
by nysus (Parson) on Oct 21, 2018 at 21:10 UTC | |
by LanX (Saint) on Oct 21, 2018 at 22:12 UTC | |
by nysus (Parson) on Oct 21, 2018 at 20:46 UTC |