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
I have checked all the directorie vars and even did this
print qq|img border=0 src=$Pics/Camera.gif width=$Game{CameraW}
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
I have checked all the directorie vars and even did this
print qq|img border=0 src=$Pics/Camera.gif
On 12/15/06, Wiggins d'Anconia [EMAIL PROTECTED] wrote:
Lou Hernsen wrote:
I use the -e to check to see if a file is present
if (-e $Pics/$Game{Page}.jpg)
Are you sure this is interpolating correctly? Try
if( -e $Pics/.$Game{Page}..jpg)
{
}
Question
I can get it to work
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
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
On Fri, 15 Dec 2006, 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