Jonathan has asked for the wisdom of the Perl Monks concerning the following question:
Gives$x = "string"; $x = "\u\L$x"; print $x,"\n"; $x = "string"; $x = "\L\u$x"; print $x,"\n";
The reasoning behind this being that Perl assumes you made a typo and put them in the wrong order.String String
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Opinons Please
by Blue (Hermit) on Jan 18, 2001 at 19:25 UTC | |
Re: Opinons Please
by btrott (Parson) on Jan 18, 2001 at 22:20 UTC | |
Re: Opinons Please
by Jonathan (Curate) on Jan 18, 2001 at 19:48 UTC |