On Wed, 23 Oct 2002, Lance Hoffmeyer wrote:
The problem is:
> open(FILE,">eltonjohn.txt");
Here, you open FILE for writing, but then...
> [snip]
>$smtp->datasend(FILE);
Here you try to read from it.
That won't work in any case; you can't read from a writing file handle.
But you also hav
On Wed, 23 Oct 2002 21:26:32 -0500
Lance Hoffmeyer <[EMAIL PROTECTED]> wrote:
> I have a script where I am searching ebay
> to get results and email these to myself.
> The filehandle is FILE but everytime I
> try to insert FILE into the $smtp it
> prints "FILE" and not the contents of file.
> Wha
I have a script where I am searching ebay
to get results and email these to myself.
The filehandle is FILE but everytime I
try to insert FILE into the $smtp it
prints "FILE" and not the contents of file.
What is the fix for this?
use WWW::Search;
open(FILE,">eltonjohn.txt");
print FILE "Results
3 matches
Mail list logo