Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by perlfan (Vicar)
on Jun 13, 2020 at 20:07 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118031]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 22:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found