Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: -e not working Perl 5.008008

by GLJSD (Initiate)
on Mar 01, 2015 at 20:47 UTC ( [id://1118312]=note: print w/replies, xml ) Need Help??


in reply to Re: -e not working Perl 5.008008
in thread -e not working Perl 5.008008

The Perl script works fine when I am running it on my home computer running Win7 and Apache for Perl. I enter http://localhost/cgi-bin/spanish.pl for the URL in my browser and it works.

The problem occurs however, when I upload the Perl script to a web server (hosted by the company SiteGround). I enter http://www.1604.ca/cgi-bin/spanish.pl for the URL. Could it be that their operating system is missing something? I can't imagine they're running Windows.

Replies are listed 'Best First'.
Re^3: -e not working Perl 5.008008
by Anonymous Monk on Mar 01, 2015 at 21:54 UTC

      FIXED!! Or at least I'm on the right track! Thanks.

      I read a bit about unicode.

      I then got my Perl script to read the directory listing and it listed "número.png" instead of the expected "número.png".

      The script did however properly read the word "número" from my data file.

      I got my program to encode the word "número" which it read from the data file. This converted it to "número". I then verified (-e "número.png") and it found it.

      Thanks again

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1118312]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-23 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found