[Israel.pm] use $a in match

Ernst, Yehuda yernst at nds.com
Tue Jun 13 04:56:02 PDT 2006


Can i use $a parameter inside match

instead of writing

($q) = $string =~ m/5/;

I will write 


($q) = $string =~ m/$a/;

Thanks Yehuda.
This email message and any attachments thereto are intended only for use by the addressee(s) named above, and may contain legally privileged and/or confidential information. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the postmaster at nds.com and destroy the original message.

More information about the Perl mailing list