[wellylug] Perl problem -- warning, I know nothing about Perl syntax ;-)

Damon Lynch damon at photo.geek.nz
Mon Mar 22 20:31:51 NZST 2004


Hi,

This innocuous looking line of code:

if ($fentry->{regexp}) { @toadd = grep { /$name/ } @$rpms } 

is giving me this error:

Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE / at ....

What an earth does that mean?!  Is the  '<-- HERE in m/* <-- HERE /' a
standard perl way of signifying an error?

Thanks,
Damon




More information about the wellylug mailing list