in reply to Re: Re: Small Net::SMTP problem
in thread Small Net::SMTP problem

Are you able to execute an even simpler script:
print "Hello, world!\n";
Does ActivePerl expect a "shebang" line at the top of this Perl script (#!c:\perl\perl.exe or whatever)? It sounds almost like Windows doesn't know how to execute the script. Net::SMTP has no open, system or exec calls in it, so it's odd that it would be generating any error at all like this.

Replies are listed 'Best First'.
Re: Re: Re: Re: Small Net::SMTP problem
by Hot Pastrami (Monk) on Dec 04, 2000 at 20:19 UTC
    Hey there.

    ActivePerl only expects the shebang line on CGI files, not .pl files. I've written a bunch, this one is the first to exhibit this problem, and likewise it's the first to use Net::SMTP. Crazy stuff.

    Alan "Hot Pastrami" Bellows