Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by Lady_Aleena (Priest)
on Jun 11, 2020 at 07:44 UTC ( [id://11117935]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    # This is the index for <dir>.
    ...
        story($page_fh, { 'doc magic' => $magic, 'line magic' => $magic })
    +;
      }
    );
    
  2. or download this
    sub base_menu {
      my %opt = @_;
    ...
    
      return @file_lines > 0 ? \@file_lines : undef;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-19 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found