home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


isa

$

io

 = $

fd


->isa(


type


)

Returns true if the reference is blessed into package type or inherits from that package. Can be called as a static or object method call, or as a subroutine:

UNIVERSAL::isa(
val
, 
type
)
Returns true if the first argument is a reference and either of the following is true:

  • val is a blessed reference and is blessed into package type or inherits from package type

  • val is a reference to a type of Perl variable (e.g., ' HASH ')


Previous: Reference: can Perl in a Nutshell Next: Reference: VERSION
Reference: can Book Index Reference: VERSION

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.