Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: File Input and Output

by ariels (Curate)
on Jul 24, 2001 at 14:56 UTC ( #99284=note: print w/replies, xml ) Need Help??


in reply to Re: File Input and Output
in thread File Input and Output

getc. Note well the documentation -- it's still buffered input!

ObSampleCode:

while ($_ = getc STDIN) { $_ = ord $_; printf "%02x %c\n", $_, 32 <= $_ && $_ < 127 ? $_ : ord '?'; }

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2016-09-29 21:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (561 votes). Check out past polls.