Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Uhm, Caller?

by tedv (Pilgrim)
on Nov 23, 2000 at 03:30 UTC ( #43043=note: print w/replies, xml ) Need Help??


in reply to For your entertainment (or mourning... depending on how you look at it)

Ugh, didn't the code author know about the caller() function? You don't need to pass all that crap into the function when you can extract it from the call stack.

I think my favorite part is when they don't check return calls from chdir, but check the return from 'pwd' by using eq on two lists. Man, that's hilarious. Heaven only knows what directory the outside code thinks you'll be in afterwards. Could someone slap these guys with the -d, -w, and -r test flags?

-Ted

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://43043]
help
Chatterbox?
[Corion]: Maybe I should bring my Github credentials to $work some day, just to open issues for blogs.perl.org ;)

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2017-02-24 11:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (354 votes). Check out past polls.