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

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

by Lady_Aleena (Curate)
on May 30, 2020 at 19:37 UTC ( #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
Node Status?
node history
Node Type: note [id://11117509]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2020-09-20 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (120 votes). Check out past polls.

    Notices?