[Chicago-talk] perl touch

Andrew Brosnan andrew at broscom.com
Tue May 9 15:59:03 PDT 2006


On 5/9/06 at 3:04 PM, tigerpeng2001 at yahoo.com (tiger peng) wrote:

> 
> 
> --- Andrew Brosnan <andrew at broscom.com> wrote:
> 
> > On 5/5/06 at 2:09 PM, tigerpeng2001 at yahoo.com (tiger
> > peng) wrote:
> > 
> > > Hello,
> > > 
> > > Can you help me to "touch" a file in perl without
> > > using backticks? I do not feel comfotable with
> > > backticks without catching its output.
> > 
> > system("touch foo")
> 
> not better than backticks, as there are even more
> typing.

Well, you said you didn't want to catch the output, and system is better
for that than backticks. I didn't realize you wanted to play golf ;-)

Regards,
Andrew



More information about the Chicago-talk mailing list