programming-examples/perl/Basics/Assign value to four variables.pl
2019-11-18 14:44:36 +01:00

10 lines
189 B
Perl

#!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";