in reply to Array Silliness

put one of these \ before your ampersand.

Azatoth a.k.a Captain Whiplash

Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?

Replies are listed 'Best First'.
(ichimunki) 2: Array Silliness
by ichimunki (Priest) on Feb 27, 2001 at 20:09 UTC
    Or better yet, use single (non-interpolating) quotes when you don't take advantage of interpolation. This will free you from the constraints of escaping characters within strings (except for ' itself, of course-- and \ as tye points out).

      Don't forget \, which must also be escaped inside of single quotes. You can be sloppy about this for cases when the \ is followed by something other than \ or your delimiter(s), but doing so usually gets you thinking that you don't need to quote \ which then leads to bugs that are hard to track down.

      BTW, & is not interpolated inside of double quotes.

              - tye (but my friends call me "Tye")