Re: converting standard input to an upper or lower case

2001-06-12 Thread Simon McCaughey
- Original Message - From: John Pimentel <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 12, 2001 1:13 PM Subject: converting standard input to an upper or lower case > Hello all: > > I am wanting to reduce an "if" from this "or" I list below to "if ($ans eq > "y")..." b

Re: Problems using hash.

2001-06-05 Thread Simon McCaughey
Your problem seems to be in the use of single quotes see my example code: $fields[3]="x"; $postInputs{'x'}= "the_test"; print "('$postInputs{ '$fields[3]'}')"; print "(\'$postInputs{ $fields[3]}\')"; try that. You don't need the inner set of single quotes, and the outer set must be escaped.