OT: Perl syntax Question

billt-lxSQFCZeNF4 at public.gmane.org billt-lxSQFCZeNF4 at public.gmane.org
Wed Oct 26 02:33:56 UTC 2005


Left side is equal to the size of the 2-D hash. Assuming this is the content of and if () statement, then you are checking if the there is anything in the array.

Bill

On Mon, Oct 24, 2005 at 10:52:13AM -0400, Joseph Kubik wrote:
> What does the following mean?
> 
> ($#{$reg->{'sale'}{'items'}} == -1)
> 
> As, in, What does $#{} really do?
> 
> Thanks,
> -Joseph-
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list