in reply to Perl Variable Help.
Need a urgent help. ... Please help me guys as soon as possible.
If it is that urgent, perhaps formatting your post correctly will increase the chances of quick responses.
Hint: use <code></code> tags to enclose the code.
Update: The code has been formatted now, so we can read it clearly. This makes it obvious that you are not stripping the EOL characters from $date, so chomp() is the right approach as choroba has given below.
That said, it would be highly advisable to avoid the barewords also as they will come back to bite you very swiftly.
|
|---|