home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!lobster!nuchat!michael
- From: michael@nuchat.sccsi.com (Michael Bentley)
- Subject: print/printf broken ?
- Message-ID: <1993Jan7.045240.23654@nuchat.sccsi.com>
- Organization: South Coast Computing Services, Inc.
- Date: Thu, 7 Jan 1993 04:52:40 GMT
- Lines: 25
-
-
- I just installed perl-4.035 on a Sun IPX running SunOS 4.1.2.
- The print and printf functions seem to be broken. I have rebuilt
- perl several times (double checking everything before answering
- the questions posed by configure) - and print *still* only seems to
- want to print to a tty device (Printing to stdout is just fine - I
- can even redirect to /dev/console ---- but I *cannot* redirect
- output to a file or a pipe (no error, it just don't do nuthin...)).
-
- I have found a workaround - assigning the value of a sprintf()
- call to a scalar variable, and using system("echo $scalar_variable");
- but I *REALLY* want to use printf FILEHANDLE instead! BTW, write()
- works just fine - and I am really perplexed....
-
- Has anyone else run into something similar (perhaps the *same*
- problem) ??? If so, pray tell me how you solved it...
-
- ADVthanxANCE,
- michael
-
- --
- +==========================================================================+
- | Michael Bentley (Life would be so much easier if I had the source code) |
- | VoiceNet : (713) 558-8410 |
- | E-mail : michael@nuchat.sccsi.com |
-