Deepak Barua wrote:
>
> On 1/3/07, John W. Krahn <[EMAIL PROTECTED]> wrote:
>> Deepak Barua wrote:
>>
>> >I want to use a scalar variable with OR "|" operator embedded in
>> > the variable in a statement like
>> > $start_pattern = "\/\* \| \/\/";
>> >
>> > if(m/$start_pattern/ || $continue
Hi John,
I don't understand the script seems very cryptic, could
you explain
my $start_pattern = qr!/\*|//!;
Regards
Deepak
On 1/3/07, John W. Krahn <[EMAIL PROTECTED]> wrote:
Deepak Barua wrote:
> Hi,
Hello,
>I want to use a scalar variable with OR "|" operator embedded in
>
Deepak Barua wrote:
> Hi,
Hello,
>I want to use a scalar variable with OR "|" operator embedded in
> the variable in a statement like
> $start_pattern = "\/\* \| \/\/";
>
> if(m/$start_pattern/ || $continue == 1) {
> $chosen_pattern = $&;
> Please inform me on how it is suppose