|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re^2: clipcommand.pl (Embed perl into your clipboard)by antirice (Priest) |
| on Nov 02, 2007 at 16:28 UTC ( #648678=note: print w/ replies, xml ) | Need Help?? |
|
All right:
This is definitely a hack and shows why I need to clean up some things. However, if you run the script, copy that macro and copy -- eval_inplace, the macro will see everything you copy as perl code to execute and will dutifully populate the clipboard with its output (or the error it generated). To stop it, copy -- end. Also, you can't promote this macro and expect it to work (like I said, hack =)). Update: I forgot this part. I have the *nix style shebang line out of habit. I personally use it with ActiveState build 822.
In Section
Cool Uses for Perl
|
|
||||||||||||||||||||||||||||