in reply to Re: Simple File Test
in thread Simple File Test
This doesn't generate anything. I realize the filename looks odd but when I check them from the cmdline, it works as expected. I'm trying to say, "If this node has a file called X, then do something. Right now, I just have a print statement there. Eventually, I really want to put a system() instead.foreach (@test_node_list) { if (-e "/usr/adm/best1_default/collect/$_/noInstance") { # It prob +ably is a node with data if (-e "/usr/adm/best1_default/manager/$_") { # It has +a vis files directory push @node_list, $_; if (-e "/usr/adm/best1_default/manager/$_/$vis_year$vis_mo +nth$vis_zero$vis_day*.vis") { print; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Simple File Test
by Fletch (Bishop) on Jul 11, 2006 at 23:20 UTC | |
|
Re^3: Simple File Test
by kwaping (Priest) on Jul 11, 2006 at 23:20 UTC |