Guest_imported
New member
- Jan 1, 1970
- 0
Hi, i'm quite new to perl and have two quick questions:
1. What's the correct term for the statement below?
if ($dirname eq "bass_tabs" OR $dirname eq "drum_tabs" )
I thought that would work but it doesn't seem to.
2. I've also tried looking for a statement which says if directory empty (no files or other directorys in it) then continue else error.
If you could help me with either of the above, i'd be greatful. Thanx
1. What's the correct term for the statement below?
if ($dirname eq "bass_tabs" OR $dirname eq "drum_tabs" )
I thought that would work but it doesn't seem to.
2. I've also tried looking for a statement which says if directory empty (no files or other directorys in it) then continue else error.
If you could help me with either of the above, i'd be greatful. Thanx