Help for this page

Select Code to Download


  1. or download this
    $ perl -v | head -2 | tail -1
    This is perl 5, version 24, subversion 0 (v5.24.0) built for darwin-th
    +read-multi-2level
    
  2. or download this
    #!/usr/bin/env perl -l
    
    ...
    
    print $x->@*;
    print "$x->@*";
    
  3. or download this
    teststring
    ARRAY(0x7fc63c005498)->@*
    
  4. or download this
    use 5.024;
    
  5. or download this
    use feature qw{postderef_qq};
    
  6. or download this
    teststring
    test string
    
  7. or download this
    $ perl -v | head -2 | tail -1
    This is perl 5, version 20, subversion 0 (v5.20.0) built for darwin-th
    +read-multi-2level
    
  8. or download this
    Array found where operator expected at ./pm_1174734_postderef.pl line 
    +11, at end of line
        (Missing operator before ?)
    syntax error at ./pm_1174734_postderef.pl line 11, near "->@*"
    Execution of ./pm_1174734_postderef.pl aborted due to compilation erro
    +rs.
    
  9. or download this
    use warnings;
    no warnings qw{experimental::postderef};
    use feature qw{postderef postderef_qq};
    
  10. or download this
    teststring
    test string
    
  11. or download this
    Perl v5.20.0 required--this is only v5.18.0, stopped at ...
    BEGIN failed--compilation aborted at ...
    
  12. or download this
    Unknown warnings category 'experimental::postderef' at ...
    BEGIN failed--compilation aborted at ...