Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: home work help

by mbond (Beadle)
on Jun 20, 2001 at 16:43 UTC ( [id://89978]=note: print w/replies, xml ) Need Help??


in reply to home work help

Okay, not gonna give away anything big here, and looking at the ocede the way it is is difficult (you should use the code tags around your code).

$cmd = ;
should be $cmd = <STDIN>;
You should also check right from the start if there are more than 3 commands, and drop out right then and there.
if ($max > 3) { print "exiting \n"; exit(1); }
I know this isn't TOO much help, but it is homework. and IMHO pipes are a lot of fun to play with and figure out on your own. You can do a lot of really slick stuff with them. but if someone tells you how to do it, you lose the fun of figuring it out ... and you won't learn them as well.

just skim though the cookbook, it gives you everything you need to work on this project if i remember correctly.

mbond

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2024-04-19 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found