Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Open an application from windows registry

by Lotus1 (Vicar)
on Feb 26, 2017 at 16:51 UTC ( [id://1182890]=note: print w/replies, xml ) Need Help??


in reply to Open an application from windows registry

According to the Examples section at the documentation for Win32::TieRegistry you can use or die() statements when fetching the key values. It can give you good clues to what has happened and where the program has failed. Also, printing out the value of $mykeyval2 before the system() function attempts to run it is a good idea for debugging.

$diskKey= $Registry->{"LMachine/System/Disk/"} or die "Can't read LMachine/System/Disk key: $^E\n"; $data= $key->{"/Information"} or die "Can't read LMachine/System/Disk//Information value: $^E\n +";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-20 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found