Yeah, it's silly. But you'd be amazed at how often it happens.open(FOO, ">/tmp/foo") || die; # You've altered the file! flock(FOO, LOCK_EX) || warn; # And now you bother to lock it?
In reply to Re: Re: Re: Filename from filehandle?
by clintp
in thread Filename from filehandle?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |