if (-z "BADSYMS.OUT") { system("rm BADSYMS.OUT"); } else { print "Bad symbols..."; }
Update: Too slow once again, and tomhukins used strict and unlink plus error checking which I should have used, too. Shame on me :)
| Regards... | Stefan |
| you begin bashing the string with a +42 regexp of confusion | |
In reply to Re: -z file test operator
by stefan k
in thread -z file test operator
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |