Hello,

 

I have a quick question. I use the following line, and this works ok:

if ($$result_t{$operating_descr.".".$index} =~ /PCMCIA/ && $tmp_status == 3)
{

 

But if I change it to the following:

if ($$result_t{$operating_descr.".".$index} =~ /PCMCIA/ || /USB/ &&
$tmp_status == 3) {

 

I get errors like:

Use of uninitialized value in pattern match (m//)

 

I'm not very good with perl/scripting. And the solution that I found with
google didn't help.

 

Any suggestions are welcome.

Thanks

 

chiel

 

 

Reply via email to