in reply to Re: RFC: Perl meta programming
in thread RFC: Perl meta programming
Thanks for the reply chromatic. I agree that isa() is a better way to validate object references.
I am confused in regards to better ways to validate references however. What's a better way to validate an array ref than "if( 'ARRAY' eq ref $foo )"? Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: RFC: Perl meta programming
by Sidhekin (Priest) on Oct 19, 2006 at 21:44 UTC | |
|
Re^3: RFC: Perl meta programming
by TGI (Parson) on Oct 20, 2006 at 03:48 UTC | |
by chromatic (Archbishop) on Oct 20, 2006 at 09:17 UTC | |
by TGI (Parson) on Oct 20, 2006 at 18:50 UTC | |
by diotalevi (Canon) on Oct 22, 2006 at 18:15 UTC | |
by druud (Sexton) on Sep 13, 2009 at 11:20 UTC | |
by diotalevi (Canon) on Oct 22, 2006 at 18:37 UTC | |
by chromatic (Archbishop) on Oct 22, 2006 at 21:11 UTC |