in reply to Re^2: Looking for syntactic shortcut
in thread Looking for syntactic shortcut
(note the + before the opening bracet, to prevent print from thinking it's his. When assigning to a variable, you say:print +(localtime)[5]
just as you state in your own post :)my $year = (localtime)[5]
Paul
|
|---|