Philippe 'BooK' Bruhat <[EMAIL PROTECTED]> writes:

[...]
> You can test the embedded ^D stuff with this file:
>
> print "ok";
> ^D  <- embedded Ctrl-D: one char. Use ^V^D to input this in vi.
> print "nok";
>
> $ perl file
> ok

And, as those of use who have been trawling the docs in search of,
ahem, interesting corners will be aware, ^D in the middle of a file is
treated like __END__, except it doesn't seem to let you get at the
<DATA> filehandle. See perldoc perldata for details.

-- 
Piers

   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?

Reply via email to