How to Find ,if already a environment variable is set in hash table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kraj123
    New Member
    • Aug 2007
    • 8

    How to Find ,if already a environment variable is set in hash table

    Hi,

    How to Find ,if already a environment variable is set in hash table in perl.

    Actually i want to check if a environmental variable in perl script, which is present in oracle database has been already set its path in hash table in perl.

    that is i have to query the database server and check whether it has been set as environment variable or not.

    so basically i want to check with if statment to sdatabase erver name and a loop to check for all variables present in perl by quering the database....to find those variables has been set as environment variable or not.....if present it should be in hash table....

    so i need the syntax and proper logic to test this......

    it would be great if anyone can help me out...
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    Please do not post your batch script here, nobody is going to rewrite your batch code into perl code.

    %ENV is where perl stores environment variables.

    Comment

    Working...