in reply to Re^2: Cava Packager quick question
in thread Cava Packager quick question
Could you not set a registry entry with "perl script.pl" vs "script.exe" when you install your script? Another thing you might do is set the associations so that .pl files are opened with the perl interpreter (just say "script" and away you go). You could also place a batch file in the directory to launch whatever style you've installed (run startscript.bat).
I'm not really sure how $0 helps you there however... you'd have to run your application to populate $0 in the first place, and at that point you're already running the code so you must have found it. Chicken vs Egg.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Cava Packager quick question
by rmflow (Beadle) on Mar 26, 2010 at 07:41 UTC | |
by Anonymous Monk on Mar 26, 2010 at 08:16 UTC |