Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: How to write a program to read stdin or command line?

by ikegami (Pope)
on Oct 03, 2007 at 18:49 UTC ( #642477=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to write a program to read stdin or command line?
in thread How to write a program to read stdin or command line?

Homework: 3. preparatory reading or research

The fact that you are a professional actually supports my point. It should have been dead easy for you to find how to check for parameters. Homework needs not be assigned by a school. It can be self-assigned, as it should have been in this case. Sounds like you could use a refresher.

There was no malice in my reply. The idea was to influence others not to give an outright answer in order to influence the poster to actually do his own homework.

  • Comment on Re^3: How to write a program to read stdin or command line?

Replies are listed 'Best First'.
Re^4: How to write a program to read stdin or command line?
by princepawn (Parson) on Oct 04, 2007 at 18:55 UTC
    my thoughts exactly


    Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://642477]
help
Chatterbox?
[stevieb]: I am thankful that I fell into Perl years ago in the manner I did. I don't believe there is another language that people care about so much, that they're willing to give everything. Langs come and go, but in Perl, it seems, things remain consistent.
[stevieb]: The people back then (~2000) are the same people now, but with much more experience. I'm appreciative that I fell into the Perl rabbit hole.
[stevieb]: Coding circles around Python devs, showing how unit tests should be done, enabling easy access to everything, learning basic C to wrap for direct hardware access... I am thankful.
[stevieb]: I'm in an appreciative mood. Thank you fellow Monks, for all I know, and for the knowledge which I can pass on

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2017-02-25 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (364 votes). Check out past polls.