Re: Fruitbasket in Perl and Win32::GUI, OO Style
- From: "Octavian Rasnita" <orasnita@xxxxxxxxx>
- To: <programmingblind@xxxxxxxxxxxxx>
- Date: Sat, 13 Oct 2007 11:35:29 +0300
Sorry but I think I didn't understand the question. I don't understand what
you mean by "idiomatic".
And yes, I remember that the FruitBasket in Perl with Win32::GUI was put in
the section of languages for the web, which is not correct, and I already
told that.
FruitBasket versions in perl using Win32::GUI and WXPerl should be put in
the section of languages for desktop programs, because in those programs
perl is used as a desktop program, and FruitBasket made as a CGI program
should be put in the section of languages for the web, because that program
is one for the web, just like the one made in Javascript.
And one more thing, it is important to let the users know that perl can be
used as a language for desktop programs and as a language for the web
programs, while other languages cannot, or at least for the moment there are
no FruitBasket demos made in those languages.
Octavian
----- Original Message -----
From: "Veli-Pekka Tätilä" <vtatila@xxxxxxxxxxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Saturday, October 13, 2007 12:19 AM
Subject: Re: Fruitbasket in Perl and Win32::GUI, OO Style
Hi Octavian,
About the Win32::GUi version of Fruit Basket in Perl.
Or maybe I simply missed it, since I only looked at the link names and
read the info blurb mentioning Perl being a server side lang. How
idiomatic code is that, by the way?
I have a bad, in terms of maintenance, habit of trying to code as
Perlishly and concisely I can. So one thing I've gottten lately into OO
Perl are initializing the fields of an object by assigning to a hash
slice. Like this (untested):
@$object{qw|field1 field2|} = (3.14, 42); # whatever.
In stead of using up two precious statements and the deref arrow.
--
With kind regards Veli-Pekka Tätilä (vtatila@xxxxxxxxxxxxxxxxxxxx)
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila
Octavian Rasnita wrote:
I sent a version made with Win32::GUI in perl, and one in perl as a
server
side language, but maybe they are lost...
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind
__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind
- Follow-Ups:
- Re: Fruitbasket in Perl and Win32::GUI, OO Style
- From: inthaneelf
- References:
- Fruitbasket Criteria Down, More Langs and Libs
- From: Veli-Pekka Tätilä
- Re: Fruitbasket Criteria Down, More Langs and Libs
- From: Octavian Rasnita
- Re: Fruitbasket in Perl and Win32::GUI, OO Style
- From: Veli-Pekka Tätilä
Other related posts:
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
- » Re: Fruitbasket in Perl and Win32::GUI, OO Style
Hi Octavian,
About the Win32::GUi version of Fruit Basket in Perl.
Or maybe I simply missed it, since I only looked at the link names and
read the info blurb mentioning Perl being a server side lang. How
idiomatic code is that, by the way?
I have a bad, in terms of maintenance, habit of trying to code as
Perlishly and concisely I can. So one thing I've gottten lately into OO
Perl are initializing the fields of an object by assigning to a hash
slice. Like this (untested):
@$object{qw|field1 field2|} = (3.14, 42); # whatever.
In stead of using up two precious statements and the deref arrow.
--
With kind regards Veli-Pekka Tätilä (vtatila@xxxxxxxxxxxxxxxxxxxx)
Accessibility, game music, synthesizers and programming:
http://www.student.oulu.fi/~vtatila
Octavian Rasnita wrote:
I sent a version made with Win32::GUI in perl, and one in perl as a serverside language, but maybe they are lost...
__________ View the list's information and change your settings at http://www.freelists.org/list/programmingblind
- Re: Fruitbasket in Perl and Win32::GUI, OO Style
- From: inthaneelf
- Fruitbasket Criteria Down, More Langs and Libs
- From: Veli-Pekka Tätilä
- Re: Fruitbasket Criteria Down, More Langs and Libs
- From: Octavian Rasnita
- Re: Fruitbasket in Perl and Win32::GUI, OO Style
- From: Veli-Pekka Tätilä