in reply to Re: remove whitespace from an array
in thread remove whitespace from an array

Huh?!? At first sight those quotes didn't look quite right to me, so I tried to download code and indeed this is what I got when opening with my editor:
print ~^Q[~^Q . join(~^Q][~^Q, @array) .~^T]\n~^T;
I suppose they're HTML entities. The actual code you wanted to show is probably:
print '[' . join('][', @array) ."]\n";

Replies are listed 'Best First'.
Re^3: remove whitespace from an array
by bangers (Pilgrim) on Aug 03, 2005 at 14:03 UTC
    good catch! I'm an appalling speller and have gotten into the habit of typing posts into word first to ensure they are coherent. Stupidly I also typed my code in there and picked up Word's "smart" quotes.