Being new to perl there's undoubtedly a better way of doing this !my $lockopt = shift; if ( $lockopt eq "unlock") { do stuff... }
In reply to Re^3: flock on on $^I
by Anonymous Monk
in thread flock on on $^I
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |