Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 (Abbot) 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 wandering the Monastery: (3)
As of 2015-07-06 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls