Can someone please explain why this

 while (1) {
           my $item = <STDIN>;
           chomp $item;
           last unless $item;
           $inventory{1c $item}++;
}


Gets Bare word  found where operator expected
Syntax error line 13 near 1c

thanks

Madison Daily
Weldon, Williams & Lick, Inc.
(479) 784-2109 (Ext. 431)
[EMAIL PROTECTED] 
########################################################################
Note:
This message is for the named person's use only.  It may contain
confidential, proprietary or legally privileged information.  No 
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and 
notify the sender.  You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not
the intended recipient. Weldon, Williams & Lick, Inc. and any of its
subsidiaries each reserve the right to monitor all e-mail communications
through its networks.

Thank You.
########################################################################

Reply via email to