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?
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.
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?