Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- debian rename
Re: debian rename
Experienced Perl programmers already know about such problems, and
avoid them through common Best Practice.
Your followup up may well be of benefit to those new to Perl
So then, if you had tried this code:
rename $old_name, $mail or die "Could not rename $old_name to $mail: $!";
You would have found the problem straightaway!
You might also have added checking of return values to your general
coding style, saving countless similar debugging debacles throughout
your entire career of programmming in Perl.
Why oh why didn't some kindly pedant volunteer their time to provide
you with such code?
If that had happened, this would have been a very much shorter thread...
Tad McClellan SGML consulting
email@example.com Perl programming
Fort Worth, Texas