Apr 1, 2008, 2:36 AM
Post #1 of 5
Writing a new line to Clipboard to paste into plaintext format
I am beginner to perl,
I am using Win32::Clipboard, to set the clipboard content using perl.
When i run the above porgram, it 'll set the clipboard content to
FirstName followed by newline and followed by LastName.
If i paste the clipboard content into the notepad. The box appears (shown in the screenshot attached) instead of the newline, i don't know why. But, when i paste it into the word document the FirstName and LastName appears in two lines (it is normal).
How can i get the new line instead of box (as shown in the screenshot attached) when i paste the clipboard into notepad (or any plaintext editor) ?
Plz, Can anybody help ?