Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Expanding environment variables from ini file

by pryrt (Abbot)
on Aug 27, 2019 at 13:41 UTC ( [id://11105118]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -l
    # in reponse to https://perlmonks.org/?node_id=11105105
    ...
    package1=pack_test
    package1_home=%PROJECT_HOME%%package1%
    subtemp=%TEMP%\subdir
    
  2. or download this
    PROJECT_HOME=D:\Scripts\Projectname\
    package1=pack_test
    package1_home=D:\Scripts\Projectname\pack_test
    subtemp=C:\Users\pryrt\AppData\Local\Temp\subdir
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11105118]
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: (8)
As of 2024-04-23 12:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found