[boulder.pm] Reading from a pipe with strict?

Robert L. Harris Robert.L.Harris at rdlg.net
Tue Mar 27 14:36:50 CST 2001



I'm trying to check a pipe with select, with "use strict;"  I have this
line:

  my ($sel) = new IO::Select( READER );


with READER defined as:

pipe(READER, WRITER) or die "Can't open pipe: $!\n";

and I'm getting this:

Bareword "READER" not allowed while "strict subs" in use at ./encodeit line 133 (#1)

What am I missing?



:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :  
Senior System Engineer          |    For when quality, reliability 
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'




More information about the Boulder-pm mailing list