Home
Tech Articles
Code Samples
Learn
Freelance Projects
Online Testing
Geek Talk
Job Postings
Knowledge Base
Geek Blogs
Question Bank
Interview Questions
Certification
Placement Papers
Tech FAQ
Career Advice
Engineering
Ask Question
I am new,
Sign me up!
User Name
Remember Me?
Password
Code Base
Submit Code
Back
Oracle
PHP
Java
ASP.NET
C#
Delphi
VB.NET
Perl
ColdFusion
SQL Server
MySQL
C
C++
UNIX
AJAX
Flash
HTML
CSS
Java Script
VB Script
XML
Python
MS Access
Perl Code Base
•
PassCripting - Crypt Perl Password
•
Currency Converter
•
PerlScript Array
•
PerlScript HTML Form
•
Simple PerlScript Loop
Code Samples
Perl
Simple PerlScript Loop
Code Resource
Author:
srinivasaraobora
Difficulty Level
: Beginner
Published:
24th Apr 2009
Read:
1162 times
Filed in:
Perl
Add Comment
This Script shows how to use for loop in perl.
Sample Code
#!/usr/bin/perl
# countdown.plx
use
warnings
;
use
strict
;
my
@count
=
(
1
..
5
)
;
for
(
reverse
(
@count
)
)
{
print
"$_...n"
;
sleep
1
;
}
print
"BLAST OFF!n"
;
Copyright GeekInterview.com
Next:
PerlScript HTML Form
Latest Code Samples
♦
PerlScript HTML Form
♦
Currency Converter
♦
Simple PerlScript Loop
♦
PerlScript Array
♦
PassCripting - Crypt Perl Password
Popular Code Samples
♦
PerlScript HTML Form
♦
Currency Converter
♦
Simple PerlScript Loop
♦
PassCripting - Crypt Perl Password
♦
PerlScript Array
Related Code Samples
»
PerlScript HTML Form
»
PerlScript Array
»
Simple Photo Gallery with ASP.NET 2.0
»
Simple Java Mail application
»
Simple mouse listener application applet
»
A Simple java program to learn JTabbed
»
Simple Calculator
»
Finding loop in a link list
Post Comment
Members Please Login
Name:
Email:
(Optional. Used for Notification)
Title:
Comment:
Validation Code:
<=>
(Enter this code in text box)
Popular Coders
#
Coder Name
Hits
1.
srinivasaraobora
5692
Active Coders
#
Coder Name
Codes
1.
srinivasaraobora
5
Refined Tags
Sponsored Links
About Us
-
Privacy Policy
-
Terms and Conditions
-
Contact
Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved