in reply to Insert a variable without quotes
my $date = <>;
You don't show how you actually tried to use the value, but I suspect the problem is that you don't chomp $date, so it still contains the newline...
|
---|
In Section
Seekers of Perl Wisdom
in reply to Insert a variable without quotes
my $date = <>;
You don't show how you actually tried to use the value, but I suspect the problem is that you don't chomp $date, so it still contains the newline...
|
---|