in reply to difference between "*." and "." operators

 echo `expr match "$string" 'abcA-Z*.2'`

You're using backticks, which is causing perl to call a shell. expr is a shell function, not a perl function. You'll want to run 'man expr' on your system to get the documentation for that command.

update:For some reason my brain wasn't working this morning -- you're calling echo, which isn't a perl command, either. I have a feeling that your whole thing is shell, not Perl.

Replies are listed 'Best First'.
Re^2: difference between "*." and "." operators
by svenXY (Deacon) on Oct 15, 2007 at 06:32 UTC
    ++jhourcle - I believe you are right - that was no Perl at all in the OP.
    At least we explained the Perl-way of doing this now ;-)
    Regards,
    svenXY