in reply to Cross-Platform code
I have the info I need to get rid of my path separator variable and probably to stop editing the #! line every time I copy the code to Windows.
I can move my module to one of the standard directories from @INC.
I still have to edit my config. file when I move the code, though. That's actually not too much of a burden, but I think I may have found my solution in the %ENV variable SERVER_SOFTWARE: on the Linux server it shows Apache/2.0.55 (Unix) ... and on the Windows server it shows Apache/2.0.55 (Win32) ... ... That'll work :D
-- -- GhodMode
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cross-Platform code
by acid06 (Friar) on Feb 06, 2006 at 03:15 UTC | |
by GhodMode (Pilgrim) on Feb 06, 2006 at 03:23 UTC | |
by glasswalk3r (Friar) on Feb 06, 2006 at 18:28 UTC |