Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: "Can't open perl script..." :-(

by molecules (Monk)
on Feb 15, 2010 at 19:10 UTC ( #823335=note: print w/replies, xml ) Need Help??

in reply to Re^2: "Can't open perl script..." :-(
in thread "Can't open perl script..." :-(

First of all, welcome to the Perl community!

As to your last question,


will read whatever you type at the command line until you hit

Ctrl-Z <ENTER> (on Windows) or

Ctrl-D         (on *nix)

Mentioning that you "need to use Perl in school" reminds me of my having to learn it so that I could maintain some Perl code for my job. I started reading Learning Perl and promptly fell in love with the language.

EDIT: Corrected for use on Windows. Thanks AnomalousMonk!

Replies are listed 'Best First'.
Re^4: "Can't open perl script..." :-(
by AnomalousMonk (Chancellor) on Feb 15, 2010 at 20:58 UTC
    ...  <STDIN> will read whatever you type at the command line until you hit Ctrl-D.

    Ctrl-D for *nix. In Windose, it's Ctrl-Z.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://823335]
[Eily]: marto I clearly don't have the thread knowledge to understand the importance of that example
[choroba]: the related discussion on Hacker news is interesting
[choroba]: not so many Perl haters so far

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2017-07-26 14:12 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (396 votes). Check out past polls.