Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Appconfig module question

by karlgoethebier (Abbot)
on Dec 15, 2017 at 16:57 UTC ( [id://1205602]=note: print w/replies, xml ) Need Help??


in reply to Appconfig module question

"...using the correct module..."

I don't know. But perhaps you can abuse another? Some untested stuff:

#!/usr/bin/env perl use strict; use warnings; use Config::Tiny; use feature qw(say); my $config = Config::Tiny->read(q(eatalian.cfg)); my $var = $config->{_}->{VAR}; my $amb = $config->{_}->{AMB}; my $dirske = qq($var$amb); say $dirske; my $script = qq($dirske/script.sh); say $script; __END__

Best regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 13:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found