Perl basics
jack and jill went up the hill
twinkle twinkle little star
jack and jill went up the hill twinkle twinkle little star
Before : She sells sea shells on the sea shore
Before : 3 2 5 6 7 5 4 3 6 8 7 6
-+-+-+-+-+-+-+-+-+-+-+
After : She on sea sea sells shells shore the
After : 2 3 3 4 5 5 6 6 6 7 7 8
Them that ask no question never told a lie
May*the*odds*be*with*you
evil
fox
Before - 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
After - 1 2 3 4 5 6 7 8 9 10 21 22 23 24 25 14 15 16 17 18 19 20
Tue Fri Mon
1. @circus = Tinker Tailor Soldier Spy
2. @circus = Tinker Tailor Soldier Spy Moneypenny
3. @circus = Ilsa Faust Tinker Tailor Soldier Spy Moneypenny
4. @circus = Ilsa Faust Tinker Tailor Soldier Spy
5. @circus = Tinker Tailor Soldier Spy
4
Tinker Tailor Soldier Spy
1 2 3 4 5 6 7 8 9 10
10 11 12 13 14 15 16 17 18 19 20
a b c d e f g h i j k l m n o p q r s t u v w x y z
Tailor is the mole.
Spy is the mole.
Soldier is the mole.
This is string scalar!
This is quote inside quotes: Single quote - $var
Here we go double : Double quote - This is string scalar!
str = fast and furious
num = 8
mul = 20
mix = fast and furious 8
Buckle
beginning
$data{'hunt'} = 2100
$data{'benji'} = 54
$data{'faust'} = 13
$data{'hunt'}=100
$sports[1]=cricket
single $var
double 5
Hello World
|
|