in reply to Re: Getting Specific List Elements Out of an Array Reference
in thread Getting Specific List Elements Out of an Array Reference

what would be done if @{$IpInfo->[0]} contain x number of elements and if we don't know what's x.
  • Comment on Re^2: Getting non-Specific List Elements Out of an Array Reference

Replies are listed 'Best First'.
Re^3: Getting non-Specific List Elements Out of an Array Reference
by Zaxo (Archbishop) on Oct 31, 2005 at 06:34 UTC

    If the dereferenced array were too short, the unspecified variables in the list would be declared but remain undefined. If too long, the extra values would be ignored by the program. That's a good reason to keep arrays arrays.

    After Compline,
    Zaxo