On Wed, 13 Dec 2017 20:37:36 -0500
"Bill Cole" <mdlist-20140...@billmail.scconsult.com> wrote:

> -    return IO::File->new(\ $self->{MBS_Data}, $mode);
> +    return IO::Scalar->new(\ $self->{MBS_Data}, $mode);

This will cause other problems down the line.  I suggest you
study the section "Byte and Character Semantics" in the perlunicode
man page.

Modern Perl does let you open a "file" by passing a reference
to a scalar; it has built-in in-memory I/O.

Regards,

Dianne.
_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to