An array like line that I do not understand

2006-06-16 Thread Alan_C
Hi, I've a flat file database of sorts. Each of the flat file has a keyword line as one of the first nine lines. A keyword line begins with: #: Here's a keyword line: #: building a linux kernel from source The enclosed Perl code uses a hash to store the name(s) of the particular flat

Re: Windows find what apps are opened

2006-06-16 Thread Dr.Ruud
Gallagher, Tim (NE) schreef: Please don't top-post. What I am looking for is to see what apps are opened not processes. So you need to find out how the Task Manager decides which processes are applications or part of applications. That seems to be a question for a windows newsgroup. --

Re: scoping problem with hash

2006-06-16 Thread Paul Johnson
On Tue, Jun 13, 2006 at 12:06:02PM -0700, Lawrence Statton wrote: Charles Clarkson wrote: @{ %$hash_ref }{ keys %kv_pairs } = values %kv_pairs; You can excise a little of the snyactic sugar there @$hash_ref{keys %kv_pairs} = values %kv_pairs; %hash = (%hash, %kv_pairs); hmmm,

Re: scoping problem with hash

2006-06-16 Thread Beginner
On 16 Jun 2006 at 12:15, Paul Johnson wrote: On Tue, Jun 13, 2006 at 12:06:02PM -0700, Lawrence Statton wrote: Charles Clarkson wrote: @{ %$hash_ref }{ keys %kv_pairs } = values %kv_pairs; You can excise a little of the snyactic sugar there @$hash_ref{keys %kv_pairs} =

PERL CGI drop down list

2006-06-16 Thread Mark Martin
Hi, does anybody have the correct syntax for using a drop down list. I'm using the object oriented type syntax for CGI. For example my text boxes are printed thus : $cgi = new CGI; print $cgi-input({-type=text,-name=textbox01,-class=textbox}) drop down list innormal html would be : select

About Encryption/ Decription

2006-06-16 Thread kilaru rajeev
Hi, Please tell me how can we encrypt or decript file. Please give me the information regarding this. Regards, Rajeev

RE: About Encryption/ Decription

2006-06-16 Thread Jeff Peng
Have you tried to search on CPAN? There are lots of modules for your requests there. From: kilaru rajeev [EMAIL PROTECTED] To: beginners@perl.org Subject: About Encryption/ Decription Date: Fri, 16 Jun 2006 16:29:09 +0530 Hi, Please tell me how can we encrypt or decript file. Please give me

Re: PERL CGI drop down list

2006-06-16 Thread Prabu Ayyappan
On 6/16/06, Mark Martin [EMAIL PROTECTED] wrote: Hi, does anybody have the correct syntax for using a drop down list. I'm using the object oriented type syntax for CGI. For example my text boxes are printed thus : $cgi = new CGI; print $cgi-input({-type=text,-name=textbox01,-class=textbox})

Re: scoping problem with hash

2006-06-16 Thread John W. Krahn
Beginner wrote: On 16 Jun 2006 at 12:15, Paul Johnson wrote: On Tue, Jun 13, 2006 at 12:06:02PM -0700, Lawrence Statton wrote: Charles Clarkson wrote: @{ %$hash_ref }{ keys %kv_pairs } = values %kv_pairs; You can excise a little of the snyactic sugar there @$hash_ref{keys %kv_pairs} =

Re: PERL CGI drop down list

2006-06-16 Thread Mr. Shawn H. Corey
On Fri, 2006-16-06 at 11:43 +, Mark Martin wrote: Hi, does anybody have the correct syntax for using a drop down list. I'm using the object oriented type syntax for CGI. For example my text boxes are printed thus : $cgi = new CGI; print

Re: PERL CGI drop down list

2006-06-16 Thread Chandru
Prabu Ayyappan wrote: On 6/16/06, Mark Martin [EMAIL PROTECTED] wrote: Hi, does anybody have the correct syntax for using a drop down list. I'm using the object oriented type syntax for CGI. For example my text boxes are printed thus : $cgi = new CGI; print

Re: About Encryption/ Decription

2006-06-16 Thread Prabu
kilaru rajeev wrote: Hi, Please tell me how can we encrypt or decript file. Please give me the information regarding this. Regards, Rajeev Try out with the modules available in http://search.cpan.org/~aar/Module-Crypt-0.04/Crypt.pm http://search.cpan.org/%7Eaar/Module-Crypt-0.04/Crypt.pm

Re: About Encryption/ Decription

2006-06-16 Thread Prabu
kilaru rajeev wrote: Hi, Please tell me how can we encrypt or decript file. Please give me the information regarding this. Regards, Rajeev Try out with the modules available in http://search.cpan.org/~aar/Module-Crypt-0.04/Crypt.pm Module::Crypt -- Prabu -- To unsubscribe, e-mail: [EMAIL

Re: defaults

2006-06-16 Thread Dr.Ruud
(Randal L. Schwartz) schreef: And I came up with this: $variable ||= 0; # all false values become 0 $variable = 1; # all true values become 1 How about this: ($variable ||= 0) = 1 ; or ($variable = 1) ||= 0 ; depending on whether you expect $variable to be false or

Re: scoping problem with hash

2006-06-16 Thread Mr. Shawn H. Corey
On Fri, 2006-16-06 at 12:15 +0200, Paul Johnson wrote: On Tue, Jun 13, 2006 at 12:06:02PM -0700, Lawrence Statton wrote: Charles Clarkson wrote: @{ %$hash_ref }{ keys %kv_pairs } = values %kv_pairs; You can excise a little of the snyactic sugar there @$hash_ref{keys

AW: DESTROY executed twice

2006-06-16 Thread Glaessl, Danilo
Thank you, that's it! Removing the exit call from DESTROY solves the problem. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tom Phoenix Gesendet: Mittwoch, 14. Juni 2006 18:15 An: Glaessl, Danilo Cc: beginners@perl.org Betreff: Re: DESTROY

Re: About Encryption/ Decription

2006-06-16 Thread Anthony Ettinger
interesting, has anybody had any success with this on nix and win32 platforms? On 6/16/06, Prabu [EMAIL PROTECTED] wrote: kilaru rajeev wrote: Hi, Please tell me how can we encrypt or decript file. Please give me the information regarding this. Regards, Rajeev Try out with the modules

Re: An array like line that I do not understand

2006-06-16 Thread Dave Gray
On 6/16/06, Alan_C [EMAIL PROTECTED] wrote: [snip] 1 'build' slack build slackbuild sbuild pkg 2 'build' slack build slackbuild sbuild pkg 3 'build' slack build slackbuild sbuild pkg 4 'kernel' slackware 2.6 kernel howto 5 'kernel' kernel compile install 2.6 6 'build' building a linux

Re: An array like line that I do not understand

2006-06-16 Thread Mr. Shawn H. Corey
On Thu, 2006-15-06 at 23:31 -0700, Alan_C wrote: 1 'build' slack build slackbuild sbuild pkg 2 'build' slack build slackbuild sbuild pkg 3 'build' slack build slackbuild sbuild pkg 4 'kernel' slackware 2.6 kernel howto 5 'kernel' kernel compile install 2.6 6 'build' building

Term::Readline

2006-06-16 Thread Jorge Almeida
Anyone knows some tutorial about using Term::Readline::Gnu? Or some article, somewhere? -- Jorge Almeida -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

Re: PERL CGI drop down list

2006-06-16 Thread Prabu
Mark Martin wrote: Thanks Prabu , Works great. I'm not having any luck finding good documentation on this so I'll throw 2 more questions at you if that's okay: Is there a method for setting the selected value as with the html below? Also, is it possible to display meaningful text instead of

Re: An array like line that I do not understand

2006-06-16 Thread Alan_C
On Friday 16 June 2006 09:02, you wrote: On 6/16/06, Alan_C [EMAIL PROTECTED] wrote: [snip] 1 'build'  slack build slackbuild sbuild pkg 2 'build'  slack build slackbuild sbuild pkg 3 'build'  slack build slackbuild sbuild pkg 4 'kernel'  slackware 2.6 kernel howto 5 'kernel'  

RE: Exec a script on one server that will exec other scripts on a different serv

2006-06-16 Thread Alan Reinhold
It would seem to be that the best solution here would be to have a server script that creates a tcp/ip socket and sites on a read on the socket, in which then the client connects to the server, sends a msg, and based on that msg, the server would execute the desired action. This would be a

Re: Term::Readline

2006-06-16 Thread Prabu
Jorge Almeida wrote: Anyone knows some tutorial about using Term::Readline::Gnu? Or some article, somewhere? Hello, There are some programs under directories eg/ and t/ in Term::Readline::Gnu module which includes many examples which this modules support. Also read the description about

Re: An array like line that I do not understand

2006-06-16 Thread Alan_C
On Friday 16 June 2006 09:02, you wrote: On 6/16/06, Alan_C [EMAIL PROTECTED] wrote: [snip] 1 'build' slack build slackbuild sbuild pkg 2 'build' slack build slackbuild sbuild pkg 3 'build' slack build slackbuild sbuild pkg 4 'kernel' slackware 2.6 kernel howto 5 'kernel'