|
|
| Come for the quick hacks, stay for the epiphanies. | |
| PerlMonks |
avoiding newlines when using system calls.by Zecho (Hermit) |
| on Aug 27, 2001 at 08:12 UTC ( [id://108073]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.Zecho has asked for the wisdom of the Perl Monks concerning the following question:
A lot of what i've been writing in my attempts to learn perl have used the `date` command. When i try to write it to a file as part of a longer string it always causes a /n after it so I have been putting it at the end of the line. Such as
This works fine but what if I want to use more than one instance of it and keep it all on one line?? Secondly will every system call do this?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||