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

10 lines
189 B
Perl
Raw Normal View History

2019-11-18 14:44:36 +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";