Help for this page

Select Code to Download


  1. or download this
    use Prompt::Timeout;
    use constant TIMEOUT => 5;
    ...
    {
        upload($_);
    }
    
  2. or download this
    while (defined ($_ = readdir($eh)))
    
  3. or download this
    while (readdir($eh))
    
  4. or download this
    my $pattern = join '|', map "(?:$_)", @filetypes;
    
  5. or download this
    my $pattern = join '|', @filetypes;
    
    ...
    {
        next if /~$/ || -d || !/$pattern/i;
        ...