Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
codeyard
@rhymes = (1, 2, 'Buckle','my','shoe'); @matrix3 = qw/Everything that has a beginning/; print $rhymes[2]."\n"; print $matrix3[4]."\n\n"; print "\n-+-+-+-+-+-+-+-+\n"; $mission = "fast"; $impossible = "furious"; $str = $mission." and ".$impossible; $num = 5 + 3; $mul = 4 * 5; $mix = $str ." ". $num; print "str = $str\n"; print "num = $num\n"; print "mul = $mul\n"; print "mix = $mix\n"; print "\n-+-+-+-+-+-+-+-+\n"; %data = ('hunt', 2100, 'benji', 54, 'faust', 13); print "\$data{'hunt'} = $data{'hunt'}\n"; print "\$data{'benji'} = $data{'benji'}\n"; print "\$data{'faust'} = $data{'faust'}\n"; print "\n-+-+-+-+-+-+-+-+\n"; @jokers = ("harry","ron","hermione"); @cartoons = ("chulbul","phunsuk wangdoo","pa dungu"); print "\$jokers[1] = $jokers[1]\n"; print "\$cartoons[2] = $cartoons[2]\n"; print "\n-+-+-+-+-+-+-+-+\n"; $var = "This is string scalar!"; $quote = 'Single quote - $var'; $double = "Double quote - $var"; print $var; print "\nThis is quote inside quotes: $quote\n"; print "\nHere we go double : $double\n\n\n\n";
run
|
edit
|
history
|
help
0
XPPErrorLog
perl circle plot
Array_with_join_function
Perlday1
Array_with_push_function
grid
Quotes
Test 41/2
Cloeren 4 Coding
Perl