Why when I run this one-liner:
perl -e 'print "\x{2660}\n"'
do I see this:
Wide character in print at -e line 1.
I'm assuming that's a warning, since I still get the expected output, but why am I getting it, when I didn't ask for them?
Is there a better way to drop in a unicode character?
Semi-related question: Is there a good document I could read somewhere on the differences for one-liners in Windows?
Hi James,
I'm not really up on unicode, but you might find something in 'perldoc perluniintro' & 'perldoc perlunicode'.
The only information that I know of about running perl at the commandline is in 'perldoc perlrun'. Although, I have a vague recollection of seeing an article with hints and tips for one-liners somewhere. Maybe a google search will find something.
Regards, Randy.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>