I just got an error report form someone using Perl 5.8.0 under HP-UX 11.11 that he gets this error message from make test when he tries to install Mail::Sender. The code that causes this message is :

BEGIN { if ($] >= 5.008) { # fsck, the 5.8 is broken. The binmode() doesn't work for sock +et()s. require 'open.pm'; 'open'->import(OUT=>":raw :perlio"); } }
(see this for discussion on why am I using this piece of code.)

I assumed :raw is a "builtin" discipline and therefore its safe to use anywhere. Am I wrong? I do not get any such message myself (ActivePerl 5.8 build 805, Win2kServer), I did not get any such report before and CPAN Testers report success (under Linux, Solaris and FreeBSD).

Does anyone have any suggestions?

perl -V on that computer:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuratio +n: Platform: osname=hpux, osvers=11.11, archname=PA-RISC2.0-LP64-stdio uname='hp-ux ux15 b.11.11 u 9000800 136901557 unlimited-user licen +se ' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags =' -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 ', optimize='+O2 +Onolimit', cppflags='-Aa -D__STDC_EXT__ -D_HPUX_SOURCE -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings -I/usr/local/include' ccversion='B.11.11.04', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +6 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='/usr/bin/ld', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib libs=-lcl -lpthread -lnsl -lnm -lndbm -lmalloc -ldld -lm -lc -lndi +r -lcrypt -lsec perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred ' cccdlflags='+Z', lddlflags='-b +vnocompatwarnings -L/usr/local/lib +' Characteristics of this binary (from libperl): Compile-time options: USE_64_BIT_INT USE_LARGE_FILES Built under hpux Compiled at Apr 8 2003 10:44:22 @INC: /opt/perl5/lib/5.8.0/PA-RISC2.0-LP64-stdio /opt/perl5/lib/5.8.0 /opt/perl5/lib/site_perl/5.8.0/PA-RISC2.0-LP64-stdio /opt/perl5/lib/site_perl/5.8.0 /opt/perl5/lib/site_perl

Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne

20030408 Edit by Corion: Added readmore tags per authors request


In reply to Unknown discipline 'raw' at .../IO/Handle.pm line 355 under HP-UX by Jenda

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.