question on software development
--000e0cd17e7c86be340481034b9f
Content-Type: text/plain; charset=ISO-8859-1
OK, suppose I develop a Perl application. I want to create an icon for the
program so that a user may download the program and start it in the GUI by
double-clicking on the icon.
How does one go about doing it?
TIA,
Anjan
--
=============================
anjan purkayastha, phd *
research associate *
fas center for systems biology, *
harvard university *
=============================
--000e0cd17e7c86be340481034b9f--
Re: question on software development
On 2010.03.04 20:04, ANJAN PURKAYASTHA wrote:
> OK, suppose I develop a Perl application. I want to create an icon for the
> program so that a user may download the program and start it in the GUI by
> double-clicking on the icon.
> How does one go about doing it?
Research Associate at Harvard University?
Call Bill Gates, he'll show you the way.
Steve
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Fwd: Re: question on software development
On 2010.03.04 21:34, ANJAN PURKAYASTHA wrote:
> Are you joking? This was supposed to be a serious question.
I'll answer it again:
- right-click on your desktop
- click 'create shortcut'
- click 'Browse'
- locate the installation package that contains your program from within
your network
- click 'Next'
- type a name for the shortcut, and click 'Finish'
or:
- ensure that each user's pc that will run the program has the proper
version of Perl installed
- ensure that Windows has the appropriate file extension associations
fixed to the perl binary
- create a picture
--- either
- associate your picture to a shortcut to the program, or;
- associate your picture to a file extension that is unique
or:
ask a question that has some code in it. A Research Associate from
Harvard wouldn't be asking questions this way on this list.
Steve
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: question on software development
ANJAN PURKAYASTHA wrote:
> OK, suppose I develop a Perl application. I want to create an icon for the
> program so that a user may download the program and start it in the GUI by
> double-clicking on the icon.
> How does one go about doing it?
It sounds like 1) you want to put your Perl application into an
installable package, and 2) when installed, the installer should create
a shortcut on the desktop (?).
I use Perl from the command-line, but have looked at Perl GUI stuff
occasionally over the years. The key will be finding the right tool(s)
for your target operating system(s)/ desktop environment(s).
For Windows, I'd suggest ActiveState Perl:
http://www.activestate.com/
For Debian GNU/ Linux, I'd suggest the Apt package management system and
the Gnome desktop:
http://wiki.debian.org/Apt
http://pkg-gnome.alioth.debian.org/
HTH,
David
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: question on software development
On Friday 05 Mar 2010 06:27:51 David Christensen wrote:
> ANJAN PURKAYASTHA wrote:
> > OK, suppose I develop a Perl application. I want to create an icon for
> > the program so that a user may download the program and start it in the
> > GUI by double-clicking on the icon.
> > How does one go about doing it?
>
> It sounds like 1) you want to put your Perl application into an
> installable package, and 2) when installed, the installer should create
> a shortcut on the desktop (?).
>
>
> I use Perl from the command-line, but have looked at Perl GUI stuff
> occasionally over the years. The key will be finding the right tool(s)
> for your target operating system(s)/ desktop environment(s).
>
> For Windows, I'd suggest ActiveState Perl:
>
> http://www.activestate.com/
>
Actually, Strawberry Perl is preferable over AS Perl:
http://strawberryperl.com/
<<<
A 100% Open Source Perl for Windows that is exactly the same
as Perl everywhere else. And with Perl 5.10.1 it gets even better!
>>>
> For Debian GNU/ Linux, I'd suggest the Apt package management system and
> the Gnome desktop:
>
> http://wiki.debian.org/Apt
>
> http://pkg-gnome.alioth.debian.org/
>
I can recommend what to do for Mandriva and other RPM-based distributions if
it helps.
Regards,
Shlomi Fish
--
------------------------------------------------------------ -----
Shlomi Fish http://www.shlomifish.org/
Funny Anti-Terrorism Story - http://shlom.in/enemy
Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.
Please reply to list if it's a mailing list post - http://shlom.in/reply .
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: question on software development
--0003255632d29e51f5048110bbd8
Content-Type: text/plain; charset=ISO-8859-1
Hi David and Shlomi,
Thank you very much for your feedback. I am indeed developing a Perl
application for which I would like to give the user a short-cut icon on the
desktop. I'll follow up on your helpful pointers. Most of my end-users are
molecular biologists who are averse to doing anything on the command line,
hence the question.
Steve my man,
Although I appreciate your taking the time to answer my question I must say
the tone of you mail was immature and unprofessional.
Firstly, you misunderstood my question and secondly not every question can
be framed in terms of "code".
Given that there are many experienced developers on this forum- my mail
requesting guidelines and pointers on developing GUI-based applications was
completely in line.
So my suggestion to you is (a) get rid of the Harvard-envy and (b) lighten
up.
Cheers all!
Anjan
On Fri, Mar 5, 2010 at 3:42 AM, Shlomi Fish <shlomif [at] iglu.org.il> wrote:
> On Friday 05 Mar 2010 06:27:51 David Christensen wrote:
> > ANJAN PURKAYASTHA wrote:
> > > OK, suppose I develop a Perl application. I want to create an icon for
> > > the program so that a user may download the program and start it in the
> > > GUI by double-clicking on the icon.
> > > How does one go about doing it?
> >
> > It sounds like 1) you want to put your Perl application into an
> > installable package, and 2) when installed, the installer should create
> > a shortcut on the desktop (?).
> >
> >
> > I use Perl from the command-line, but have looked at Perl GUI stuff
> > occasionally over the years. The key will be finding the right tool(s)
> > for your target operating system(s)/ desktop environment(s).
> >
> > For Windows, I'd suggest ActiveState Perl:
> >
> > http://www.activestate.com/
> >
>
> Actually, Strawberry Perl is preferable over AS Perl:
>
> http://strawberryperl.com/
>
> <<<
> A 100% Open Source Perl for Windows that is exactly the same
> as Perl everywhere else. And with Perl 5.10.1 it gets even better!
> >>>
>
> > For Debian GNU/ Linux, I'd suggest the Apt package management system and
> > the Gnome desktop:
> >
> > http://wiki.debian.org/Apt
> >
> > http://pkg-gnome.alioth.debian.org/
> >
>
> I can recommend what to do for Mandriva and other RPM-based distributions
> if
> it helps.
>
> Regards,
>
> Shlomi Fish
>
> --
> ------------------------------------------------------------ -----
> Shlomi Fish http://www.shlomifish.org/
> Funny Anti-Terrorism Story - http://shlom.in/enemy
>
> Deletionists delete Wikipedia articles that they consider lame.
> Chuck Norris deletes deletionists whom he considers lame.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>
--
=============================
anjan purkayastha, phd *
research associate *
fas center for systems biology, *
harvard university *
=============================
--0003255632d29e51f5048110bbd8--
Strawberry Perl capabilities?
Shlomi Fish wrote:
> Actually, Strawberry Perl is preferable over AS Perl:
> http://strawberryperl.com/
From memory, AS makes (commercial) Perl tools for creating stand-alone
Windows executables and single-file Windows Installer packages. I also
recall a Perl .NET toolchain. Does Strawberry Perl have any of these
capabilities? Must Strawberry Perl be installed first on end-users'
machines?
It's my understanding that Strawberry Perl provides a C compiler and a
working CPAN environment. This is well and good for pure Perl
applications, but I also write Perl software that drives GNU
command-line tools (ssh, tar, gzip, rsync, etc.) and/or is driven by
other GNU tools and/or Apache. I have found Win32 binaries for some of
the pieces, but only Cygwin seems to have everything I need. How does a
Strawberry Perl developer deal with these cases?
TIA,
David
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: question on software development
ANJAN PURKAYASTHA wrote:
> Steve my man,
> Although I appreciate your taking the time to answer my question I must say
> the tone of you mail was immature and unprofessional.
> Firstly, you misunderstood my question and secondly not every question can
> be framed in terms of "code".
> Given that there are many experienced developers on this forum- my mail
> requesting guidelines and pointers on developing GUI-based applications was
> completely in line.
> So my suggestion to you is (a) get rid of the Harvard-envy and (b) lighten
> up.
Another point is that nowadays, people can create dozens of gmail and yahoo accounts using false
names to post on mailing lists. Even so, many continue to state their affiliations or country of
origin up-front -- either by stating it in a signature or by having the ".ca" or ".jp" in our e-mail
addresses -- and it would be unfortunate if by doing so, we are pre-judged in anyway...
I always thought that anonymity was used by students to ask homework questions without their
professors/teachers finding out... :-) This almost makes anonymity seem like a good thing...
Anyway, well said, Anjan...
Ray
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: Strawberry Perl capabilities?
On Mar 5, 4:39=A0pm, dpchr... [at] holgerdanske.com (David Christensen)
wrote:
> Shlomi Fish wrote:
> > Actually, Strawberry Perl is preferable over AS Perl:
> >http://strawberryperl.com/
Shlomi,
If using AS, then simply install MinGW which gives you the missing
compiler and proper cpan setup. After that, AFAIK you'll have the
same functionality as Strawberry.
http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compil er_Suite
Likewise, if using Strawberry, you can install the PPM module.
Although, I don't know if it provides the GUI interface; it may only
use the command line.
I've not used Strawberry, but given the above info, why is Strawberry
preferred?
>
> =A0From memory, AS makes (commercial) Perl tools for creating stand-alone
> Windows executables and single-file Windows Installer packages. =A0I also
> recall a Perl .NET toolchain. =A0Does Strawberry Perl have any of these
> capabilities? =A0Must Strawberry Perl be installed first on end-users'
> machines?
You can install PAR::Packer and use the pp utility to package
standalone executables. However, that may not be as good as the
commercial AS tools.
>
> It's my understanding that Strawberry Perl provides a C compiler and a
> working CPAN environment. =A0This is well and good for pure Perl
> applications, but I also write Perl software that drives GNU
> command-line tools (ssh, tar, gzip, rsync, etc.) and/or is driven by
> other GNU tools and/or Apache. =A0I have found Win32 binaries for some of
> the pieces, but only Cygwin seems to have everything I need. =A0How does =
a
> Strawberry Perl developer deal with these cases?
I've never found the need to use cygwin. If cpan doesn't have the
required module, or if you really need the *nix tool, then install the
Windows port of the *nix GNU tools.
http://gnuwin32.sourceforge.net/
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: Strawberry Perl capabilities?
On Mar 6, 10:38=A0am, r... [at] i.frys.com (Ron Bergin) wrote:
> If using AS, then simply install MinGW which gives you the missing
> compiler and proper cpan setup. =A0After that, AFAIK you'll have the
> same functionality as Strawberry.
>
> http://www.mingw.org/wiki/HOWTO_Install_the_MinGW_GCC_Compil er_Suite
>
I probably should have mentioned that MinGW is in the AS repository,
so it's a simple install.
C:\>ppm install MinGW
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: question on software development
--000e0cd139541e2d330481377192
Content-Type: text/plain; charset=ISO-8859-1
I completely agree with you Raymond- we should not be pre-judged based on
our nationalities or institutional affiliations.
Also, IMHO, the only stupid question is the one that is not asked. Forum
members, especially beginners, should feel comfortable posting questions
without fear of ridicule.
Anjan
--
=============================
anjan purkayastha, phd *
research associate *
fas center for systems biology, *
harvard university *
=============================
--000e0cd139541e2d330481377192--
Re: question on software development
>>>>> "ANJAN" == ANJAN PURKAYASTHA <anjan.purkayastha [at] gmail.com> writes:
ANJAN> OK, suppose I develop a Perl application. I want to create an icon for the
ANJAN> program so that a user may download the program and start it in the GUI by
ANJAN> double-clicking on the icon.
Did I miss something? Where did you say "windows" and not OSX or X11?
How did the rest of the thread know it was Windows?
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn [at] stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: question on software development
Randal L. Schwartz wrote:
>>>>>> "ANJAN" == ANJAN PURKAYASTHA <anjan.purkayastha [at] gmail.com> writes:
>
> ANJAN> OK, suppose I develop a Perl application. I want to create an icon for the
> ANJAN> program so that a user may download the program and start it in the GUI by
> ANJAN> double-clicking on the icon.
>
> Did I miss something? Where did you say "windows" and not OSX or X11?
>
> How did the rest of the thread know it was Windows?
You didn't miss anything and unless there were private e-mail exchanges, the rest of the thread
didn't know, either. Seems the sequence of replies were:
- Steve somehow associated Harvard with Microsoft (no real reason behind it...)
- David and Shlomi gave several solutions: Microsoft, Debian, and rpm-based
- Anjan seemed satisfied [implying that the OS was one of the ones covered]
And I guess it is not that unreasonable to think that such information is unimportant -- that maybe
the solution is uniform across platforms. And unfortunately :-) Microsoft has the larger market
share...so it seems like the default...
Ray
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/
Re: question on software development
Randal L. Schwartz wrote:
>>>>>> "ANJAN" == ANJAN PURKAYASTHA <anjan.purkayastha [at] gmail.com> writes:
>
> ANJAN> OK, suppose I develop a Perl application. I want to create an icon for the
> ANJAN> program so that a user may download the program and start it in the GUI by
> ANJAN> double-clicking on the icon.
>
> Did I miss something? Where did you say "windows" and not OSX or X11?
>
> How did the rest of the thread know it was Windows?
Simple enough ;-)
*) If the user wants "clicking", its most likely Windows
*) If the user has a somewhat broken pre-install of perl, it's OSX
*) If the user haggles with a broken package managment, it's Linux
BTW, for making a simple setup.exe, i recommend Inno-Setup. It's not
very powerfull but gets its job done (and is easely scriptable, cause it
uses a simple text config).
LG
Rene
--
To unsubscribe, e-mail: beginners-unsubscribe [at] perl.org
For additional commands, e-mail: beginners-help [at] perl.org
http://learn.perl.org/