|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I am trying to create a cross platform Perl script and generate executable for several platforms including Windows, Linux and major UNIX vendors. My script tries to read configuration, where in UNIX\Linux it reads from an ini file and in Windows it read from the registry. IN order to read from the registry I am using the Win32::TieRegistry package. My problem is that during compilation of the Perl script into Linux and\or UNIX platform I get a warning message saying they do not know the Registry.pm module which makes sense. My question is how could I avoid these warnings ..... TIA, Ahaz |
|
#2
|
||||
|
||||
|
In Linux and Unix, Perl Scripts are executable... simply add the shebang line (you probably already have?).
As for your Windows Registry issues, why bother? Why not just have your perl script write settings to its own configuration file (ini? xml?) As a user, I don't trust a lot of apps that write to the registry...
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter! DevArticles Forum Moderator "The net is a waste of time, and that's exactly what's right about it." -- William Gibson |
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > Perl2exe question .... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|