>>>>> "Stuart" == Stuart White <[EMAIL PROTECTED]> writes:
Stuart> The way it is described makes me think that I am using Stuart> it correctly, but Perl is telling me different. Stuart> So, am I using it incorrectly? Thanks You're confusing functions that return values (like lc) with functions that act on their arguments (like chomp). And thank goodness the latter is rare. :) What you want is: chomp($input = <STDIN>); $input = lc $input; And there's really not a good way to combine those (in that order). -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>