in reply to Re^2: need help understanding perl syntaxin thread need help understanding perl syntax
if ( ($host, $port) = ( $ENV{"http_proxy"} =~ /^(\S+)\:(\d+)$/ ) ) { print $host, "/", $port; } else { print "warning"; } [download]