Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $x = 'abXcd';
    ...
    "
    'abXcd'
    'abYcd'
    
  2. or download this
    c:\@Work\Perl\monks>perl -le
    "my $hr = { 'o.misc04' => 'xxx' };
    ...
    Bareword "o" not allowed while "strict subs" in use at -e line 1.
    Bareword "misc04" not allowed while "strict subs" in use at -e line 1.
    Execution of -e aborted due to compilation errors.
    
  3. or download this
    c:\@Work\Perl\monks>perl -le
    "use warnings;
    ...
     print qq/'$$hr{ 'o.misc04' }'/;
    "
    'xxx'