Nov 29, 2007, 2:03 AM
Post #1 of 2
get prompt when it is alreay appeard
i am using telnet module to get all environment varable of an env, i am using the below command that use regular expression in the Prompt property, the prompt should be ">" which is the unix prompt for the env.
the problem is that one of the environment variables has the value ">" in it
the question is how can i build a regular expression that ask him to search for the first ">" in the line
you have the example below
my %hashCommandDetails=("String"=>$strCommand,Prompt=>"/>/","Timeout"=>"60", Errmode=>'return');