[Chicago-talk] perl touch

Kent Cowgill kent at c2group.net
Tue May 9 12:18:51 PDT 2006


Wouldn't that be:

open my $fh, '>>', $filename

?

On Tue, 9 May 2006, Shawn Carroll wrote:

> err open my $fh, '<<', $filename;
>
> Again, test before you use in prod.
>
> On 5/9/06, Shawn Carroll <shawn.c.carroll at gmail.com> wrote:
> > open my $fh, '<', $filename;
> > print $fh "";
> > close $fh;
> >
> > On 5/5/06, tiger peng <tigerpeng2001 at yahoo.com> 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.
> > >
> > > I know utime only works for the files already exist.
> > >
> > > Ge
> > > _______________________________________________
> > > Chicago-talk mailing list
> > > Chicago-talk at pm.org
> > > http://mail.pm.org/mailman/listinfo/chicago-talk
> > >
> >
> >
> > --
> > shawn.c.carroll at gmail.com
> > Perl Programmer
> > Soccer Referee
> >
>
>
> --
> shawn.c.carroll at gmail.com
> Perl Programmer
> Soccer Referee
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
>


More information about the Chicago-talk mailing list