[Chicago-talk] perl touch

Shawn Carroll shawn.c.carroll at gmail.com
Tue May 9 11:25:40 PDT 2006


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


More information about the Chicago-talk mailing list