in reply to Re: Output data into an email message.
in thread Output data into an email message.

Thanks!!! Just not sure about what your doing with: my $msg; do { local $/; $msg = <RES> }; I am not familiar with local $/; part?? If possible can you explain? I assume the 'do' is a do while statement??

Replies are listed 'Best First'.
Re: Re: Re: Output data into an email message.
by fglock (Vicar) on Sep 03, 2002 at 17:31 UTC

    local $/ means "don't split lines"

    do { } means "only here"

    It combines to: "read whole file as if it were a single line"

      Thanks for all the help and explanation to solve my problem!