in reply to looking for perl module which returns if a file is open
Ofcourse nobody's stopping you from turning this into a module yourself. :-)my @opened_by_X = grep /^X\s+/,split /\n/,`/usr/sbin/lsof`;
Joost.
-- #!/usr/bin/perl -np BEGIN{@ARGV=$0}s(^([^=].*)|=)()s; =Just another perl hacker\
|
|---|