Help for this page

Select Code to Download


  1. or download this
    my $uri;
    foreach ( 
    ...
    ) {
       $uri.="$_/" if ( defined $_ && length($_) ) #omit undef and empties
    }
    
  2. or download this
    my @part = ( 
       'http://example.net/app', 
    ...
    foreach (@parts) { 
       $uri.="$_/" if ( defined $_ && length($_) ) #omit undef and empties
    }