Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    say "foo is '$foo' and baz is '@baz' in main";
    say "Perl version is $] and Readonly version is $Readonly::VERSION";
    
  2. or download this
    Use of uninitialized value $foo in concatenation (.) or string at read
    +only_fail.pl line 11.
    foo is '' and baz is 'glug argh' in main
    Perl version is 5.020003 and Readonly version is 2