Recent content by Zeebo17

  1. Z

    Perl programming technique question?

    Hi, I've been trying to think of a way to do this for a while now and I'm pretty stuck. I'm programming in Perl, but this is more of a general technique question. I have a list of $x[$i] and $y[$i] points that I want to output to a file. However, I don't want to output any double points so I...
  2. Z

    Perl programming technique question?

    Hi, I've been trying to think of a way to do this for a while now and I'm pretty stuck. I'm programming in Perl, but this is more of a general technique question. I have a list of $x[$i] and $y[$i] points that I want to output to a file. However, I don't want to output any double points so I...
  3. Z

    Perl programming technique question?

    Hi, I've been trying to think of a way to do this for a while now and I'm pretty stuck. I'm programming in Perl, but this is more of a general technique question. I have a list of $x[$i] and $y[$i] points that I want to output to a file. However, I don't want to output any double points so I...
  4. Z

    Perl programming technique question?

    Hi, I've been trying to think of a way to do this for a while now and I'm pretty stuck. I'm programming in Perl, but this is more of a general technique question. I have a list of $x[$i] and $y[$i] points that I want to output to a file. However, I don't want to output any double points so I...
  5. Z

    How to get file name and directory of files with a certain extension in Perl?

    Hi, I want to search through the current directory and all the sub directories and make an array that contains all the path names (@path_names) and an array that contains all the files names (@file_names) of files ending in ".str". I would then like to be able to open each of these files and...
  6. Z

    How to use opendir in Perl?

    Hi, I have a list of file names and path names and I want to cycle through each file and modify it. I have tried something like: for($i=0; $i<10; $i++){ opendir(MYDIR, $path[$i]); #where the paths are in the form "/dir1/dir2/" $the_infile = $filename_list[$i]; #where the...
Back
Top