Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: writing to filter giving me back GLOB(x)GLOB(x)...

by haukex (Archbishop)
on Jan 17, 2021 at 08:28 UTC ( [id://11127028]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11127028]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-28 19:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found