programming-examples/perl/_Basics/Assign value to four variables.pl

10 lines
189 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!C:\perl\bin
$age = $myage = $herage = $hisage = 25;
print "\$age = $age\n\n";
print "\$myage = $myage\n\n";
print "\$herage = $herage\n\n";
print "\$hisage = $hisage\n\n";