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

Re: chr(26)

by premchai21 (Curate)
on Feb 22, 2002 at 20:16 UTC ( [id://146966]=note: print w/replies, xml ) Need Help??


in reply to how to escape eof - chr(26)?

$ perl -wle 'open (F, ">test"); print F chr(26) . "Wont get in"; close +(F);'; cat test Wont get in

is what I get. perl v5.6.1 on i686-pc-linux-gnu. What do you mean by "escape the eof" and "get it right"? -- what is the question exactly?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-03-28 18:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found