Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: writing to stdin

by ambs (Pilgrim)
on Mar 28, 2005 at 14:12 UTC ( #442816=note: print w/replies, xml ) Need Help??


in reply to Re: writing to stdin
in thread writing to stdin

If you used to program with lex or flex you would notice that the question is not so weird. In fact, it is common to use 'unput' to put characters back in the input buffer (which in fact can be from stdin).

Ok, I know flex does not push it into stdin, but it gives you that idea.

Cheers

Alberto Simões

Replies are listed 'Best First'.
Re^3: writing to stdin
by samizdat (Vicar) on Mar 28, 2005 at 14:53 UTC
    Aye, but we be dealin' wit a newbie here, to be sure. You be absolutely correct in ta wunderful complexity of te entire UN!X worlt, but let's not be confusin te poor bairn right from t'start. :D

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2021-10-27 01:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (91 votes). Check out past polls.

    Notices?