Do you know where your variables are? | |
PerlMonks |
Re^2: disappearing segfaultby pobocks (Chaplain) |
on Mar 11, 2009 at 05:31 UTC ( [id://749786]=note: print w/replies, xml ) | Need Help?? |
Because building secret magic into your program is sloppy, and could easily bite him in the rear in time. Quick example: he adds the print statement. Someone inherits the code. They do some clean-up, kill the print statement. Boom, code segfaults for no apparent reason. It's just a bad idea to paper over potentially (and in this case, ACTUALLY) fatal, hard-to-trace errors instead of fixing them.
for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";
In Section
Seekers of Perl Wisdom
|
|