Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Bug in perl -C (Unicode) option parsing?

by benizi (Hermit)
on Feb 13, 2007 at 04:22 UTC ( [id://599630]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cat test-none.pl
    #!/usr/bin/perl
    print "foo";
    ...
    
    $ ./test-none.pl
    foo$ # note the lack of a newline
    
  2. or download this
    $ cat test-noCDS.pl
    #!/usr/bin/perl -l
    print "\x{101}";
    ...
    $ ./test-withCDS.pl
    Ä
    
  3. or download this
    $ cat CDS.pl
    #!/usr/bin/perl -l -CDS
    print ${^UNICODE}, ' ', "\x{101}"
    ...
    
    $ perl -CDS CDS.pl
    31 Ä
    
  4. or download this
    $ perl -v
    This is perl, v5.8.8 built for i686-linux
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://599630]
Approved by ikegami
Front-paged by ikegami
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-03-28 23:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found