Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

a simple script that writes "Hello World!" on the screen

Posted on 2011-03-09
3
Medium Priority
?
471 Views
Last Modified: 2012-05-11
My first perl script: a simple script that writes "Hello World!" on the screen.
If I want the command directly instead of put the script into a pl file. How?

Thanks.
0
Comment
Question by:zhshqzyc
3 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 35090669
perl -wnl -e 'print "Hello World!"'
0
 
LVL 16

Accepted Solution

by:
sjklein42 earned 200 total points
ID: 35090688
Command line Hello World PERL test:

perl -e "print 'hello world';"

Open in new window

0
 
LVL 48

Expert Comment

by:Tintin
ID: 35091667
 perl -e 'print "Hello world\n"'

Open in new window

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

927 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question