Look for tutorials on Perl/Tk
Google Perl/Tk
Here's an old one that is still good -> http://www.perl.com/pub/1999/10/perltk/
HTH
From: newbie01 perl
To: beginners
Sent: Thursday, 20 December 2012, 18:42
Subject: Tutorial for a menu driven per
On Fri, 21 Dec 2012 13:42:18 +1300
newbie01 perl wrote:
> Hi,
>
> Does anyone know of any great source/link for tutorials on menu
> driven Perl?
"Menu driven"?
You may need to be more specific.
Perhaps you mean terminal-based, using e.g. curses-based stuff?
Perhap
Hi,
Does anyone know of any great source/link for tutorials on menu driven Perl?
Thanks in advance.
Hi
There is an example available in the following location
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/trunk/squirrelmail/config/conf.pl?view=markup
its a recursive menu driven script. HTH.
--
Regards,
Mohan.
On 18/05/10 13:40, Steve Bertrand wrote:
On 2010.05.17 21:44
On 2010.05.17 21:44, Chetan wrote:
> Dear Perl Experts,
>
> I need a big favor & help for me to learn perl programming,
> I need to write menu to display (say Alpha, Beta, Gema) & store in
> variable var1, based on which option is selected, I need to display
> values in
Dear Perl Experts,
I need a big favor & help for me to learn perl programming,
I need to write menu to display (say Alpha, Beta, Gema) & store in
variable var1, based on which option is selected, I need to display
values in the next menu (if Alpha is selected A1, A2, A3 & so on) and
8/9/2009, "Shawn H. Corey" вы писали:
>Sorry, I don't know any good resources for Perl/Tk. When all else
>fails, try perlmonks http://perlmonks.org/
Perlmonks is great! I've already got the answer on my question. Thank
you for your advice again.
--
Regards,
Alex
--
To unsubscribe, e-mail: be
В Вск, 09/08/2009 в 15:30 -0400, Shawn H. Corey пишет:
> Mishustin Alexey wrote:
> > В Вск, 09/08/2009 в 07:40 -0400, Shawn H. Corey пишет:
> >> Mishustin Alexey wrote:
> >>> Hi,
> >>>
> >>> Another question about Perl-Tk.
> >> Try asking on the Beginners Perl/Tk list
> >> http://lists.cpan.org/s
Mishustin Alexey wrote:
В Вск, 09/08/2009 в 07:40 -0400, Shawn H. Corey пишет:
Mishustin Alexey wrote:
Hi,
Another question about Perl-Tk.
Try asking on the Beginners Perl/Tk list
http://lists.cpan.org/showlist.cgi?name=beginning_perl_tk
This mailing list seems to be dead; nothing but spam
В Вск, 09/08/2009 в 07:40 -0400, Shawn H. Corey пишет:
> Mishustin Alexey wrote:
> > Hi,
> >
> > Another question about Perl-Tk.
>
> Try asking on the Beginners Perl/Tk list
> http://lists.cpan.org/showlist.cgi?name=beginning_perl_tk
This mailing list seems to be dead; nothing but spam for the
В Вск, 09/08/2009 в 07:40 -0400, Shawn H. Corey пишет:
> Mishustin Alexey wrote:
> > Hi,
> >
> > Another question about Perl-Tk.
>
> Try asking on the Beginners Perl/Tk list
> http://lists.cpan.org/showlist.cgi?name=beginning_perl_tk
OK, thank you.
--
Regards,
Alex
--
To unsubscribe, e-mail
Mishustin Alexey wrote:
Hi,
Another question about Perl-Tk.
Try asking on the Beginners Perl/Tk list
http://lists.cpan.org/showlist.cgi?name=beginning_perl_tk
--
Just my 0.0002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about co
Hi,
Another question about Perl-Tk.
I need to make context-menus with 'Copy' and 'Paste' commands for
'entry' widgets. I found the following syntax for it.
my $popup = $mwindow->Menu(
-tearoff=> 0,
-menuitems => [
-> Well, I tested your script. It gains appreciable memory at each menu
-> invocation. My deep cascading example, stays steady in memory use.
sigh. yes, i just observed this myself w/ "top".
-> ( And as a side note, this is where using
-> strict comes into play. it
On 02/17/2008 12:08:40 PM, zentara wrote:
-> Yeah, dynamically generated menus would be the way to go,
-> but I would watch out for memory gains everytime you invoke the menu.
-> Tk isn't very good about object cleanup.
i will remember and look into this.
-> Another problem w
from zentara:
-> Now you may not see the usefulness of the entryconfigure or the cget,
-> but what if you had a more complex menu, and needed to dynamically
-> grey out items?
That is exactly what i did (the cascading menus are a recursive tree,
with several hundred+ total entries dy
MK wrote:
Amazingly, what worked in the end was simply adding
-state=> 'disabled'
into the actual $menu->command, hence avoiding the documented
"entryconfigure" method or cget altogether
but if anyone has any patience left could you explain:
my $state
Amazingly, what worked in the end was simply adding
-state=> 'disabled'
into the actual $menu->command, hence avoiding the documented
"entryconfigure" method or cget altogether
but if anyone has any patience left could you explain:
my $state = ($count++ & 1) ?
On 02/12/2008 12:49:30 PM, kens wrote:
-> On Feb 12, 9:48 am, [EMAIL PROTECTED] (Mk) wrote:
-> > sorry, zentara, but with my perl 5.8.8 this script first produces:
-> >
-> > Bareword "Mainloop" not allowed while "strict subs" in use at
-> > ./Tkmenuentryconfigure.pl line 25
-> >
-> > And even afte
On Feb 12, 9:48 am, [EMAIL PROTECTED] (Mk) wrote:
> sorry, zentara, but with my perl 5.8.8 this script first produces:
>
> Bareword "Mainloop" not allowed while "strict subs" in use at
> ./Tkmenuentryconfigure.pl line 25
>
> And even after i delete "use strict" i now get:
>
> Useless use of a const
MK wrote:
>
zentara wrote:
>>
[EMAIL PROTECTED] (MK) wrote:
no matter where i use:
$menu->entryconfigure(#,"disabled);
i get:
Can't locate object method "entryconfigure" via package
"Tk::Menu::Cascade"
unless i use it on a non-existent $men
enuentryconfigure.pl
line 25
I presume it did work for you at some point?
I also notice from Tk::Menu "BUGS At present it isn't possible to use
the option database to specify values for the options to individual
entries."
I have gotten around this by regenerating the menus
no matter where i use:
$menu->entryconfigure(#,"disabled);
i get:
Can't locate object method "entryconfigure" via package
"Tk::Menu::Cascade"
unless i use it on a non-existent $menu, in which case i get:
Can't call method "entryconfigure"
[EMAIL PROTECTED] wrote:
Is there any easy to customize GUI-based menu-ing script for UNIX? I
currently have a text-base menu program for gluing my applications, and I
am interested in putting in revising it to a GUI-based (for a change).
Currently I am looking at aumenu, which according to
CORRECTION: Perl/Tk?
-Original Message-
From: Timothy Johnson
Sent: Thursday, August 25, 2005 11:34 AM
To: [EMAIL PROTECTED]; beginners@perl.org
Subject: RE: GUI-based menu-ing script for UNIX
That all depends on how involved you want this project to be. Have you
looked at Tk
That all depends on how involved you want this project to be. Have you
looked at Tk?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 11:24 AM
To: beginners@perl.org
Subject: GUI-based menu-ing script for UNIX
Is there any easy to
Is there any easy to customize GUI-based menu-ing script for UNIX? I
currently have a text-base menu program for gluing my applications, and I
am interested in putting in revising it to a GUI-based (for a change).
Currently I am looking at aumenu, which according to the documentation, was
Hi everyone, I got stuck with the inability of Setupsup::EnumChildWindows or
Setupsup::GetWindowProperties to generate a list of available choices in a
regular menu (the one you get when you do 'open file' for example). I do not
know a thing about MFC, and perl/windows integration is n
> Hi: I have created a perl cgi script to grab two string
> inputs from users. The script shown below expects the user to
> type in the value. I would like to change this and give the
> user a pulldown menu to pick from a list of items. Could
> somebody provide help with
Hi: I have created a perl cgi script to grab two
string inputs from users. The script shown below
expects the user to type in the value. I would like to
change this and give the user a pulldown menu to pick
from a list of items. Could somebody provide help with
what I need to change
> Subject: Re: A simple text or GUI-based menu script
> Date: Sat, 10 Jul 2004 07:43:17 -0400
> From: zentara <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
>
> I have very little experience with getting Perl running on Windows.
> But it seems it should run because it
how do I get all thread for below subject:
Re: A simple text or GUI-based menu script
thanks,
Marco.
__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
--
To unsubscribe, e-mail: [EMAIL
don't know why, even though I changed dir to
share. so I can't run your script.
could you help?
regards,
Marco.
> --- zentara <[EMAIL PROTECTED]> wrote:
> > On Thu, 08 Jul 2004 09:41:02 -0400, zentara
> > <[EMAIL PROTECTED]>
> > wrote:
> >
>
[EMAIL PROTECTED] wrote:
> Hello,
>
> This is the current state of my text-based Perl "menu" script. It
> pretty much does everything I want with the exception of colors (two
> of my highly influential users want colors). I will therefore
> appreciate any help or
Hello,
This is the current state of my text-based Perl "menu" script. It pretty
much does everything I want with the exception of colors (two of my highly
influential users want colors). I will therefore appreciate any help o
rks the beginning of another. I have two
question.
1./ Where can I locate a text or GUI-based menu program in Perl to bundle
together a set of scripts and program.
That is, something that will allow me to create a menu based system for
in-house use. For example, a user selects option 1 to backup fi
On Fri, 26 Mar 2004 11:04:45 +0530, jaffer wrote:
> I created the attached sub menu in CGI using Tables.
>
> In that fig, Client Tools is the Main Menu and when I clicked on it the sub
> menu appears as above.
Mallik,
I am sorry to tell you that you have chosen the wrong fo
Dear Friends,I created the attached sub menu in CGI
using Tables.In that fig, Client Tools is the Main Menu and when I
clicked on it the sub menu appears as above.
Now I want the edges to be curved as
follows.
Is it possible to curve the edges as show above. I have
created the sub menu
In article <[EMAIL PROTECTED]>, Phan Ros wrote:
> Hi, I am taking perl at school.
>
>
>
> I need help to create a simple menu with input of a( current date),
> b(users currently log in), c(name of working directory), and d(contents of
> the working directory).
A
On Tue, 2003-07-22 at 11:35, Phan Ros wrote:
> Hi, I am taking perl at school.
>
>
>
> I need help to create a simple menu with input of a( current date), b(users
> currently log in), c(name of working directory), and d(contents of the
> working directory
the format of the menu.
2. ask the user for the menu option / create a scalar to catch this response.
3. setup if else to perform desired output based on user input.
Read up on date and time its tricky.
If your in the states - Get "Perl for Dummmies" I have a copy and refer to it a
On Tue, 22 Jul 2003 11:35:16 -0600, Phan Ros wrote:
> I need help to create a simple menu with input of a( current date), b(users
> currently log in), c(name of working directory), and d(contents of the
> working directory).
Good, we would love to help you... yet we are not here t
Hi, I am taking perl at school.
I need help to create a simple menu with input of a( current date), b(users
currently log in), c(name of working directory), and d(contents of the
working directory).
Thanks
Angkor
>
> Hi, I am taking perl at school.
Good for you, I wish my school had it when I was there.
>
>
>
> I need help to create a simple menu with input of a( current
> date), b(users currently log in), c(name of working
> directory), and d(contents of the working dire
Hi Dylan
"Dylan Boudreau" <[EMAIL PROTECTED]> wrote in message
004c01c2b8cd$0920dbb0$0400a8c0@dylan">news:004c01c2b8cd$0920dbb0$0400a8c0@dylan...
> I am trying to make a small menu for a script and the options are 1 or 2
> or 9. I have it written like this
&
Thanks everyone, for some reason a regexpr never came to mind.
Good thing its Friday,
Dylan
-Original Message-
From: Dan Muey [mailto:[EMAIL PROTECTED]]
Sent: January 10, 2003 1:35 PM
To: Dylan Boudreau; [EMAIL PROTECTED]
Subject: RE: menu
You need a regular expression like
Until
extra stuff
Dan
-Original Message-
From: Dylan Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 11:24 AM
To: [EMAIL PROTECTED]
Subject: menu
I am trying to make a small menu for a script and the options are 1 or 2 or 9. I have
it written like this
until ($s
;
}
hope that helps.
> -Original Message-
> From: Dylan Boudreau [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 12:24 PM
> To: [EMAIL PROTECTED]
> Subject: menu
>
>
> I am trying to make a small menu for a script and the options
> are 1 or 2 or 9. I have it wr
Dylan Boudreau wrote:
> I am trying to make a small menu for a script and the options are 1
> or 2 or 9. I have it written like this
>
> until ($selection == '1|2|9'){
> do some stuff
> }
>
>
> and it wont work. I know it is something simple but I
I am trying to make a small menu for a script and the options are 1 or 2
or 9. I have it written like this
until ($selection == '1|2|9'){
do some stuff
}
and it wont work. I know it is something simple but I am a little
simple myself today and don't know what I
Hi,
Not sure if 'Text Menu Telnet App' is the correct nomenclature, hopefully
you know what I mean, one of those old style apps that supported VT clients.
I'm very much a newbie and have strung something together but I'm not too
happy with the way I'm doing menus,
ute ||
die "Could not execute SQL statement ... maybe invalid?";
#Output database results to pop up menu
print "";
while ( my @row = $sth->fetchrow_array() ) {
print "$row[0]\n";
}
print "\n";
$sth->finish;
$dbh->disconnect;
-Or
David Birkbeck wrote:
> Can someone help me with creating a script to return certain information from a
>Postgres database to a drop down box on a webpage?
What fails ?
> #!/usr/bin/perl
>
use strict;
use warnings;
> use CGI;
> use DBI;
>
> #Define connection values
> $DBSource = 'dbi:P
pare($sqlstatement);
$sth->execute ||
die "Could not execute SQL statement ... maybe invalid?";
#Output database results to pop up menu
;
while ( my @row = $sth->fetchrow_array() )
{
$row[0];
}
;
;
$sth->finish;
$dbh->disconnect;
Jay Grant wrote:
>
> Hi,
Hello,
> Please forgive this VERY basic perl question .. but I am trying to write a
> perl menu script but I can't seem to get the commands to run. I can get a
> normal print to work, but not the unix commands (date, who, etc.) Here is
> th
Made minor changes:
#!perl -w
my $date = localtime(time);
while ( 1 ) {
print "\nCOMMAND MENU\n";
print "\n a. Current date and time\n";
print "\n b. Users currently logged in\n";
print "\n c. Name of the worki
On Friday, July 26, 2002, at 10:56 , Jay Grant wrote:
[..]
> what am I doing wrong?
>
> #!/usr/local/bin/perl
> $date = "/usr/bin/date";
the double quotes there make that a 'string' just as
my $date = "that really cute one with the big tracks of land";
what you want to do is 'execute'
Kevin Old wrote:
>
> Hello all,
Hello,
> What I'd like to do is create a popup menu on a web page that
> has the hours 00-59 in it. Thing is, the only way I can come
> up to do it is by writing out something like below..and then
> putting a reference to this ar
ew and could be dead wrong. What does the list say?
Regards
Langa
> -Original Message-
> From: Kevin Old [mailto:[EMAIL PROTECTED]]
> Sent: 10 June 2002 04:47 PM
> To: [EMAIL PROTECTED]
> Subject: Hours popup menu
>
>
> Hello all,
>
> What I'd like to
doh.. for got the d
... sprintf ( "%02d", $_ ) ..
it's going to be a tiresome day.
> -Original Message-
> From: Kevin Old [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 10, 2002 11:50 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Hours popup menu
>
>
ECTED]> wrote:
> @hoursvals = map { sprintf("%02", $_) } (00 .. 59);
>
> > -Original Message-
> > From: Kevin Old [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 10, 2002 10:47 AM
> > To: [EMAIL PROTECTED]
> > Subject: Hours popup menu
> >
PROTECTED]>
Sent: Monday, June 10, 2002 10:46 PM
Subject: Hours popup menu
> Hello all,
>
> What I'd like to do is create a popup menu on a web page that has the
hours 00-59 in it. Thing is, the only way I can come up to do it is by
writing out something like below..and then
@hoursvals = map { sprintf("%02", $_) } (00 .. 59);
> -Original Message-
> From: Kevin Old [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 10, 2002 10:47 AM
> To: [EMAIL PROTECTED]
> Subject: Hours popup menu
>
>
> Hello all,
>
> What I'
Hello all,
What I'd like to do is create a popup menu on a web page that has the hours 00-59 in
it. Thing is, the only way I can come up to do it is by writing out something like
below..and then putting a reference to this array in the code for the popup menu.
@hoursvals = (00 01
> -Original Message-
> From: Dermot Paikkos [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 26, 2001 6:48 AM
> To: [EMAIL PROTECTED]
> Subject: Tk or menu based user interface.
>
>
> Hi Perl gurus,
> I am trying to do a smallish script that will run once
Hi Perl gurus,
I am trying to do a smallish script that will run once users login to a
UNIX server. I want the users to be presented with a menu of
options so they can perform some tasks without giving them
complete access to the system.
Every where I look I see TK as the answer. So I popped
Hi
I am finding out handle to a window and menu of that window. In below
mentioned script I am finding window with title "PCE - [api-getmenu]" and
printing its handle and handle to it's menu.
My problem is every time I open the window and run the program,it gives
different handle
Hi, I would like to do a dynamic menu in Perl Tk ie I would like to display all
available drive in my computer dynamically because now it has been hard written.
(A,B,C,D,E,F,G,H,I)
How I can do this.
My code:
sub makemenu{
my $menubar = $mw->Menu(-type =>
68 matches
Mail list logo