On 12/15/2006 11:00 AM, Mumia W. wrote:
On 12/15/2006 09:44 AM, Lou Hernsen wrote:
I use the -e to check to see if a file is present

  if (-e "$Pics/$Game{Page}.jpg")
  {
   }

Question
I can get it to work looking for .pl and .gif but not .jpg
[...]

Read "perldoc -f -e"

-e tests if a file is executable.

Use -f to test if the file is there.




Oops, I should've read the docs myself.

Please ignore :-[


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to