Re: perl with unix commands

2002-06-14 Thread Ramprasad A Padmanabhan
Did U chk the directory u r in try doing this `cd $DIRECTORY; cp src dest `; Ronnie Livingston wrote: > Hi, I have a textfile with a list of gifs (ex. planet.gif, star.gif)and I > have a perl program which grabs one of the filenames randomly. What I > want to do is use the filename and copy it

Re: perl with unix commands

2002-06-14 Thread Ronnie Livingston
doh, that did it. thanks felix. -Ronnie On 14 Jun 2002, Felix Geerinckx wrote: > on Fri, 14 Jun 2002 06:43:53 GMT, [EMAIL PROTECTED] (Ronnie > Livingston) wrote: > > > Hi, I have a textfile with a list of gifs (ex. planet.gif, > > star.gif)and I have a perl program which grabs one of the > > fi

Re: perl with unix commands

2002-06-14 Thread Felix Geerinckx
on Fri, 14 Jun 2002 06:43:53 GMT, [EMAIL PROTECTED] (Ronnie Livingston) wrote: > Hi, I have a textfile with a list of gifs (ex. planet.gif, > star.gif)and I have a perl program which grabs one of the > filenames randomly. What I want to do is use the filename and > copy it to random.gif but I k