Help for this page

Select Code to Download


  1. or download this
    sub abs_url {
        my ( $relative, $base ) = @_;
    ...
    
        return "http://$abs_url";
    }
    
  2. or download this
    use Test::More;
    my @test = qw(
    ...
    );
    plan tests => @test / 3;
    do { is abs_url( $test[0], $test[1] ), $test[2]; splice @test, 0, 3 } 
    +while @test;