diamondsandperls has asked for the wisdom of the Perl Monks concerning the following question:
#!perl use strict; use warnings; my $trace; my $ipaddy = "8.8.8.8"; #example do { $trace = qx{tracert $ipaddy}; until ($trace =~ /myhost/) }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl need to do until on qx{tracert $ip}
by NetWallah (Canon) on Sep 14, 2012 at 17:04 UTC |