in reply to Re: Odd behavior of file test
in thread Odd behavior of file test

I believe you have it. I changed my request to

if (-e "/Users/user/Documents/httpd/public/local/music/data/$ArtistNam +e/$cdTitle/$Cover") { print qq{<p><img src="/music/data/$ArtistName/$cdTitle/$Cover" alt="$A +rtistName-$cdTitle" style="height:240px;width:240px;padding-right:100 +px;float:right"><br clear="right"/></p>}; }

So I need a full system path in my test, but I can use the Apache path to do the print statement (which does show me the image).

Many thanks for the solution and hopefully others will benefit as well.