in reply to Re: Pick Up Files and put contents into variables
in thread Pick Up Files and put contents into variables

vennis,

Is there any chance of unremoving that code? I have been trying to do this for bloody ages now and have got nowhere. I'm about to pull all of my hair out :(
  • Comment on Re: Re: Pick Up Files and put contents into variables

Replies are listed 'Best First'.
Re: Re: Re: Pick Up Files and put contents into variables
by Vennis (Pilgrim) on Aug 30, 2002 at 11:37 UTC
    Well, basically, what you want is reading a file, splitting it into a array, using split, split on the seperating character, which, in your example would be an space.

    Then put the list into the desired variables.

    First read the directory using readdir, and finally remove them using unlink.