2009Q1 Grant Proposal: OPener Package

Category: Grants

Comments (5)

When OPener Chat was announced on use Perl, I took a look at the code, and was not thrilled.

I'd be extremely leery of funding this proposal for that reason. If the proposer were to resubmit the proposal with a trusted mentor on board, I think that'd be more enticing.

This doesn't seem to buy a whole lot over PAR, which can already create win32 executables which don't need a copy of libperl installed locally.

I rigged up a windows "installer" / launcher for a catalyst app last week. It looks something like this (running from the root of a strawberry portable stick perl) and does fine on a moderately locked-down system:

@echo off
set bindir=%~dp0
set bindir=%bindir:~0,-1%
mkdir "%APPDATA%\MyPersonalHomePage"
echo ...
echo Copying application to hard drive, please be patient ....
xcopy /E /C /Y /Q "%bindir%" "%APPDATA%\MyPersonalHomePage"
echo ...
echo Creating link in startup folder
echo ...
mkdir "%APPDATA%\..\Start Menu\Programs\Startup"
Shortcut.exe /R:7 /A:C /T:"%APPDATA%\MyPersonalHomePage\startmyphp.vbs" /F:"%APPDATA%\..\Start Menu\Programs\Startup\Start Personal Home Page Server.lnk"
echo Starting server, please be patient
ping -n 10 -w 1000 > nul

The VBS script referenced in the shortcut is this:

Set fso = CreateObject("Scripting.FileSystemObject")
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & fso.GetParentFolderName(wscript.ScriptFullName) & "\perlshell.bat"& Chr(34), 0
Set WshShell = Nothing

and the perlshell.bat launcher is this:

echo off
set bindir=%~dp0
set perlpath=%bindir%perl\bin
set buildpath=%bindir%\bin
set PATH=%PATH%;%perlpath%;%buildpath%
"%perlpath%\wperl.exe" "%bindir%MyPhp\script\myphp_server.pl" -p 35900
So my impression is that maybe this proposal is a problem

Yes, this technique is quick and dirty, and could do with a bit more love to make it generalise a bit better (and probably wrapped in an msi installer), but it suggests to me that the proposal is a solution in search of a problem.

We need generic applications not only for (windows), perl was born in unix and unix is it's home.

The bat (batch processing) aplication is for windows.

REGEDIT is used by windows, dont work well and unix don'use it.

If windows wants they can take whatever they want and adapting and selling.

His company started in 2001 developing with perl and they dont mention unix platform they say "the management software of win32 platform and so on"

Sign in to add comment