... Can this damage the drive?
No, not really. unlink isn't some unpredictable magical fairy {grin},
however, user beware
#!/usr/bin/perl -T
unlink $ENV{HOME}
__END__
Insecure dependency in unlink while running with -T switch at - line 2
+.
It is possible that you're getting tainted data, and that combined with the forementioned documented behaviour ... i hightly doubt perl's unlink is the culprit.
Be sure to read perlsec (and turn taint on), and rule perl out as a culprit.
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] [d/l] |