Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Executing data based on command line arguments

by PeterPeiGuo (Hermit)
on Dec 15, 2010 at 04:15 UTC ( [id://877201] : note . print w/replies, xml ) Need Help??


in reply to Executing data based on command line arguments

Assume there is nothing there to complicate the matter, the following will do:

if (c is given && your grep) { ... }

Peter (Guo) Pei