As always in perl, there is more than one way to do that.
The simplest solution may not be in Perl, though..
(Re-direct standard error to /dev/null)system("ls --color -c $ext >& /dev/null" );
In reply to Re: Perlish way to do an ls *.sf
by ehdonhon
in thread Perlish way to do an ls *.sf
by Rhodium
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |