Bliss has asked for the wisdom of the Perl Monks concerning the following question:
Anyway to write it with an escape character or null character to break up the scalar from the suffix (instead of using the dot operator)?if ($digit > 3) { print "$digit" . "th"; }
Thanks.if ($digit > 3) { print "$digit[somemagicalnonprintingcharacter]th"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple question
by arturo (Vicar) on Apr 23, 2001 at 23:01 UTC | |
|
Re: Simple question
by indigo (Scribe) on Apr 24, 2001 at 00:14 UTC | |
|
Re: Simple question
by Bliss (Novice) on Apr 24, 2001 at 21:46 UTC |