$x = `gzgrep $y `; if( not $x ) { $x= `gzgrep -i `; } #### $x = `gzgrep $y ` || `gzgrep -i `; #### use strict; use warnings;