in reply to filename wildcards

Globbing is very much what you want. But watch out for the dollar sign, it has a special meaning in perl.
my @matches = glob 'abc_code$*.txt';
So don't use the "" delimiters here.

Jeroen
"We are not alone"(FZ)

Replies are listed 'Best First'.
Re^2: filename wildcards
by jose_m (Acolyte) on Feb 10, 2012 at 16:11 UTC

    THANKS!

    sub Wipe_Out { unlink glob "hosts-*.cfg"; unlink "hostgroup.cfg"; }
Re^2: filename wildcards
by jose_m (Acolyte) on Feb 10, 2012 at 16:10 UTC
    THANKS!