Help for this page

Select Code to Download


  1. or download this
    perl -c -e 'sub taco :Chained("/") :PathPart("foo") : CaptureArgs(0) {
    +}'
    Invalid CODE attributes: Chained("/") : PathPart("foo") : CaptureArgs(
    +0) at -e line 1.
    BEGIN failed--compilation aborted at -e line 1.
    
  2. or download this
    perl -c -e 'use parent "Catalyst::Controller"; sub taco :Chained("/") 
    +:PathPart("foo") : CaptureArgs(0) {}'
    -e syntax OK
    
  3. or download this
    # emacs/vi UseMe.pm
    package UseMe;
    ...
    
    perl -c -e 'use UseMe'
    rm -rf /-e syntax OK