P is for Practical | |
PerlMonks |
Re^3: /usr/bin/perl -w?by kaif (Friar) |
on Jun 21, 2005 at 06:20 UTC ( [id://468573]=note: print w/replies, xml ) | Need Help?? |
And Unix commands in general, too! Because of shell design and such, typing rm * in a directory which contains a file named -rf could delete everything (except the file -rf)! You should do rm -- * instead. I have actually been bitten by this once or twice, but luckily not by -rf but something more mundane.
In Section
Seekers of Perl Wisdom
|
|