jacques has asked for the wisdom of the Perl Monks concerning the following question:
But when I pass this the subscript separator, the if statement is evaluated to false and a blank or empty space appears in the html page. What's going on?if ((not defined ($operator)) || ($operator !~ /[^\s+]/))
Problem solved: The issue was with the subscript separator itself. The default value is "\034". This value cannot be rendered in my html, so it appears as space. Thank you to all those who replied.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: printing the subscript separator
by RazorbladeBidet (Friar) on Feb 09, 2005 at 18:24 UTC | |
|
Re: printing the subscript separator
by cog (Parson) on Feb 09, 2005 at 18:30 UTC | |
by jacques (Priest) on Feb 09, 2005 at 19:12 UTC | |
by cog (Parson) on Feb 09, 2005 at 19:16 UTC | |
|
Re: printing the subscript separator
by Fletch (Bishop) on Feb 09, 2005 at 18:17 UTC | |
by jacques (Priest) on Feb 09, 2005 at 18:22 UTC | |
by RazorbladeBidet (Friar) on Feb 09, 2005 at 18:25 UTC | |
by jacques (Priest) on Feb 09, 2005 at 18:29 UTC | |
by Fletch (Bishop) on Feb 09, 2005 at 18:34 UTC | |
| |
by RazorbladeBidet (Friar) on Feb 09, 2005 at 18:35 UTC | |
|
Re: printing the subscript separator
by trammell (Priest) on Feb 09, 2005 at 18:29 UTC | |
by nobull (Friar) on Feb 09, 2005 at 20:03 UTC | |
by jacques (Priest) on Feb 09, 2005 at 18:35 UTC | |
by trammell (Priest) on Feb 09, 2005 at 18:40 UTC | |
|
Re: printing the subscript separator
by Enlil (Parson) on Feb 09, 2005 at 19:46 UTC | |
by jacques (Priest) on Feb 09, 2005 at 21:13 UTC |