in reply to Re: Recover a variable from a loop
in thread Recover a variable from a loop
unless ($white{browser_name => $browser[0]}->compare($blue{browser_na +me => $browser[1]})) { $diff_file = $white->difference($blue); print '#The images differ; see ' . $diff_file . ' for details'. "\ +n"; my $open_cmd; if ($^O eq 'darwin') { $open_cmd = 'open' } elsif ($^O eq 'MSWin32') { $open_cmd = ''; } else { $open_cmd = 'display'; } `$open_cmd $diff_file`; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Recover a variable from a loop
by hippo (Archbishop) on May 26, 2016 at 09:24 UTC | |
by Chaoui05 (Scribe) on May 26, 2016 at 09:31 UTC | |
by hippo (Archbishop) on May 26, 2016 at 09:36 UTC | |
by Chaoui05 (Scribe) on May 26, 2016 at 09:49 UTC | |
by Laurent_R (Canon) on May 26, 2016 at 21:08 UTC | |
|
Re^3: Recover a variable from a loop
by AnomalousMonk (Archbishop) on May 26, 2016 at 15:07 UTC |