|
|
| Just another Perl shrine | |
| PerlMonks |
Re^3: Is this reliable way to cast from BOOL to NUMBER?by tobyink (Prior) |
| on Feb 18, 2013 at 17:13 UTC ( #1019375=note: print w/ replies, xml ) | Need Help?? |
|
Personally I'd get them to write an entirely different scripting language and then either write a parser/interpreter for that scripting language, or use an off the shelf one (like JE for Javascript).
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||