in reply to how to loop
How about this?
That's not exactly equivalent to your code, but all sorts of adjustments are possiblewhile ($mode eq 'running') { my $new = $backs[int(rand(@backs))]; system($command . ' --type=string -s '. $gconf_item . ' \'' . $new + . '\''); sleep($interval*60); }
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to loop
by rsiedl (Friar) on Feb 21, 2007 at 02:20 UTC | |
by cbrandtbuffalo (Deacon) on Feb 21, 2007 at 15:00 UTC |