Missing Something.

Clooney, David david.clooney at bankofamerica.com
Mon Oct 1 15:28:30 BST 2007


On no a perl question!

 

Can someone point out if I am missing something, I don't seem to be able
to match a  variable with an element of an array, the list will most
probably spot it straight away, I however am an amateur.

Using CGI.pm

 

 

    open(EMACRXFNP02,
"<content_data/spdm828a/emacrxfnp02.emea.bankofamerica.com");

    @crxfnp02_users = <EMACRXFNP02>;

    close(EMACRXFNP02);

 

    $chester_userid = (param('chester_userid'));

    chomp $chester_userid;

 

    if         ($crxfnp02_users =~ m/$chester_userid /i ) {

                $client = 'servername.com';

                 print $crxfnp02_users;

                }

              

Cheers

 

Dave




Notice to recipient:
The information in this internet e-mail and any attachments is confidential and may be privileged. It is intended solely for the addressee. If you are not the intended addressee please notify the sender immediately by telephone. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.

When addressed to external clients any opinions or advice contained in this internet e-mail are subject to the terms and conditions expressed in any applicable governing terms of business or client engagement letter issued by the pertinent Bank of America group entity.

If this email originates from the U.K. please note that Bank of America, N.A., London Branch and Banc of America Securities Limited are authorised and regulated by the Financial Services Authority.


More information about the london.pm mailing list