Help for this page

Select Code to Download


  1. or download this
    $ff->output_file
    
    The name of the output file. This is the same as $ff->file, but any qu
    +ery parameters are stripped off. For example:
        http://example.com/index.html?x=y
    would make the output file be index.html rather than index.html?x=y.
    
  2. or download this
    my $ff = File::Fetch->new(uri => $url);
    my $output_name = $ff->name;
    ...
    # $output_name is now 'v2_ITA_12-Seiter_Programm_1207_web.pdf'
    
    $ff->output_file( $output_name );
    
  3. or download this
    my $ff = File::Fetch->new(uri => $url);
    say "scheme:      " . $ff->scheme;
    ...
    path:        //www.ekey.net/
    file:        downloads-475?download=2132cbe2-2fb1-eeff-583c-50a39b6aba
    +6c&name=v2_ITA_12-Seiter_Programm_1207_web.pdf
    output_file: downloads-475