in reply to Perl Variable Help.

put code tags please, and show some effort asking a question: 'urgent' and 'as soon as possible' are not the right words when asking for help. Anyway you are appending newlines to your variables and Perl print them. Always use stricts and warnings in your code, and you miss some quotes too.

L*
There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: Perl Variable Help.
by Dumu (Monk) on Jul 02, 2015 at 09:53 UTC
    He wants newlines after them, just not inside them. So adding newlines is fine, but he needs to chomp the shell response (or better, get the date from Perl).
      Ah now i see, obviously he needs to chomp the date returned output, thanks

      There are no rules, there are no thumbs..
      Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.