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

Re^2: Where to put data that goes with a module?

by Lady_Aleena (Priest)
on Aug 26, 2020 at 18:28 UTC ( #11121111=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Random::Color;
    use v5.10.0;
    ...
    my $directory = module_dir('Random::Color');
    my @Crayola_crayons = fancy_open("$directory/Crayola_crayon_colors.txt
    +");;
    my @MandMs          = fancy_open("$directory/MandMs_colors.txt");
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2023-03-26 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?