in reply to Re^2: How do I reverse the order of the first and last word of a string?
in thread How do I reverse the order of the first and last word of a string?

I think I added the similar code while you were writing that. In any case, join is probably easier to teach than $", the array interpolation seperator.

After Compline,
Zaxo

  • Comment on Re^3: How do I reverse the order of the first and last word of a string?

Replies are listed 'Best First'.
Re^4: How do I reverse the order of the first and last word of a string?
by GrandFather (Saint) on Mar 11, 2007 at 06:57 UTC

    .oO(Damn, now where did I put that tounge in cheek symbol?)


    DWIM is Perl's answer to Gödel