You just can't do it - it doesn't make sense in Perl. The nearest thing to do what you intend (without using any modules) needs a loop:
my $jul = $da; $jul += $_ for @Days[0..$mo-1];
@ARRAY[LIST] is known as an array slice. It returns a list of elements of @ARRAY. You can also slice a hash. See Slices for the details.
In reply to Re: Very Simple Conversion of Gregorian to Julian Calendar
by FunkyMonk
in thread Very Simple Conversion of Gregorian to Julian Calendar
by Aim9b
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |