The error was: useless use of lc in void context at line 22 I also tried this: lc($input = <STDIN>); print "$input";
> This won't work though because chomp() returns the > number of newline > characters removed from the string... so in essence > you are trying to > lowercase the number "0" or "1" (the return value of > chomp). ...Not to > mention that you lc() does not modify the scalar > passed as an argument (like > chomp does), so you need to store the result of > lc(). > This makes sense, but I didn't know about it. > This is what you want: > > chomp($input = <STDIN>); > $input = lc($input); > print $input; > > Rob > Thanks, that worked. __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>