From: John W. Krahn [mailto:[EMAIL PROTECTED] 

> Ankur Gupta wrote:
> > 
> > You can use splice to capture only the relevant fields.
> > change it to this...
> > 
> > my ($bookrefNumber) = (split(/-/,$pop3MailContent{'To'}))[0];
> 
> You mean a list slice, splice() is a perl function.
> 
> perldoc -f splice

Oops... Thanks for correcting... I meant slice only... 

--Ankur 

Scitum est inter caecos luscum regnare posse. (It is well known, that among
the blind the one-eyed man is king.) - Gerard Didier Erasmus
 



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


Reply via email to