At 5:20 pm +1000 14/4/05, John Horner wrote:

More idle curiosity than a desperate need to know, but is it possible to access the OS X clipboard with perl, and if so, how?

Provided you need to get only us-ascii stuff, then

print `pbpaste`;

Otherwise

print `osascript -e 'the clipboard as unicode text'`;

or use Mac::Carbon

JD

Reply via email to