OT: Perl syntax Question

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Oct 24 15:03:19 UTC 2005


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?

$# = $OFMT, which is some weird deprecated perl thing that shouldn't be
used anymore, because printf is a much more sane way to do things.

Or so says the camel book.

Lennart Sorensen
--
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