Donate Now
WELCOME TO UNDERGROUND-ZONE COMMUNITY
Go Back   Underground-Zone >> Underground Free Talk >> Tutorial-How To
Notices
Tutorial-How To Post All Your Custom Made Tutorials And Explainations here

ALL LINK MUST IN TAG [CODE] - DON'T QUOTE THE POST WITH IMAGE - PUT YAHOO PROGRAM WITH A NEW SCAN VIRUS RESULT.AND ALL FREAK-ZONE PROGRAM DON'T POST IN HERE OR YOU GET BANNED FOREVER.

How to Running perl scripts

Tutorial-How To


Post New Thread  Reply
 
LinkBack Thread Tools Display Modes
Old 02-08-2010, 04:04 PM   #1 (permalink)







     
 
___SlackerS___












Points: 70,554, Level: 100
Points: 70,554, Level: 100 Points: 70,554, Level: 100 Points: 70,554, Level: 100
Level up: 0%, 0 Points needed
Level up: 0% Level up: 0% Level up: 0%
Activity: 99.6%
Activity: 99.6% Activity: 99.6% Activity: 99.6%
 
User ID: 166
Join Date: Dec 2008
Posts: 1,807
Reputation: 2370
~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about~vinblack~ has a spectacular aura about
Credits:203,515
Thanks: 463
Thanked Giving : 392 Times in : 237 Posts


Indonesia


Default How to Running perl scripts

Running perl scripts

Before you can run Perl, you have to install it on your system. If you haven't done so already, go to
Code:
Content Blocked By Underground Team..Only For Members not for zero post and guest. 
for more instructions. At this stage, you don't have to do the the Personal Web Server or Perl via PWS installations and you should leave them for a later lesson. Installing Perl should be quite quick and simple, so go ahead and get it in place. Make sure you reboot before continuing.

For the first part of this course, we'll be running perl scripts in a DOS window. This means we're going to be typing words in. Yes indeed, a command line environment instead of a Windows GUI! Yuck or yay, depending on your point of view.

Once you've installed perl and rebooted into Windows, bring up a DOS window. It doesn't matter what directory you are in for now. Just type in:

perl -v

and you should get back a screenful of version information from perl. If you get a "bad command or filename" message, Perl isn't properly installed. See if you can fix it.
Running your first Perl script: Hello World!

Now it's time to feel like you're getting somewhere. You're going to write your first perl script. Go back to your DOS prompt and this time, make sure you're working in a directory where you can edit a file or two.

Use notepad or some simple text editor (not MS Word!) to create a file with this line in it. You can cut and paste it directly from here:

print "hello world\n";

Save the file as "hello.pl" and turn to your DOS session and type:

perl hello.pl

The screen should show

hello world

right underneath.

Congratulations, you've just run your first perl script!

Now you need to learn a bit more about the language so you can create something more interesting.
Code:
Content Blocked By Underground Team..Only For Members not for zero post and guest. 
~vinblack~ is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
perl, running, scripts


(View-All Members who have read this thread in the last 3 days : 0
There are no names to display.
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
101 Running Songs (2009) lucky Europe Music 0 09-28-2009 12:56 AM
How Long Has Your System Been Running? (~sensei~) Tutorial-How To 0 05-03-2009 02:31 PM
All softbizscripts.com scripts -AnaRchy-99- Templates-Skin 0 05-01-2009 05:53 PM
85 PHP SCRIPTS _-FUCK-_ VBulletin-Jomla-WP 0 04-22-2009 07:15 PM
All MySpace Scripts from M2Scripts.com _-FUCK-_ VBulletin-Jomla-WP 0 04-22-2009 06:41 PM

All times are GMT +8. The time now is 03:06 AM.

Safe Site Secure Trusted By
underground-zone.org tested by McAfee Security underground-zone.org tested by McAfee Security
www.underground-zone.org-Copyright ?2010-2011
Search Engine Optimising V.3.3.2 Gold
vBCredits v1.6 Copyright ?2009 - 2010, PixelFX Studios
The logos and trademarks used on this site are the property of their respective owners.
We are not responsible for comments posted by our users, as they are the property of the poster.


eXTReMe Tracker