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

EOL command, using Windows Vista command prompt and ActivePerl

by SunnyShard (Initiate)
on Sep 10, 2012 at 01:00 UTC ( #992642=perlquestion: print w/ replies, xml ) Need Help??
SunnyShard has asked for the wisdom of the Perl Monks concerning the following question:

I am relatively new to Perl. When I press ctrl+D to finish entering input into an array variable it simply prints "D^" and continues asking for input. My dad couldn't even find a solution and he's advanced tech support for IBM.

Comment on EOL command, using Windows Vista command prompt and ActivePerl
Re: EOL command, using Windows Vista command prompt and ActivePerl
by BrowserUk (Pope) on Sep 10, 2012 at 01:47 UTC

    ^Z


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Re: EOL command, using Windows Vista command prompt and ActivePerl
by Anonymous Monk on Sep 10, 2012 at 03:47 UTC
Re: EOL command, using Windows Vista command prompt and ActivePerl
by aitap (Deacon) on Sep 10, 2012 at 09:00 UTC

    Ctrl+Z (or F6) is used in Windows command prompt as EOF.

    You can also write __END__ to stop Perl reading STDIN and compile the program.

    Sorry if my advice was wrong.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-12-20 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls