in reply to Re^2: need help understanding perl syntax
in thread need help understanding perl syntax

You can have both:
if ( ($host, $port) = ( $ENV{"http_proxy"} =~ /^(\S+)\:(\d+)$/ ) ) { print $host, "/", $port; } else { print "warning"; }


holli, /regexed monk/