Re: Assigning javascript variable to perl variable

2007-12-03 Thread yitzle
On 12/4/07, sivasakthi <[EMAIL PROTECTED]> wrote: > Hi all, > > How to assign the javascript variable to perl variable?? > > Thanks > Siva You don't? What are you trying to do? Are you outputting Javascript with Perl? Just print the variable's value. $var = 5; print "Variable = $var\n"; -- To u

Assigning javascript variable to perl variable

2007-12-03 Thread sivasakthi
Hi all, How to assign the javascript variable to perl variable?? Thanks Siva

Re: Was `readdir [...]' Comments on JK's script

2007-12-03 Thread reader
John W.Krahn <[EMAIL PROTECTED]> writes: >> I thought it might be because File::Find cds to the target dir then >> names like src dir or ./src ./dir fail. Just guessing > > OK, that's my mistake, as I said I didn't test it ... oops. :-) I guess you knew this from your smilie but to confirm ...

Re: External application

2007-12-03 Thread Eric Krause
Thanks Jeff! That got me looking in the right place. Cheers, Eric Jeff Pang wrote: On 12/3/07, Eric Krause <[EMAIL PROTECTED]> wrote: Hello all, Quick question. I would like to launch an external app and pass data to it. Can someone please tell me a good place to start looking for informati

Re: Was `readdir [...]' Comments on JK's script

2007-12-03 Thread John W . Krahn
On Monday 03 December 2007 15:19, [EMAIL PROTECTED] wrote: > John W.Krahn <[EMAIL PROTECTED]> writes: > > On Monday 03 December 2007 10:34, [EMAIL PROTECTED] wrote: > >> John W.Krahn <[EMAIL PROTECTED]> writes: > >> > If you want to incorporate the grep into the perl program then > >> > this may wo

Re: Gtk2-Perl!How to change color of the selection bar in widget Gtk2::SimpleList?

2007-12-03 Thread Daniel Kasak
To start with, you're better off using the gtk2-perl list for gtk2-perl-related questions. On Mon, 2007-12-03 at 10:57 -0800, robertospara wrote: > Hi.I found problem in Gtk2::Perl with module Gtk2::SimpleList. > I want to have selection bar in different colors.Not only orange but > red blue and

Re: Was `readdir [...]' Comments on JK's script

2007-12-03 Thread reader
John W.Krahn <[EMAIL PROTECTED]> writes: > On Monday 03 December 2007 10:34, [EMAIL PROTECTED] wrote: >> >> John W.Krahn <[EMAIL PROTECTED]> writes: >> > >> > If you want to incorporate the grep into the perl program then this >> > may work (UNTESTED): >> >> It works with 1 change and one caveat,

Re: Was `readdir [...]' Comments on JK's script

2007-12-03 Thread John W . Krahn
On Monday 03 December 2007 10:34, [EMAIL PROTECTED] wrote: > > John W.Krahn <[EMAIL PROTECTED]> writes: > > > > If you want to incorporate the grep into the perl program then this > > may work (UNTESTED): > > It works with 1 change and one caveat, The cavaet is that the file > names in $ARGV must

Gtk2-Perl!How to change color of the selection bar in widget Gtk2::SimpleList?

2007-12-03 Thread robertospara
Hi.I found problem in Gtk2::Perl with module Gtk2::SimpleList. I want to have selection bar in different colors.Not only orange but red blue and others. Sample code produce SimpleList and with moving up and down keys I move with this "orange bar" which I call "select-bar" up and down. How to chang

Re: File::Find::name output

2007-12-03 Thread reader
[EMAIL PROTECTED] (Randal L. Schwartz) writes: >> "reader" == reader <[EMAIL PROTECTED]> writes: > > reader> The output I'm getting is a relative name, and that is what I've fed > reader> the find function. But still the docu seems to indicate it will > reader> return the absolute (`complete

Re: modify mirror list - CPAN

2007-12-03 Thread reader
"Beginner" <[EMAIL PROTECTED]> writes: > I completely removed the .cpan directory but still the old url list > was being used. I eventually found the url in the file > /usr/lib/perl5/5.8.6/CPAN/Config.pm. This is on FC4. Once I removed > the dead mirror, my cpan installs are much less painful.

Installing Date::Calc

2007-12-03 Thread Gerald Wheeler
It appears that installing the prerequisites for Date::Calc (Bit::Vector) requires a C compiler. Is there any way to install Date::Calc (and it's prerequisites) when one does not have the capability to compile the module? Are precompiled modules for Solaris 10 SPARC available form somewhere? Tha

Was `readdir [...]' Comments on JK's script

2007-12-03 Thread reader
John W.Krahn <[EMAIL PROTECTED]> writes: (Since the topic is no longer readir I've started a new thread -hp) [...] Snipped many helpful tips that I did understand and took note of. Now for the part I didn't get but first restating the goal for context. (Usage section explains general goal) >>

Re: modify mirror list - CPAN

2007-12-03 Thread Beginner
On 24 Oct 2007 at 7:22, Tom Phoenix wrote: > On 10/24/07, Beginner <[EMAIL PROTECTED]> wrote: > > > I want to modify the mirror list that I selected when I did a first > > run of perl -MCPAN. > > You can modify your settings within a CPAN shell session by using the > o command. But it may be eas

Re: File::Find::name output

2007-12-03 Thread Randal L. Schwartz
> "reader" == reader <[EMAIL PROTECTED]> writes: reader> The output I'm getting is a relative name, and that is what I've fed reader> the find function. But still the docu seems to indicate it will reader> return the absolute (`complete' as above) file name. No, "complete" is not "absolute"

Re: readdir formulated badly? gives wrong count

2007-12-03 Thread reader
Rob Dixon <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: >> "Jeff Pang" <[EMAIL PROTECTED]> writes: >> >>> On Dec 3, 2007 10:12 AM, <[EMAIL PROTECTED]> wrote: >>> #!/usr/local/bin/perl -w use strict; use warnings; my @ar = (); for(@ar){ pr

Re: readdir formulated badly? gives wrong count

2007-12-03 Thread Matthew Whipple
[EMAIL PROTECTED] wrote: > "Jeff Pang" <[EMAIL PROTECTED]> writes: > > >> On Dec 3, 2007 12:51 PM, <[EMAIL PROTECTED]> wrote: >> >>> "Jeff Pang" <[EMAIL PROTECTED]> writes: >>> mhh? It won't print a newline, it even won't print anything. b/c @ar is empty, for(...) doesn't

Re: Check the entered value is single digit or not

2007-12-03 Thread Dr.Ruud
sivasakthi schreef: > I have tried to find the entered number is single digit or not.. > > the code is following, > > #! /usrbin/perl That shebang line looks a bit strange. > use strict; > use warnings; > > my $tmp=; Whitespace is cheap: my $tmp = ; > if($tmp =~ m/(\d)/) You need to (

Re: readdir formulated badly? gives wrong count

2007-12-03 Thread Rob Dixon
[EMAIL PROTECTED] wrote: "Jeff Pang" <[EMAIL PROTECTED]> writes: On Dec 3, 2007 10:12 AM, <[EMAIL PROTECTED]> wrote: #!/usr/local/bin/perl -w use strict; use warnings; my @ar = (); for(@ar){ print "$_\n"; } But running that script just does nothing but gleefully print a ne