Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: close ARGV inside a while

by jpeg (Chaplain)
on Jun 08, 2006 at 18:14 UTC ( [id://554330]=note: print w/replies, xml ) Need Help??


in reply to Re: close ARGV inside a while
in thread close ARGV inside a while

I wouldn't presume to know (or ask for an explanation) as to what Jesusahok is doing, but this node may explain what he's up to. I've seen obviously broken code in perldoc with explanations of why they don't work. I don't think these questions are unreasonable in that context.
--
jpg

Replies are listed 'Best First'.
Re^3: close ARGV inside a while
by Fletch (Bishop) on Jun 08, 2006 at 18:54 UTC

    So he's got new people . . . and he's trying to find exercises for them to do to help them learn . . . so he's asking people on Perlmonks about broken example code . . . so that these people he's trying to bring up to speed . . . can learn . . .

    Wait, I think the Wookie just ran off with the pony there.

    I could see the benefit in using intentionally broked code as a teaching tool; however if the teacher themselves doesn't understand why it's broked they're probably not the best candidate to be teaching people (at least not with their present level of knowledge; the optically unreceptive pathfinding the optically unreceptive as it were).

    Addendum: I will grant that Increment avoids warning unexpectedly is somewhat wonky behavior, and whlle I can deduce why it behaves that way I certainly could see how it's surprising. However calling things like Data::Dumper converting characters to their backwhacked double quote equivalent when you explicitly tell it to do so or expecting to get data from closed filehandles "unexpected" behavior just makes me want to quote Inigo: "You keep using that word. I do not think it means what you think it means.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-20 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found