Help for this page

Select Code to Download


  1. or download this
    (my $module) = $ENV{PATH_INFO} =~ m!^/([^/]+)/;
    # mind this regex, I'm coming back at it in a few secs!
    
  2. or download this
    my @module_args = $ENV{PATH_INFO} =~ m!/([^/]+)!g;
    
  3. or download this
    my @module_args = split '/+', $ENV{PATH_INFO};