On Thu, 14 Feb 2002, Brian Johnson wrote:

> I need a string in the form
> Wed, 18 Jul 2001 14:20
>
> Of course my line doesn't quite cut it.
>       my $emaildate = join " ", $record->{day}, $record->{month},
> $record->{year}, $record->{hour}, $record->{minute};

Just interpolate the variables directly inside double quotes:

my $emaildate = "$record->{day}, $record->{month} $record->{year}
$record->{hour}:$record->{minute}";

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
When a lot of remedies are suggested for a disease, that means it can't
be cured.
                -- Anton Chekhov, "The Cherry Orchard"


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to