It sounds like an interpolation issue to me, i.e. on your Solaris machine you are actually running the match against
. Are you actually running the same script file on the two machines? Can you show us your assignment statement (copy/paste) for
syntax should vary between the two versions of perl.