Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Clipboard transform keys

by PhilHibbs (Hermit)
on Aug 05, 2003 at 19:01 UTC ( #281123=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub X { return X($_[0]); }
    sub x { return sprintf("%x",$_[0]); }
    my $CLIP = Win32::Clipboard();
    ...
    eval('$_='.$text);
    print $_."\n";
    $CLIP->Set($_);
    
  2. or download this
    @rem = '--*-Perl-*--
    @echo off
    perl -x -S "%~dpnx0" %1 %2 %3 %4 %5 %6 %7 %8 %9
    ...
    $CLIP->Set('<<i></i>code>'.$text.'<'.'/code>');
    __END__
    :endofperl
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: CUFP [id://281123]
Approved by Corion
Front-paged by ybiC
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-02-23 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (341 votes). Check out past polls.