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

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

by Lady_Aleena (Priest)
on May 30, 2020 at 19:37 UTC ( [id://11117509]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Collapsing smaller scripts into a larger one, request for comment
in thread Collapsing smaller scripts into a larger one, request for comment

I should have had that in already! Thank you for the reminder. I did it just a tad differently, but the same result.

my $heading = q(Lady Aleena's collections); my $collection_file = "$collections_dir/index.txt"; if ( $collection && grep { $collection eq $_ } @collections ) { # I don't like the next line. $heading = q(Lady Aleena's ).lc "$collection collection"; $collection_file = "$collections_dir/$collection.txt"; } $collection_file =~ s/ /_/g; open(my $collection_fh, '<', $collection_file) || die $!;

My OS is Debian 10 (Buster); my perl versions are 5.28.1 local and 5.8.8 on web host.

Version control is a non-issue, I do not use it.

No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena
  • Comment on Re^4: Collapsing smaller scripts into a larger one, request for comment
  • Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2025-11-14 00:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (70 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.