in reply to Re^2: Writing automatic code from sql
in thread Writing automatic code from sql
So just use
use strict; my ($package,$sub,@params) = ("MyPackage","hello_world",'Hello','World +'); $package->$sub(@params); package MyPackage; use strict; sub hello_world { my ($self,@args)=@_; print "In My Package: $_\n" for @args; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Writing automatic code from sql
by speckled (Novice) on Oct 11, 2011 at 13:28 UTC | |
by Corion (Patriarch) on Oct 11, 2011 at 13:32 UTC |