in reply to Re: Win32 Opening files
in thread Win32 Opening files

Ok, all you guys rock for all of the help. I changed;
my $mail = "@_";
to
my $mail = @_[0];
This seems to work because I actually have a foreach loop in the main. It is getting past the open but not the close on the filehandle. I basically get the same message: Cannot close C:/windows/desktop/ tmp/test.f2mail,Bad file descriptor. Where ever there is confusion to be had... I'll be there.

Replies are listed 'Best First'.
Re: Re: Re: Win32 Opening files
by larryk (Friar) on Jun 29, 2001 at 19:36 UTC
    which should be my $mail = $_[0];

    I suggest you put -w after your path to perl at the top of the file (#!/usr/bin/perl or whatever) which will pick up on stuff like that.

    "Argument is futile - you will be ignorralated!"