SCIENTIFIC-LINUX-USERS Archives

November 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
ToddAndMargo <[log in to unmask]>
Reply To:
ToddAndMargo <[log in to unmask]>
Date:
Mon, 23 Nov 2015 14:58:35 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
>>    Original Message
>> From: ToddAndMargo
>> Sent: Sunday, November 22, 2015 23:00
>> To: [log in to unmask]
>> Subject: Perl window question
>>
>> Hi All,
>>
>> I am trying to teach myself Perl. I am also trying to
>> get away from Zenity.
>>
>> Any of you guys have a favorite method of creating a
>> windows from Perl that is SL7 friendly (meaning the
>> modules are available)?
>>
>> Many thanks,
>> -T
>>
>

On 11/23/2015 07:04 AM, [log in to unmask] wrote:
> By window I assume you mean X11
> In that case look at Perl/TK there are several great modules that can help you, that's the classic method although most people just do web interfaces now‎.
> Also if you would like I could suggest some books to read that would help you a lot.
> I'm a pretty heavy Perl programmer my self and am always happy to help any one who wants to learn Perl.‎
> One thing I will advise it seems pretty abstract at first but learn how anonymous references work in Perl because they are really the key to unlocking the true power of the whole language, I always consider it as the key piece of knowledge that separates Perl scripters from a Perl programmer.
>

Hi Prmarino,

I will look up Perl/TK.

"anonymous references"? Is that the mysterious "->" thingy?

      $ua = LWP::UserAgent->new;
      $ua->timeout ( MaxTime1 );
      $ua->show_progress;

Can you point me to a good web page to "finally" figure out
what that is?

Thank you for helping me with this!
-T

ATOM RSS1 RSS2