Similar topics
Latest topics
Club Penguin Events
Advertisement
How to make a simple perl script
2 posters
Page 1 of 1
How to make a simple perl script
Hello, In this tutorial I will show you how to make a simple perl script that says "Hello World!" on your screen.
Step 1: Open Notepad or Notepad++ on your computer.
Step 2: Write this on the first line:
Step 3: Press Enter 2 times and write this:
Step 4: Write this on the next line:
Step 5: Write this on the next line:
When you are done it should look something like this.
If you want to learn how to script in perl then you shouldn't just copy the script right there ↑. The purpose for this tutorial is for you to learn.
Thanks for reading.
Step 1: Open Notepad or Notepad++ on your computer.
Step 2: Write this on the first line:
- Code:
#!/usr/bin/perl -w
Step 3: Press Enter 2 times and write this:
- Code:
print "Hello World!\n";
Step 4: Write this on the next line:
- Code:
sleep 2;
Step 5: Write this on the next line:
- Code:
exit;
When you are done it should look something like this.
- Code:
#!/usr/bin/perl -w
print "Hello World!\n";
sleep 2;
exit;
If you want to learn how to script in perl then you shouldn't just copy the script right there ↑. The purpose for this tutorial is for you to learn.
Thanks for reading.
How do we do this?
How do we like um make the script? It just says its a code. I do not get this at all!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Feb 05, 2019 5:36 am by Gizmo92883
» Anybody else come to this forum for the memories?
Tue Jun 12, 2018 12:07 am by Cooldude21
» This forum died
Thu Mar 30, 2017 11:10 pm by _Skate_
» Introduce yourselves!
Fri Jan 23, 2015 7:21 pm by Gizmo92883
» Ozzy's Bot Script
Mon May 13, 2013 8:31 am by Pig
» Goodbye BCPB Forums.
Tue Sep 18, 2012 6:37 pm by 43nînjâ17
» Follow bot script (100% Credit to Cp-Cheater )
Sun Sep 16, 2012 4:55 pm by Dentonbrooks
» Xat Main Owner Hacker
Fri Aug 17, 2012 2:32 am by 43nînjâ17
» xat message big
Sat Aug 11, 2012 12:32 am by 43nînjâ17