Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Collapsing smaller scripts into a larger one, request for comment

by perlfan (Vicar)
on Jun 13, 2020 at 20:07 UTC ( #11118031=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    # use lib '../files/lib';
    # Base::Page->page( code => \&my::site::Program::get_data, story => q{
    +Util::StoryMagic} );
    #
    
  2. or download this
    # in framework route handing
    require q{path/to/Programs.pl};
    my $data = my::site::Programs->get_data();
    #...now do something with $data
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2021-04-19 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?