Help for this page

Select Code to Download


  1. or download this
    if(length $foo > 1 and substr($foo,-1,1) ne '/')
    { $foo .= '/'; }
    
  2. or download this
    $foo .= '/' unless($foo =~ m/\/$/);