Re: research for secure tchat client server use IO::Socket::SSL

2012-02-15 Thread ml
forgiveness for the bad presentation perl code see my post on PerlMonks http://www.perlmonks.org/?node_id=954050 Le 2012-02-15 20:51, ml a écrit : hi guys hi master of "Fu" any update I am doing some research on the server and client for the chat. I have long taken the trouble to consult th

research for secure tchat client server use IO::Socket::SSL

2012-02-15 Thread ml
hi guys hi master of "Fu" any update I am doing some research on the server and client for the chat. I have long taken the trouble to consult the documentation that is different and both PerlMonks different pages that deal with this vast subject. I try to find a minimal example because I want to

Re: Module error

2012-02-15 Thread Shawn H Corey
On 12-02-15 01:13 PM, Punit Jain wrote: Hi, I am running my perl script and using some perl modules like below :- use File::Path qw(mkpath); use File::Rsync; my $rsync = '/opt/zimbra/rsync/bin/rsync'; when I run the script using perl scriptname --> then it runs fine, however when I run throu

Fwd: XML QUERY

2012-02-15 Thread Anirban Adhikary
Hi List , I have two files one is a csv file another is a XML files which are given here as attachments. Now I need to create a XML(Which is given here) file from this CSV file(Also here as an attachment) and Create a CSV file from this XML file. My question is what perl module or modules I need

Re: Module error

2012-02-15 Thread Jim Gibson
On 2/15/12 Wed Feb 15, 2012 10:56 AM, "Shlomi Fish" scribbled: > at the risk of starting a flame-war, you should not encourage people to write > their scripts in C-shell (not that using it as a login shell is too > recommended either), because it is a braindead shell with poorly designed > sema

Re: Module error

2012-02-15 Thread Shlomi Fish
Hello Jim, On Wed, 15 Feb 2012 10:28:23 -0800 Jim Gibson wrote: > On 2/15/12 Wed Feb 15, 2012 10:13 AM, "Punit Jain" > scribbled: > > > Hi, > > > > I am running my perl script and using some perl modules like below :- > > > > use File::Path qw(mkpath); > > use File::Rsync; > > my $rsync =

Re: Module error

2012-02-15 Thread Jim Gibson
On 2/15/12 Wed Feb 15, 2012 10:13 AM, "Punit Jain" scribbled: > Hi, > > I am running my perl script and using some perl modules like below :- > > use File::Path qw(mkpath); > use File::Rsync; > my $rsync = '/opt/zimbra/rsync/bin/rsync'; > > > when I run the script using > perl scriptname --

Re: Module error

2012-02-15 Thread John SJ Anderson
> I am running my perl script and using some perl modules like below :- > > use File::Path qw(mkpath); > use File::Rsync; > my $rsync = '/opt/zimbra/rsync/bin/rsync'; > > > when I run the script using > perl scriptname --> then it runs fine, however when I run through crontab, it > get this er

Module error

2012-02-15 Thread Punit Jain
Hi, I am running my perl script and using some perl modules like below :- use File::Path qw(mkpath); use File::Rsync; my $rsync = '/opt/zimbra/rsync/bin/rsync'; when I run the script using perl scriptname --> then it runs fine, however when I run through crontab, it get this error : - Can't

Re: looping through an array with for

2012-02-15 Thread Igor Dovgiy
Hi Jim, Well, instead of asking at each step, whether the last element is processed or not, it's slightly better to exclude it from the loop: for my $i (0..$#keyFields - 1) { printf "%s %s", $keyFields[$i], $match; } printf "%s %s", $keyFields[-1], $lastmatch; But yes, I guess your last approa

Re: looping through an array with for

2012-02-15 Thread Chris Stinemetz
Thank you Jim. Your suggestions worked perfectly! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Re: Is this one line out of date (circa 2002)

2012-02-15 Thread Harry Putnam
Rob Dixon writes: >> And then (trying to print just the time column >> perl -i -n -a -e 'print @F[6];' ping.lst >> >> But there is no output at all. > > The -i option calls for in-place editing, where the output from Perl > replaces the input file. Take a look at ping.lst and you should find >