Help for this page

Select Code to Download


  1. or download this
    url {
        # some Perl code to be invoked on receiving the URL
    }
    
  2. or download this
    /edit?node=(\w+);... {
        print "You're trying to edit '$node'";
    ...
    /(.*) {
        print "Don't know how to handle " . $q->query_path;
    };
    
  3. or download this
    # /edit?node=(\w+);... {
    #     print "You're trying to edit '$node'";
    ...
    
        print "You're trying to edit '$node'";
    };