Jan 5, 2014, 12:43 PM
Post #7 of 8
Re: [zapzap] need some help to write a simple script
[In reply to]
I do not really care if this is a homework assignment or not. If you need help in a perl homework assignment then this is the place. You haven't helped the OP at all, since doing all of the OP's work for him/her isn't help. BillKSmith sagely suggested a form of help by providing a "hint." And after you clobbered the OP over the head with a large fish when s/he asked for only help on how to fish ("I need help to write a script..."), how meaningful could your code be to the OP when it's clearly evident that there are emergent programming skills issues here? Let me make this last point abundantly clear from a pedagogical/developmental perspective: if the OP can understand your code, the OP could have solved the problem in the first place.
In fact I find it highly illogical to shun individuals with homework ...
Also, how much 'help' are you really offering now, almost three weeks after the OP's post? The class is likely finished; most certainly the assignment's past due. Were you not aware that an implicit solution to the OP's request was already provided here--two days after the OP's posting? All that the OP needed to do was change
remove the and its lines, and simply invoke the script by:
Finally, who 'shunned' an individual with homework? Are you seriously calling a question to the OP about whether the problem is homework an act of shunning? The question to the OP is important for at least two reasons: 1) it directs the OP's attention to their responsibility qua student, and 2) it helps respondents from becoming mere enablers to those seeking an easy way out.
perl script.pl inFile >P1.half
(This post was edited by Kenosis on Jan 5, 2014, 3:45 PM)