Solved

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

Posted on 2011-03-09
3
462 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 50 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
partition customisation for kickstart file 2 94
File system unmounted 3 156
Debian 3.16.7 3 147
Linux Hanging with disable Error Output 4 83
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

774 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