Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Answer: Coding CTRL-D

by Anonymous Monk
on Jul 05, 2000 at 22:19 UTC ( #21180=categorized answer: print w/replies, xml ) Need Help??

Q&A > programs and processes > Coding CTRL-D - Answer contributed by Anonymous Monk

try this: #!/usr/bin/perl #other stuff print pack("c", 04"); # c is for signed character value, and 04 is control-d, aka, EndOfTransmission.

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2016-09-29 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (557 votes). Check out past polls.