Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    use warnings;
    ...
    foo bar
    unintended stringification at test.pl line 34.
    Can't locate object method "str" via package "foo bar" (perhaps you fo
    +rgot to load "foo bar"?) at test.pl line 35.
    
  2. or download this
    $ perl -MO=Concise,-src test.pl | perl -ne \
        '/^#\s+\d+\s*:/&&($a=$_);/(?<!ex-)stringify/&&print$a,$_'
    test.pl syntax OK
    # 34: my $zz; $zz = "$x $y";  # warns
    1a    <@> stringify[$zz:257,258] sK/TARGMY,1 ->1b