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
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
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
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
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
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 =
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 --
> 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
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
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
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/
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
>
12 matches
Mail list logo