Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Do you know where your variables are?
 
PerlMonks  

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,

<STDIN>

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!


Comment on Re^3: "Can't open perl script..." :-(
Select or Download Code
Re^4: "Can't open perl script..." :-(
by AnomalousMonk (Monsignor) 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (15)
As of 2014-04-23 17:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (551 votes), past polls