Recent content by fittytuckingnuns

  1. F

    Help with the Perl programming language?

    I have a value called $flip and it equals <flip>no</flip>. How can I print out just the no and not the <flip></flip>? Ok so $flip =~ s/<flip>//; $flip =~ s/</flip>//; I was able to get the first line to run by it had difficulty with the / in the </flip> How would you get around that?
  2. F

    Moving files in Perl?

    I have a .jpg file in a directory and I want to move it into a new directory that was just made inside the current directory. How would one go about doing this? I need to do this inside the actual program so clicking the image and dragging it to the other folder isn't what I'm looking for.
  3. F

    Help with the Perl programming language?

    I have a value called $flip and it equals <flip>no</flip>. How can I print out just the no and not the <flip></flip>? Ok so $flip =~ s/<flip>//; $flip =~ s/</flip>//; I was able to get the first line to run by it had difficulty with the / in the </flip> How would you get around that?
Back
Top