$ perl -le' $_ = "This is my program"; print reverse /^(\S+)(.*?)(\S+)$/ ' program is my This
In reply to Re: How do I reverse the order of the first and last word of a string?
by jwkrahn
in thread How do I reverse the order of the first and last word of a string?
by ferrispike12
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |