in reply to Re: Answer: Contents of directory without extensions
in thread Contents of directory without extensions

You are right, I need to use fileparse instead of basename.
What's with the -no_match_vars for use English;. I don't see that in the docs.

Replies are listed 'Best First'.
Re: Re: Re: Answer: Contents of directory without extensions
by belg4mit (Prior) on Nov 25, 2001 at 09:28 UTC
    That argument was added in 5.6.0 I believe, it prevents the globbing of the the evil saw ampersand and friends. (Since any program which uses these will take a great hit in the regular expression engine.)

    --
    perl -p -e "s/(?:\w);([st])/'\$1/mg"