Perl tip of the day (was Re: Wellington Perlmongers)

Don Jones don at gamma.net.nz
Mon Sep 30 05:54:28 CDT 2002


Well given the level of experience and competance I fear my tips will be a
little amature in comparison - but I'll have a go all the same. 

Heres one I use often when I need to do a bunch of reverse lookups on a class C

$ perl -e 'for(1..254) {system "host 192.168.1.$_"}' 

anyone got any other good one liners?

Don Jones

--
"Intellectual Property" : a tool that the dinosaurs use to make sure
there are no mammals in the future. - Lawrence Lessig




More information about the Wellington-pm mailing list