Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $variable = "foo\r";
    print "variable ending with carrige return is =$variable=\n";
    print "$hash{$variable}\n";
    
  2. or download this
    =ariable ending with carrige return is =foo
    Use of uninitialized value in concatenation (.) or string at try1.pl l
    +ine 8.