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



John
--
use Perl;
program
fulfillment

--
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