Help for this page

Select Code to Download


  1. or download this
    my $v = '/path/to/module.pm';
    $v =~ m{^(.*)/(.*)$};
    say "($1) ($2)";
    
  2. or download this
    (/path/to) (module.pm)
    
  3. or download this
    my $modulepath;
    if($v =~ m{^(.*)module.pm$}){
     $modulepath = $1;
    }