answersLogoWhite

0

First, make sure you have #!/usr/bin/perl at the top.

Then, click enter, and type:

print "Hello, World!";

After that, save it as name.pl (replace name with whatever you want to name it) and you are all done! Test it out on a web server that supports perl or the perl command line.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

What is the HTML code needed for a website that displays Hello World?

No code is needed. If you wanted to, you could just make a blank HTML page and write "Hello world" on it with out any HTML code. Tumudracs improved answer: If you want to be a true HTML coder here is the code: <HTML> <head> <title> Hello World </title> </head> <body> Hello World </body> </HTML> If you wanna get technical, it would be <! DOCTYPE HTML PUBLIC "-//W3C DTD HTML 4.01//EN" "http://www.w3c.org/TR/html14/strict.dtd"> <HTML> <head> <meta http-equiv="Content-Type" content="text/HTML; charset=iso-8859-1"> <title>Hello World</title> </head> <body> <p> Hello World </p> </body> </HTML>


Difference between machine language and binary code?

Machine language is often (incorrectly) referred to as binary language. Binary is a numbering system comprised of zeros and ones. (Also thought of as true/false, or originally from the electronic ancestry, on and off.) Machine language is the instructions that computers understand. These instructions are comprized of binary values which instruct the CPU to perform specific actions.


Can you generate DLL files from PHP scripts like you do in PERL?

You can make a .NET DLL for use in Visual Studio development projects with Phalanger 2.0.


How do you make a c plus plus program loop?

#include using std::cout;int main(){int a = 0;while (a != 11) //While a does not equal 11{a++; //add 1 to acout


How do you do JavaScript?

Java script or javascript. a javascript is just object orientated language that you can embed into HTML to make an object preform tasks that are much much harder for any other language to do. On the other hand a complete Java script is much harder because pure Java is a language that is used to develope games and takes a lot more time to do than javascript, but it can do so much more than Javascript.

Related Questions

How do you make a flowchart for 'hello world'?

( start ) -> / Write "Hello World" / -> ( end ) *try to search an example on google. *type "flowchart of hello world"


What is the HTML code needed for a website that displays Hello World?

No code is needed. If you wanted to, you could just make a blank HTML page and write "Hello world" on it with out any HTML code. Tumudracs improved answer: If you want to be a true HTML coder here is the code: <HTML> <head> <title> Hello World </title> </head> <body> Hello World </body> </HTML> If you wanna get technical, it would be <! DOCTYPE HTML PUBLIC "-//W3C DTD HTML 4.01//EN" "http://www.w3c.org/TR/html14/strict.dtd"> <HTML> <head> <meta http-equiv="Content-Type" content="text/HTML; charset=iso-8859-1"> <title>Hello World</title> </head> <body> <p> Hello World </p> </body> </HTML>


The purpose of the b tag in HTML?

The tag is used to make bold text.Example: Hello World!Will result in: Hello World!


Did she make hello kitty?

"She" didn't make Hello Kitty, Hello Kitty was made on November 1, 1972 by a company referred to as Sanrio. For more information, look at answer for- "What use does hello kitty have to the world and the company that made her?"


What is the note in perly shell?

In Perl, the note is indicated using the "#" symbol. Any text following the "#" symbol on a line is considered a comment and will not be executed as part of the code. Comments are used to explain the code or make notes for other developers.


What should be given at in if printf hello else world to get the output helloworld that is to make both the statements in ifelse clause to execute what should be given in if clause?

main() { if( !fork() ) printf("Hello"); else printf("World"); } This works fine. if (!printf("hello")) printf("Hello"); else printf(" World\n");


Why do pencils make electricity?

because it makes crap come out your bottem then it say hello to the world


Does he still make hello kitty things?

Does who still make hello kitty things


Best perl editor in windows?

The best editor for programming will depend on the preferences and quirks of the user. Editors that can do syntax-dependent colouring of the text make it easier to read code and identify problems. xemacs and textpad are possible options.


Is there an AR code for Digimon World Championship to make all your Digimon mega?

0989007475322627755fffffff3215 this the code


How many words can you make from the word hello kitty?

You can make:ellelkhellheyhihikehilthithokeyholeholyhotilkillitkeykillkilokiltkitkiteletlielikelitlithelotlyeohoiltelltietiletilltilttithetoetolltottoyyellyetyokeyolk And, hello and kitty.


Basic commands use in java?

Getting StartedJava is in /usr/local/java; make sure that this directory is in your load path. Use javac to compile java programs as in prompt% javac Hello.java The compiler produces files with the extension .class, which is the object code for each of the classes defined within the file.If you've written an application, you can run it using java; as in: prompt% java Hello Hello World!for the classic first program.If you've written an applet to be run through a browser, you can run it using a viewer, appletviewer as in: prompt% appletviewer Hello.htmlwhich will bring up a separate window.Simple Example ProgramsHello World as ApplicationAll the code is in a single file called Hello.java: // standard first program // runs via terminal i/o class Hello { public static void main (String[] args) { System.out.println("Hello World!"); } } Hello World as AppletFor this we need two files: one for the java code and one to define the html page from which to run it. The java code looks like: // standard first program // run as an applet import java.applet.Applet; import java.awt.*; public class HelloWorld extends Applet { public void paint (Graphics g) { g.drawString("Hello World!", 25, 25); } } In this case, we need to inherit the Applet class for our class definition. Additionally, we overwrite a method from the class, paint, to print what we want.We also need the companion html file, as shown in your notes to define the size of the window to open and designates the java code to be run within it.