in reply to Simple Parallel Processing Question

Parallel::ForkManager is a pure perl module. There is hardly any installing involved. You can just copy and paste the source code into any file of your own making. You can copy or install it to any directory, it doesn't have to be in the regular system library directory (but then you would need to set PERL5LIB or use the 'use lib' directive). You can copy the code directly into your own script if you wanted to. If you can write code, you can use the module.
  • Comment on Re: Simple Parallel Processing Question

Replies are listed 'Best First'.
Re^2: Simple Parallel Processing Question
by bichonfrise74 (Vicar) on Jan 22, 2009 at 05:08 UTC
    That is true, I could just copy the module and rename it as something else and copy it directly into my script.

    But if someone asked me to explain each line of the code, I will not be confident enough to answer it. Plus if someone finds out that I copied it from a CPAN module, then I would be in trouble because I will be violating our 'policy' and it would be considered as plagiarism, right?

    In fact, the policy is really weird because all open source codes need to be reviewed first by our senior developers therefore it will take time to be able to install and implement this module.

    And as someone mentioned, if I 'copied' a small snippet from the web, then it would be fine because it is just 'small'. So, I agree the policy is weird.
      "That is true, I could just copy the module and rename it as something else and copy it directly into my script."

      Don't even rename it. Dump it in any directory you feel fit and use lib.

      "Plus if someone finds out that I copied it from a CPAN module, then I would be in trouble because I will be violating our 'policy' and it would be considered as plagiarism, right?"

      And now you make it sound like it's a school/homework project. The module in question is licensed under the same terms as Perl, so if using Perl is considered plagiarism, yes.

      "And as someone mentioned, if I 'copied' a small snippet from the web, then it would be fine because it is just 'small'."

      The size of the snippet doesn't matter. If you don't know what it does exactly, the security issue still applies. I'd personally trust CPAN modules more than random "snippets".

      --
      b10m
        Hi,

        Those are good points! I will keep them in mind. Thanks!