Professional Web Applications Themes

List of sample Build::Module Build.PL - PERL Modules

Hi, I'm using Module::Build to create a install program for a Perl tool which has a .pm, .cgi and folder of .tmpl files. So far I've success with getting the .pm and .cgi files to install, and I've got the template folder to copy to blib but I've had no success with getting that template folder (using dat_files) to copy to the correct path after. I feel I'm fairly close but missing one minor thing. I didn't write a specific function, related to the dat files, as the files need no processing, only to be copied to a live folder. ...

Sponsored Links
  1. #1

    Default List of sample Build::Module Build.PL

    Hi,

    I'm using Module::Build to create a install program for a Perl tool
    which has a .pm, .cgi and folder of .tmpl files.

    So far I've success with getting the .pm and .cgi files to install,
    and I've got the template folder to copy to blib but I've had no
    success with getting that template folder (using dat_files) to copy to
    the correct path after.

    I feel I'm fairly close but missing one minor thing. I didn't write a
    specific function, related to the dat files, as the files need no
    processing, only to be copied to a live folder.

    I'm having a bit of trouble finding examples for this; is there a list
    of CPAN modules that makes use of Module::Build so that I could take a
    look at the Build.PL in hopes of getting a better grasp on how non-
    standard files are installed with the module?

    Thanks!
    Drew Krakowski

    Sponsored Links
    bumrecordingstudios@gmail.com Guest

  2. #2

    Default Re: List of sample Build::Module Build.PL


    <com> wrote in message
    ..
    .. 

    See the section "Adding new file types to the build process" in 'perldoc
    Module::Build::Cookbook' - it might help (though I'm not sure what you mean
    by a "live folder").

    Cheers,
    Rob

    Sisyphus Guest

  3. #3

    Default Re: List of sample Build::Module Build.PL

    Hi Rob, thanks for the reply.

    'live' folder just means the path in /mnt/net or /usr/local... (can't
    recall which), which is where the templates get written after they are
    temporarily copied into /blib (which incidentally they are copied in
    the correct structure).

    I've gone through the cookbook, and done those required tasks, I've
    made the dat_files, and then used add_build_element. So I assume I'm
    just missing something that forces the module to copy the template
    files from /blib to the final location.

    Cheers!
    Drew
     
    >
    > See the section "Adding new file types to the build process" in 'perldoc
    > Module::Build::Cookbook' - it might help (though I'm not sure what you mean
    > by a "live folder").[/ref]


    bumrecordingstudios@gmail.com Guest

  4. #4

    Default Re: List of sample Build::Module Build.PL


    <com> wrote in message
    news:googlegroups.com... 

    The section I referred to assumes that your dat files are going into perl's
    lib directory. If they're destined for a different location then that's
    covered in the "Adding new elements to the install process" section. Still
    ..... I guess you've been through that one, too.

    If you're satisifed that the cookbook is not covering the process correctly,
    then you could submit a bug report to
    http://rt.cpan.org/Public/Dist/Display.html?Name=Module-Build .

    I see there's a Module::Build mailing list (
    http://lists.cpan.org/showlist.cgi?name=module-build-general ) - perhaps
    there's some good help available there.

    Sorry - beyond that I can't really help. ( I avoid Module::Build wherever
    possible.)

    Cheers,
    Rob

    Sisyphus Guest

  5. #5

    Default Re: List of sample Build::Module Build.PL

    ah well, thanks for your help anyway.

    time to migrate to a different list.

    Cheers!
    Drew

    bumrecordingstudios@gmail.com Guest

Similar Threads

  1. Help with Module::Build
    By Fotios Lindiakos in forum PERL Modules
    Replies: 0
    Last Post: June 19th, 02:50 PM
  2. Report Build Forum and Wish List
    By walker25419 in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: March 1st, 03:34 PM
  3. Looking for a Win32 module ==> build a top-like utility
    By Philippe Perrin in forum PERL Modules
    Replies: 3
    Last Post: November 4th, 12:19 AM
  4. newbie webservices question - build errors in WeatherService sample app
    By will eichert in forum ASP.NET Web Services
    Replies: 5
    Last Post: September 8th, 01:57 PM
  5. Problems installing Module::Build
    By nodata in forum PERL Modules
    Replies: 0
    Last Post: August 30th, 04:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139