in reply to simple command-line question
This is a quick and dirty basis for any filter...it could probably be 'mapped' into a one-line approach with the name of the 'filter' sub replacing 'print'.#!/usr/bin/perl use strict; use warnings; for (@ARGV) { for (glob) { print $_,"\n"; } }
–hsm
"Never try to teach a pig to sing…it wastes your time and it annoys the pig."
|
|---|