Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $Base = 'mybase';
    use constant BASE => $Base;
    print "BASE: ", BASE, "\n";
    
  2. or download this
    # perl test.pl    
                                                                          
    +    Use of uninitialized value in print at test.pl line 6.
    BASE: