in reply to Re: OO Perl and Tk
in thread OO Perl and Tk

how can I be sure your code does nothing harmful to my system?

From browsing your files I see exactly opposite: your files contain very suspicious things, like walking in 'my documents' and large self-unpacking and doing-what-they-want executables.

Replies are listed 'Best First'.
Re^3: OO Perl and Tk
by Washizu (Scribe) on Sep 13, 2004 at 17:36 UTC
    Of course, you could only be sure by inspecting every line of code in there. There is only one line where I make a local reference.
    use lib 'C:\Documents and Settings\Ben Garvey\My Documents\spintris\li +b';
    That was so perl2exe could compile the thing. For some reason it can't compile it if you use a relative path even though it works fine through the script. To get start.pl to run properly you'd have to change it to this for your system.
    #use lib 'C:\Documents and Settings\Ben Garvey\My Documents\spintris\l +ib'; use lib 'lib';
    The executable is for people who want to try the game out but don't have perl and all the libraries installed. There are no self-unpacking files. There is a zip file that puts files into directories when installed, but only sub directories inside the one you unzip to. Lastly, the program is for download on a website that has far too much personal information about me to allow me to get away with anything nefarious. Feel free to call me on any evil code. It's all there to see.

    -----------------------------------
    Washizu
    Acoustic Rock

      Actually I was not very serious.

      Sorry

        No problem then!

        -----------------------------------
        Washizu
        Acoustic Rock

Re^3: OO Perl and Tk
by Washizu (Scribe) on Sep 13, 2004 at 17:39 UTC
    Sorry to hijack this thread yet again, but here are some screenshots of the game.

    -----------------------------------
    Washizu
    Acoustic Rock