In perl, the last variable ____ in a function is returned. sub timestamp { my $t = localtime; \$t } is the same as sub timestamp { my $t = localtime; return \$t; } This function stores the localtime (seconds since epoch?) in a variable $t, then returns a reference to $t.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/