in reply to Re^5: Move/Copy files using Clipboard!
in thread Move/Copy files using Clipboard!

No, not, really, but please tell me! Would be kewl doing! It seems like a rather small and not too complex thing to do (since its just a small part of the big Win32 module). Assuming I can compile this part by itself! (and I'm not too much of a stranger to makefile in linux :) )

Update: Looking into and testing the perlxs and perlxstut now :)

Replies are listed 'Best First'.
Re^7: Move/Copy files using Clipboard!
by BrowserUk (Patriarch) on Oct 14, 2005 at 12:24 UTC
    Looking into and testing the perlxs and perlxstut now

    You don't need to do that. The changes are already done and are made to your copy of the package by running a program.

    The first thing you need to do is to download and compile the base module (Win32::Clipboard 0.52) yourself.

    To do that, you will need a C compiler, preferably the same one used to build your version of Perl. If you are using an ActiveState build of Perl, that means the MS C compiler.

    If you already have that installed, then the best place to learn about building modules is tachyon's excellent A Guide to Installing Modules.

    When you've succeded in building 0.52, /msg me and I explain how to apply the patch.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
      Uh, ok... M$ Studio is installed. Now what? :) Those guides doesn't really help me (or I can't find the info about it)!

      UPDATE: Crap. Same problem as http://www.dbforums.com/showthread.php?mode=hybrid&t=1031906 :(
        Now what?

        Now, you need to

      • download Win32::Clipboard-052.tar.gz from cpan
      • put it into a directory
      • gunzip it
      • untar it
      • check that your compiler environment variables are set up (type set at the cmd prompt and look for INCLUDE=... and LIB=.. etc. If not, check the bin directory where you installed the compiler for a file named something similar to mscvars.bat, and then run it.
      • run makefile.pl
      • then nmake
      • then nmake test

        That will al look something like this:

        When you get to the point where you see "All tests successful.", come back and I'll tell you how to apply the patch.

        And please, do go back and read those guidelines again, carefully. Believe me, everything you need to know is there, has been vetted, often through use, by many of the monks here, and is much more clearly explained, with less likelyhood of errors, than I can do it.


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
        "Science is about questioning the status quo. Questioning authority".
        The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.