Home
|
Ask Question
|
Interview Questions
|
Tech FAQ
s
|
Engineering
|
Company
|
Geek Forums
|
Interview Coaching
|
Online Quiz
|
Interview eBook
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
MainFrame
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:
2971 times
Filed in:
Perl
Add Comment
Sponsored Links
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
♦
PassCripting - Crypt Perl Password
♦
Currency Converter
♦
Simple PerlScript Loop
♦
PerlScript Array
Related Code Samples
»
Simple Mathematic Operations (Round, Ceil, Floor, Square Root)
»
Simple Mathematic Operations (Add, Sub, Mul, Div, Mod)
»
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 Your Comment:
Members Please Login
Your Name:
*
e-mail ID:
(required for notification)
*
Image Verification:
Subscribe
Popular Coders
#
Coder Name
Hits
1.
srinivasaraobora
17446
Active Coders
#
Coder Name
Codes
1.
srinivasaraobora
5
Refined Tags
Copyright © 2012 GeekInterview.com | All Rights Reserved