How to Running perl scripts - Yahoo-Underground



Go Back   Yahoo-Underground > Underground Free Talk > Global Tutorial

Global Tutorial You have sometutorials & Guides share in here to help other learn.

READ INTRODUCE RULES & SITE RULES BEFORE POST AND DON'T POSTED ALL PROGRAM HAVE NAME EXPLOITS-WORLD- PTV2 AND SILENT DEATH OR RELATED WITH THAT SITE YOU WILL BE GET BANNED

How to Running perl scripts

Global Tutorial


Post New Thread  Reply
 
LinkBack Thread Tools Display Modes

Old 02-08-2010, 08:04 AM   #1 (permalink)
Member Info
 
---Bokeppers___

Member Detail
 
Points: 72,952, Level: 100
Points: 72,952, Level: 100 Points: 72,952, Level: 100 Points: 72,952, Level: 100
Level up: 0%, 0 Points needed
Level up: 0% Level up: 0% Level up: 0%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2008
Location: /etc/passwd
Posts: 1,886
Reputation: 2460
~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:218,003

Thanks: 509
Thanked Giving : 410 Times in : 248 Posts
Last Achievements

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
To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts.
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.

To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts.
~vinblack~ is offline  
Post New Thread  Reply

Tags
perl, running, scripts

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 On


underground-zone.org tested by McAfee Security underground-zone.org tested by McAfee Security



Search Engine Friendly URLs by vBSEO