On 05/18/00, ""Nadav Popplewell" <[EMAIL PROTECTED]>" wrote:

> example code:
> #============================================
> use strict;
> 
> my $VAR1 =
>   [
>      {
>         'TYPE' => 'IDENT',
>         '_INFO' => {},
>      },
>      1,2,3
>    ];
> 
> print scalar(@$VAR1),"\n";
> my $nl1=$VAR1->{_INFO}{RANGE}[-1];
As mentioned before, this should be:
my $nl1=$var1->[0]{_INFO}{RANGE}[-1];
But, interesting, when I run your code as is
on HP-UX, I get a core dump, which I think I would
call a bug, even if it is bad code.

> print scalar(@$VAR1),"\n";
> #============================================

---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
         [EMAIL PROTECTED]
For non-automated Mailing List support, send email to  
         [EMAIL PROTECTED]

Reply via email to