Kevin,
Thanks so much for the time you put into this. The Warning piece is very good. At least it would have alerted me to the issue.
The way it works is very strange because that's what I was looking for; even though it's wrong syntactically.
Thanks again for your help.
Fred
I understand how to do it correctly, what I don't understand is why it works the way it is. It's just a mental challenge to understand what PERL is really doing.
I've been working on some code to rename MP3 tags. I wrote the following to test out some functions. I wanted to sort out files that began with numbers. I now know about the != and the "ne" (string based) but wonder why this is working.
# PRINTS SECOND LINE IF FILE NAME BEGINS WITH A NUMBER...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.