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