"Does anybody know whether there is some equivalent in Perl to VB's 
IsObject function?"

It would be helpful to have a description of the VB IsObject function, but 
judging by the name, you could do something like this (untested)

    sub isObject {
 
        my %types = map {$_=>$_} qw(SCALAR ARRAY HASH CODE REF GLOB 
LVALUE);
        my $ref = ref shift;
        return ($ref and not $types{$ref});
    }

the key element being the use of the ref function. Or look into the UNIVERSAL package.

Tim
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to