Date: Sat, 27 Jan 1996 22:22:00 -0500 (EST) From: "Jonathan M. Bresler" <jmb@freebsd.org> To: Blair Schmittel <blair@strech.cyber-naut.com> Cc: questions@freebsd.org Subject: Re: PERL Question Message-ID: <Pine.BSF.3.91.960127221347.9792B-100000@Aspen.Woc.Atinc.COM> In-Reply-To: <199601280226.TAA13207@strech.cyber-naut.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 27 Jan 1996, Blair Schmittel wrote: > system("mkdir $where"); why not use perl's own mkdir(directory name, permissions) function, faster than executing the system binary and you can check the return code more easily. mkdir($where, 755) || die "can't make directory $where"; jmb Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG play go. ride bike. hack FreeBSD.--ah the good life i am moving to a new job. PLEASE USE: jmb@FreeBSD.ORG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960127221347.9792B-100000>