Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to distribute an example data file in a CPAN module

by jplindstrom (Monsignor)
on Feb 20, 2009 at 00:58 UTC ( [id://745244]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Your::Module;
    
    ...
    sub sample_db_file {
        file( file(__FILE__)->dir->absolute, "data", "sample.sql") . "";
    }
    
  2. or download this
    # Build.PL
    $builder->add_build_element('sql');
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-24 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found