in reply to printing the subscript separator
If I understand you right you want:
If I misinterpretted your intention let us know.if ( defined $operator and $operator =~ /\S/ ) { #print operator here #it is defined and contains something #that is not whitespace } else { #do something else as $operator is either #not defined or it does not contain a #non whitespace character }
-enlil
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: printing the subscript separator
by jacques (Priest) on Feb 09, 2005 at 21:13 UTC |