Help for this page

Select Code to Download


  1. or download this
    my $dir = 'Links';
    if (-d $dir) {
    ...
    else {
       mkdir $dir or die "can't mkdir: $!";
    }
    
  2. or download this
    open FILEIN, "urls.txt" or die "Could not open file $!";
    
    ...
       chomp;
       ...
    }
    
  3. or download this
    use strict;
    use warnings;
    ...
       my($uri, $orig_uri) = @_;  
       push @FOUND,$orig_uri;
    }