Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Acme Enc

by sameerperl
on Jul 24, 2008 at 14:33 UTC ( #699891=perlquestion: print w/replies, xml ) Need Help??

sameerperl has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Acme Enc
by Fletch (Chancellor) on Jul 24, 2008 at 14:38 UTC

    As was pointed out in the replies the other day and earlier today:

    YOU REALLY DO NOT WANT TO USE Acme MODULES IN PRODUCTION

    You also really need to stop reposting all but identical crappy questions because you don't like the answers you're getting.

    Actually go read How (Not) To Ask A Question. And stop using two different accounts, it's frelling annoying.

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Acme Enc
by marto (Cardinal) on Jul 24, 2008 at 22:47 UTC


    N.B. Please read the post history of perlsameer and sameerperl, there is not much to read.

    "Thanks All of you with Your great and worthless comments"

    If by worthless comments, you mean informing you how to start debugging your code, not to use a module like Acme::*, not to be concerned about "encrypting" your Perl code (I suspect you have no idea what you are doing in this respect). Your comments are adding no "worth". It is rarely advisable to when asking for peoples help to ignore their advice, fail to respond to their questions which are intended to help and educate you, then ridicule them.

    "I can use N numbers of account that should not bother you
    Second i dnt like the answer because you dont give the answer
    I think people who are workin on perl monks doesnt have
    experience they work on hit and trial basis that is why always lookin for code...."

    Firstly I believe this site has a policy about having multiple accounts, perhaps you should check this out before saying "that should not bother you". Secondly:

    "Second i dnt like the answer because you dont give the answer"

    What? You did not answer someone because you don't like the answer they gave or the request for some more details? You come here, continually posting a vague problem, without giving any real details, other than the fact you are using a module everyone as advised you not to use. You obviously do not understand what this module does, that it gives you NO REAL SECURITY, and you don't like the answers you are getting?

    "I think people who are workin on perl monks doesnt have
    experience they work on hit and trial basis that is why always lookin for code...."

    Really? If this were correct I doubt we would have the number of posts from people asking for help. Ever think the problem could be you and not everyone else on this site? Regards people asking to see your code, would you go to a doctor and refuse to tell them any of your symptoms and have them test every single thing that may be wrong with you?

    Please, if you persist in posting, stop acting like an angry child, start making some effort and respond to peoples requests for information properly, and not in tragic little outbursts such as this.

    Martin
Re: Acme Enc
by Popcorn Dave (Abbot) on Jul 24, 2008 at 16:43 UTC
    Apparently you're not familiar with the roadrunner cartoons put out by Warner Brothers in the late 1960's to early 1970's. ACME is the company that the coyote, who continually unsuccessfully chases the roadrunner, purchases any number of bizarre, almost Rube Goldberesque inventions from - all of which fail. You might want to look up ACME on Wikipedia so you get a sense of what it's all about.

    ACME modules are intended as fun, not for production use.


    Revolution. Today, 3 O'Clock. Meet behind the monkey bars.

    I would love to change the world, but they won't give me the source code

Re: Acme Enc
by ikegami (Pope) on Jul 24, 2008 at 22:07 UTC

    I have use Module Acme::Enc to secure my source code

    That's odd, since Acme::Enc doesn't secure anything. The "decryption" code is available to all in Acme::Enc.

    #!/usr/bin/perl # Usage: # decode.pl encoded.pl > original.pl # # In-place: # perl -i decode.pl script.pl use Acme::Enc qw( ); BEGIN { *zipperstuck = \&Acme::Enc::zipperstuck; *unbutton = \&Acme::Enc::unbutton; } { my $pants = do { local $/; <> }; $pants =~ s{ .* use \s+ Acme::Enc [^\n]* \n}{}xms; die("This input wasn't \"encoded\"\n") if !zipperstuck($pants); print(unbutton($pants)); }

    Unstead, but adapted from something similar that worked with Acme::Bleach.

    Acme::Bleach works fine with perl threads when I convert that code for cgi it wont work.

    Works fine for me. Yeah, that's rather useless to say, but not as useless as saying "it wont work". Tell us how it doesn't work.

    Update: Changed first snippet to reverse Acme::Enc. I had originally wrote and tested one for Acme::Bleach.

Re: Acme Enc
by runrig (Abbot) on Jul 24, 2008 at 22:09 UTC
    I have use Module Acme::Enc to secure my source code

    Just FYI, Acme::Enc does not secure your source code (did you read the documentation?).

Re: Acme Enc
by psini (Deacon) on Jul 24, 2008 at 20:39 UTC

    If you want to use Acme::Enc in your cgi script you should use Acme::Code::Police too, but be sure to read the documentation before.

    Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."

      Don't suggest this. The OP may actually try to use it.

      --MidLifeXis

        I told him to read the pod and it says "If you do not understand what this module is doing, don't use it. Period. End of sentence. That means you."

        OTOH, if he never listen to suggestions...

        Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."

Re: Acme Enc
by Anonymous Monk on Jul 24, 2008 at 14:46 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://699891]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-12-05 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?