in reply to writing to filter giving me back GLOB(x)GLOB(x)...

print $spamc_h for @$de_cluttered_msg;

A bare print; will use $_, but print $handle; will print the contents of $handle to the currently selected output handle. You need to say print $spamc_h $_ for @$de_cluttered_msg; instead.

Replies are listed 'Best First'.
Re^2: writing to filter giving me back GLOB(x)GLOB(x)...
by perl-diddler (Chaplain) on Jan 17, 2021 at 11:56 UTC
    OMG!

    I'd have never found that. It never occurred to me that it wouldn't just write '$_' to the handle. Thank you SO much... I am gonna have to think about that as "odd and not very useful" is my first reaction. Oh well.

    Thanks again.
    -linda