Re: V2 Sandbox Creation Script

2002-01-10 Thread garrett esperum
ply-To: [EMAIL PROTECTED] >To: garrett esperum <[EMAIL PROTECTED]>, [EMAIL PROTECTED] >CC: [EMAIL PROTECTED] >Subject: Re: V2 Sandbox Creation Script >Date: Thu, 10 Jan 2002 16:29:03 -0800 (PST) > >--- garrett esperum <[EMAIL PROTECTED]> wrote: > > Thanks! That hel

Re: V2 Sandbox Creation Script

2002-01-10 Thread John W. Krahn
Garrett Esperum wrote: > > Hello all, Hello, > Below is what I have so far for my script, I can get every piece to work > correctly on it's own, nut I cannot get these two pieces to work together. I > think I am messing up the syntax of this script. What Am I doing wrong?? How > do I loop in th

Re: V2 Sandbox Creation Script

2002-01-10 Thread Curtis Poe
Okay, I'll confess. I stayed up wy too late last night and my Perl skills seems inversely proportional to my energy level. I wasn't paying attention to the fact that you were doing a foreach on a scalar, which is typically not ver useful. Here's the code, as I understand your intent,

Re: V2 Sandbox Creation Script

2002-01-10 Thread Curtis Poe
--- garrett esperum <[EMAIL PROTECTED]> wrote: > Thanks! That helped, > This is what my script looks like now: > > #!/usr/local/bin/perl -w > > use strict; > use File::Path; > use File::Copy; > > my $file; > my $type; > my $currentLocation; > my $newLocation; > my $owner; > my $permissions; > o

Re: V2 Sandbox Creation Script

2002-01-10 Thread Curtis Poe
--- garrett esperum <[EMAIL PROTECTED]> wrote: > Thanks! That helped, > This is what my script looks like now: > > #!/usr/local/bin/perl -w > > use strict; > use File::Path; > use File::Copy; > > my $file; > my $type; > my $currentLocation; > my $newLocation; > my $owner; > my $permissions; >

Re: V2 Sandbox Creation Script

2002-01-10 Thread garrett esperum
html/one/two/three/ www me 0755 What am I doing wrong? -garrett >From: Steve Mayer <[EMAIL PROTECTED]> >To: garrett esperum <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: V2 Sandbox Creation Script >Date: Thu, 10 Jan 2002 14:49:57 -0800 >

Re: V2 Sandbox Creation Script

2002-01-10 Thread Steve Mayer
Garrett, Try changing the following line: system mkdir $location or die "Couldn't make the target directory: $!\n"; to: mkpath($location,1,0777) or die "Couldn't make the target directory: $!\n"; Good luck, Steve On Thu, Jan 10, 2002 at 02:38:50PM -0800, garrett esperum w