473,408 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Very begining problem in perl

I'm trying use perl code in a html page, I wrote it in goddyear.html

Expand|Select|Wrap|Line Numbers
  1. <html>
  2.  
  3. <%@ language="PerlScript" %>
  4.  
  5. <%
  6.   print "Hello, good year" ;
  7.  
  8. %>
  9.  
  10. </html>
when I run that page nothing happens; no message, no error

What I do bad?

Thanks
Mar 27 '08 #1
4 1411
KevinADC
4,059 Expert 2GB
Are you running that code on a server that supports it? As far as I know only Windows servers support ActiveX Scripting.
Mar 27 '08 #2
I'm running the script on a free server supporting perl-cgi scripts ( 000webhost.com)

Is the code in the html page correct ?
Mar 28 '08 #3
numberwhun
3,509 Expert Mod 2GB
I'm running the script on a free server supporting perl-cgi scripts ( 000webhost.com)

Is the code in the html page correct ?
First, you cannot embed Perl code into html and expect it to run as CGI. They way you are doing it is not standard Perl but something along the lines of what Kevin mentioned.

What you want to do is read a tutorial on CGI to get you going. Perl is always a script that runs either seperate from the html or that produces the html (in the case of cgi.). I haven't seen the example you gave before and would not know anything about "perlscript". It sounds like something that Microsoft came up with. Either way, read the tutorial.

Regards,

Jeff
Mar 28 '08 #4
KevinADC
4,059 Expert 2GB
I'm running the script on a free server supporting perl-cgi scripts ( 000webhost.com)

Is the code in the html page correct ?
I doubt you can run perlscript, so it does not matter if the code you posted is correct. But the code looks correct, it just will not work because that technology is not going to be supported by that host.
Mar 28 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: DJJ | last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL tables to a Microsoft Access 2003 database. I am finding that the data from the MySQL tables takes a hell of a long time...
4
by: Minitman | last post by:
I have an address database and I want to have the query prompt for me to enter an expression that will bring up ALL names begining with same first ltr for individual page on my report. I am...
50
by: diffuser78 | last post by:
I have just started to learn python. Some said that its slow. Can somebody pin point the issue. Thans
17
by: hanumizzle | last post by:
I have used Perl for a long time, but I am something of an experimental person and mean to try something new. Most of my 'work' with Vector Linux entails the use of Perl (a bit of a misnomer as it...
1
by: rajesh.us.it.recruiter | last post by:
Hi Guys/Partners, We have a URGENT Requirement for Perl Programmer with H1 visa in India/US for one of our prestigious Client. Location : New Jersey Requirements : Should be very strong in...
7
by: Adrian | last post by:
Why does std::strings find search from the begining of the string when pos >= (std::string::npos-3) I cant find anything in the standard that says what find should do if pos==npos in find I...
3
by: autodidact | last post by:
Hey Guys, would anyone care to explain whats going on; I have a few codes and i don't know why one works and the other doesn't. I'm playing around with concatenation operators "," and "." These...
1
by: James Yang | last post by:
Sirs, We are using DB2 UDB 8.2.5 for AIX 5.3. Everytime when we perform a online incremental backup to Tivoli, the system will hang for about 10 mins or more at the begining of backup due to no...
5
by: plsHelpMe | last post by:
Hi Frens, I want to show a blank space at the begining of the option tag using javascript, can anyone please help me for the same. Let me explain what i want: I want to have an event which the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.