Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Never

by broquaint (Abbot)
on May 13, 2003 at 16:09 UTC ( [id://257802]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Never
in thread Never-to-use Perl features?

That sounds like how I expect getc to work. Or, am I missing something?
It does indeed work as the docs say (much like all of Perl's other foibles listed in this thread) but when processing STDIN it doesn't work as one might initially expect (grab a char, return it). This is not so much a fault on Perl's behalf but that of the C implmentation of getc.
HTH

_________
broquaint

Replies are listed 'Best First'.
Re: Re: Re: Re: Never
by halley (Prior) on May 15, 2003 at 00:56 UTC

    I guess it works as I expected it to, because it works like C and Unix have worked for centuries. Okay, well, when was the epoch again?

    Perl is a study in the "History of Unix." If you're not up on the history of Unix, you're going to be shocked by Perl. A lot. Often. Harshly.

    --
    [ e d @ h a l l e y . c c ]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://257802]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-20 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found