Richard Lee wrote:

my ($moe,$hae,$now) = (split(/|/,$array))[0,1,2];

'|' is special in a regular expression and needs to be escaped.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to