Re: free perl editor wanted

2009-02-18 Thread Alexander Koenig
itshardtogetone wrote on 02/09/2009 12:22 AM: > Can someone introduce me a free Perl editor that also can easily produce html > codes. > Thanks If you are on Windows, try Notepad++[1]. It knows a lot of formats (including Perl and HTML), is easy to use (if you don't want to learn emacs or vim) a

Re: free perl editor wanted

2009-02-18 Thread Erez Schatz
(This is basically a "name your favourite editor" question. Here's two ideas I found in my own search: 1. Komodo Edit and Komodo IDE (http://activestate.com/komodo_edit/). The Free and non-free versions of an IDE/Editor that is created by ActiveState, who specialise in support for dynamic languag

Re: free perl editor wanted

2009-02-18 Thread David Shere
> On Feb 8, 2009, at 5:22 PM, itshardtogetone wrote: > > Can someone introduce me a free Perl editor that also can easily > > produce html codes. If you want an editor that will also allow you to put in breakpoints, and step through code line by line while examining variables, you could use Komo

Re: free perl editor wanted

2009-02-18 Thread Alexander Koenig
David Shere wrote on 02/18/2009 02:26 PM: > If you want an editor that will also allow you to put in breakpoints, > and step through code line by line while examining variables, you could > use Komodo. I haven't used it for a while but it was a very nice tool > when I was first learning. ... > It

RE: free perl editor wanted

2009-02-18 Thread Bob McConnell
From: David Shere > It would be nice if eclipse would do this sort of thing for perl... I believe we just need someone to write those plug-ins, similar to what was done for PHP. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h.

Re: free perl editor wanted

2009-02-18 Thread Octavian Râsnita
From: "Alexander Koenig" David Shere wrote on 02/18/2009 02:26 PM: If you want an editor that will also allow you to put in breakpoints, and step through code line by line while examining variables, you could use Komodo. I haven't used it for a while but it was a very nice tool when I was firs

Re: free perl editor wanted

2009-02-18 Thread Craig
i use emacs and i like it. --- On Wed, 2/18/09, Alexander Koenig wrote: From: Alexander Koenig Subject: Re: free perl editor wanted To: beginners@perl.org Date: Wednesday, February 18, 2009, 3:29 AM itshardtogetone wrote on 02/09/2009 12:22 AM: > Can someone introduce me a free Perl editor tha

Invalid conversion in sprintf "%\"

2009-02-18 Thread Rob Canning
hi i have a sprintf which uses a scalar as its format: my $Bformat = "%1\$s16-> %2\$s16 %3\$s16 %4\$s16 %5\$s16 %6\$s16-> %7\$s16 %8\$s16" what i would like to do is generate a new format for the sprintf by doing permutations of 5 arrays like this: my @phraseA = qw( %1\$s16-> %2\$s16-> %3\$s16

Re: Invalid conversion in sprintf "%\"

2009-02-18 Thread John W. Krahn
Rob Canning wrote: hi i have a sprintf which uses a scalar as its format: my $Bformat = "%1\$s16-> %2\$s16 %3\$s16 %4\$s16 %5\$s16 %6\$s16-> %7\$s16 %8\$s16" what i would like to do is generate a new format for the sprintf by doing permutations of 5 arrays like this: my @phraseA = qw( %1\$s

how to do this in one line (with map?)

2009-02-18 Thread pablo
I want to extract a list of postfix's queue id's. The 'mailq' command returns output as follows: -- 8C0597408D 2503 Tue Feb 17 16:15:34 ka...@domain.org (connect to bar-plate.com[209.62.20.192]:25: Connection refused) staffo...@bar-plate.com 88E8E7409E 1881 T

Installing threads module from CPAN

2009-02-18 Thread Vitthal Gogate
Hi folks, I am trying to install a threads module downloaded from CPAN ( threads-1.71.tar) in my home directory (~/data_mirror/ver2/pmodules). The version of the perl installed on my linux machine (at default path) does not have the latest. I want to use the method $thr->is_joinable() to see if thr

Re: how to do this in one line (with map?)

2009-02-18 Thread John W. Krahn
pa...@compugenic.com wrote: I want to extract a list of postfix's queue id's. The 'mailq' command returns output as follows: -- 8C0597408D 2503 Tue Feb 17 16:15:34 ka...@domain.org (connect to bar-plate.com[209.62.20.192]:25: Connection refused) staffo...@ba

Re: Invalid conversion in sprintf "%\"

2009-02-18 Thread Rob Canning
John W. Krahn said : > Rob Canning wrote: >> hi i have a sprintf which uses a scalar as its format: >> my $Bformat = "%1\$s16-> %2\$s16 %3\$s16 %4\$s16 %5\$s16 %6\$s16-> %7\$s16 >> %8\$s16" >> >> >> what i would like to do is generate a new format for the sprintf by >> doing permutations of 5 arr

What SSL version does LWP use?

2009-02-18 Thread David Shere
Either I'm blind or the LWP package documentation at http://search.cpan.org/~gaas/libwww-perl-5.825/lib/LWP.pm doesn't say what SSL standard it uses, or if it can use more than one. I recently received notice that I must "update any applications or integrations that may be using the SSL 2.0 protoc

Re: What SSL version does LWP use?

2009-02-18 Thread Jim Gibson
On 2/18/09 Wed Feb 18, 2009 12:06 PM, "David Shere" scribbled: > Either I'm blind or the LWP package documentation at > http://search.cpan.org/~gaas/libwww-perl-5.825/lib/LWP.pm doesn't say > what SSL standard it uses, or if it can use more than one. > > I recently received notice that I must

Re: Invalid conversion in sprintf "%\"

2009-02-18 Thread Jim Gibson
On 2/18/09 Wed Feb 18, 2009 10:20 AM, "Rob Canning" scribbled: > John W. Krahn said : >> Rob Canning wrote: >>> hi i have a sprintf which uses a scalar as its format: >>> my $Bformat = "%1\$s16-> %2\$s16 %3\$s16 %4\$s16 %5\$s16 %6\$s16-> %7\$s16 >>> %8\$s16" [...] >>> any ideas what i am doin

Calling PHP web component from Perl

2009-02-18 Thread Chuck
Hello, I'm pretty new at Perl and PHP, and I was wondering if anyone could help me figure out how to call and pass parameters to a PHP script from a Perl script, and how to return values from the PHP component back to the Perl script. I'm trying to make heads or tails of the Soap::Lite package, bu

Perl fork() system call

2009-02-18 Thread Chuck
Hello, We have a GUI where, if a button is clicked, Putty (the remote access program) is launched using System("C:\\Progra~1\\Putty\\putty.exe"); is launched. However, when this is executed, the original GUI freezes, and we cannot use it unless we close Putty. We tried using the fork() command l

Re: Perl fork() system call

2009-02-18 Thread Chas. Owens
On Wed, Feb 18, 2009 at 12:14, Chuck wrote: > Hello, > > We have a GUI where, if a button is clicked, Putty (the remote access > program) is launched using > > System("C:\\Progra~1\\Putty\\putty.exe"); > > is launched. However, when this is executed, the original GUI freezes, > and we cannot use i

Re: Slow connexion with Net::SSH::Perl

2009-02-18 Thread metacyclic
On Feb 9, 1:01 pm, dsh...@steelerubber.com (David Shere) wrote: > On Tue, 2009-02-03 at 21:38 +0100, julien collas wrote: > > I use rsa key to connect and it seems to be very slow, > > Is it slow to connect when you initiate, or slow throughout the use of > the connection? > > We've found that the

Reading 2 array lists

2009-02-18 Thread mritorto
guys I am new to perl scripting. I am trying to read 2 different txt files into 2 different arrays. My goal is to have a script read them both and print out any differences. Here is the script - it only prints out some of the files that end in a *.cer extentions but is miss the other info ##

Re: Reading 2 array lists

2009-02-18 Thread Gunnar Hjalmarsson
mritorto wrote: guys I am new to perl scripting. I am trying to read 2 different txt files into 2 different arrays. My goal is to have a script read them both and print out any differences. Here is the script - it only prints out some of the files that end in a *.cer extentions but is miss t

Re: Slow connexion with Net::SSH::Perl

2009-02-18 Thread metacyc...@gmail.com
On Feb 3, 3:38 pm, jul.col...@gmail.com (Julien Collas) wrote: > Hi everyone, > > I made a script using Net::SSH::Perl and I'm faced to some slowconnexiontimes. > I use rsa key to connect and it seems to be very slow, but not all the time. > Sometimes it's very quick ( 1sec ), sometimes not (few mi

Re: Reading 2 array lists

2009-02-18 Thread Chas. Owens
On Wed, Feb 18, 2009 at 15:43, mritorto wrote: > guys > > I am new to perl scripting. > > I am trying to read 2 different txt files into 2 different arrays. > > My goal is to have a script read them both and print out any > differences. > > > Here is the script - it only prints out some of the fil

Re: local perl documantaion

2009-02-18 Thread Dermot
2009/2/4 Telemachus : > On Wed Feb 04 2009 @ 5:49, Dermot wrote: >> Hi, >> >> I have until recently used a widows box and Activestate's perl. I now >> use a *nix box. Something I am missing a lot is the html documentation >> tree that Activestate builds when it's installed and keeps up to date >>

Re: Reading 2 array lists

2009-02-18 Thread Gunnar Hjalmarsson
Chas. Owens wrote: On Wed, Feb 18, 2009 at 15:43, mritorto wrote: #compares directories on 2 servers open (INPUT, " This is not the best way to go about solving this problem (use diff or a module like Text::Diff*), If we are going to suggest a module, List::Compare would be more to the

Re: Reading 2 array lists

2009-02-18 Thread Chas. Owens
On Wed, Feb 18, 2009 at 19:59, Gunnar Hjalmarsson wrote: > Chas. Owens wrote: snip >> This is not the best way to go about solving this problem (use diff or a >> module like Text::Diff*), > > If we are going to suggest a module, List::Compare would be more to the > point IMO. snip No, the lines s

Re: how to do this in one line (with map?)

2009-02-18 Thread Rob Dixon
John W. Krahn wrote: > pa...@compugenic.com wrote: >> I want to extract a list of postfix's queue id's. The 'mailq' command >> returns output as follows: >> >> -- >> 8C0597408D 2503 Tue Feb 17 16:15:34 ka...@domain.org >> (connect to bar-plate.com[209.62.20.192]:25: Connection refused) >>

Re: Reading 2 array lists

2009-02-18 Thread Gunnar Hjalmarsson
Chas. Owens wrote: On Wed, Feb 18, 2009 at 19:59, Gunnar Hjalmarsson wrote: Chas. Owens wrote: snip This is not the best way to go about solving this problem (use diff or a module like Text::Diff*), If we are going to suggest a module, List::Compare would be more to the point IMO. snip No,

Re: how to do this in one line (with map?)

2009-02-18 Thread John W. Krahn
Rob Dixon wrote: John W. Krahn wrote: pa...@compugenic.com wrote: I want to extract a list of postfix's queue id's. The 'mailq' command returns output as follows: right now I'm doing the following: my @ids; foreach (`mailq`) { next unless /^\w+/; chomp; push @ids, (split)[0];