Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
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 having a coffee break in the Monastery: (5)
As of 2024-05-30 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found