Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Anti-Virus Signature Updates

by rincew (Novice)
on Jul 08, 2002 at 21:08 UTC ( #180325=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/bin/perl -w
    ...
    my $remote_dir = '/pub/antivirus/NAV/signatures';
    my $destination_dir = 'current-sig';
    
  2. or download this
    
    my @lupd = ();
    ...
      close(LASTUPDATE);
    }
    
  3. or download this
    
    my %haveit;
    ...
    my @newupdate;
    foreach my $file (@listing) {
    
  4. or download this
    
      next if $haveit{ $file };
    ...
    close(NEWUPDATE)
      or die "Closing lastupdate.txt failed ($!)";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180325]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2019-12-07 18:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (162 votes). Check out past polls.

    Notices?