[Chicago-talk] perl touch
Kent Cowgill
kent at c2group.net
Tue May 9 16:50:32 PDT 2006
On Tue, 9 May 2006, tiger peng wrote:
> > On 5/5/06 at 2:09 PM, tigerpeng2001 at yahoo.com (tiger
> > peng) wrote:
> > >
> > > 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.
Do you want to capture results? Because you can with backticks:
$return = `touch foo`;
Maybe if we're all misunderstanding your intent, you could perhaps try to
clarify what you're after?
-Kent
More information about the Chicago-talk
mailing list