produces: Per Beginne Perlmy $agent = 'PerlBeginnerPerl'; $agent =~ s/.([A-Z])/ $1/g; print $agent;
To make your approach work, you would need: $agent =~ s/(.)([A-Z])/$1 $2/g;
In reply to Re: Re: Search for a character in CAPS
by dvergin
in thread Search for a character in CAPS
by c_lhee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |