in reply to Re: Win32 Opening files
in thread Win32 Opening files
sub parse_mail ( my @mail; @mail = @_; foreach my $mail ( @mail ) { open (MAIL,$mail) || die "Cannot open $mail, $!"; push @mailf, <MAIL>; chomp (@mailf); close (MAIL) || die "Cannot close $mail, $!"; } return @mailf; }
MadraghRua
yet another biologist hacking perl....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (3): Win32 Opening files (code)
by deprecated (Priest) on Jun 30, 2001 at 21:29 UTC |