in reply to isa() on any scalar
use Scalar::Util qw (blessed); if (blessed($value) and $value->isa('Node')) { # }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: isa() on any scalar
by rvosa (Curate) on Jun 11, 2005 at 20:41 UTC | |
by mrborisguy (Hermit) on Jun 11, 2005 at 21:05 UTC | |
Re^2: isa() on any scalar
by mrborisguy (Hermit) on Jun 13, 2005 at 03:18 UTC |