Re: Possibly useful script for Glade users
- From: "Matthew Braid" <ptkperl mdb id au>
- To: gtk-perl-list gnome org
- Subject: Re: Possibly useful script for Glade users
- Date: Thu, 23 Nov 2006 16:47:51 +1000
Hi,
Whoops - that was a bit of code I didn't clean up. Originally there
was a lot more text being printed there, and rather than splitting
strings into pieces I often fall back to printf so I can put it all in
parenthesis so it all indents nicely :)
MB
On 11/23/06, Sergei Steshenko <sergstesh yahoo com> wrote:
--- Sergei Steshenko <sergstesh yahoo com> wrote:
>
> --- Matthew Braid <ptkperl mdb id au> wrote:
>
>
> > printf("%s %s %s %s\n",
> > $desc->[1], $desc->[2], $desc->[0], $handler);
>
>
>
> :-) - the immortal "C"-school influence on Perl :-)
>
> print $desc->[1], $desc->[2], $desc->[0], $handler, "\n";
>
> would be more Perlish.
>
> Applications From Scratch: http://appsfromscratch.berlios.de/
>
>
>
> ____________________________________________________________________________________
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail beta.
> http://new.mail.yahoo.com
>
Actually, I should have written
print "$desc->[1], $desc->[2], $desc->[0], $handler\n";
Applications From Scratch: http://appsfromscratch.berlios.de/
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]