Hello all, Please let me know if anybody has any idea on the development of Complex Event Processing (CEP) applications in perl. I have been assigned a task...
26896
Kelly Jones
kelly.terry.jones@...
May 17, 2010 5:55 pm
... Mon May 17 11:09:43 MDT 2010 0 In other words, the return value of the date command in an END subroutine overrides my desired exit value. How do I fix...
26897
merlyn@...
merlynstoneh...
May 17, 2010 6:21 pm
... Kelly> Mon May 17 11:09:43 MDT 2010 Kelly> 0 Kelly> In other words, the return value of the date command in an END subroutine Kelly> overrides my desired...
26898
billkirk23
May 17, 2010 6:53 pm
I am reading in an input file. The file is a column of names and addresses. I then want to concatenate the name and address on one line with quotes and...
26899
merlyn@...
merlynstoneh...
May 17, 2010 6:56 pm
... billkirk23> I am reading in an input file. The file is a column of billkirk23> names and addresses. I then want to concatenate the name billkirk23> and...
26900
Kelly Jones
kelly.terry.jones@...
May 17, 2010 7:35 pm
These 3 lines of code: if (fork()) {sleep 10; exit(0);} $SIG{'CHLD39;} = 'IGNORE39;; exit(system("/usr/lib/nagios/plugins/check_ping -H google.com -w 500,20% -c...
26901
mike lively
livelymw
May 17, 2010 8:06 pm
Actually there are modules you can use to easily create the spreadsheet directly out of Perl. Eliminating the need for the CSV file. I have found creating...
26902
wkirk195@...
May 18, 2010 9:22 pm
I have downloaded TEXT::CSV. Now how is it used? I want to input a text file and have a CSV output. Also I am not sure I have installed on my version of Perl...
26903
Robert Binkley
leebinkley
May 18, 2010 10:56 pm
#!/usr/bin/perl    use strict;    use warnings;    use Text::CSV;    my $file = 'prospects.csv';    my $csv = Text::CSV->new();    open...
26904
Mauro Gatti
mauro.list
May 19, 2010 12:35 pm
Hi all, I'm trying to install via CPAN shell the module DBD::JDBC but I get this error: CPAN.pm: Going to build V/VI/VIZDOM/DBD-JDBC-0.71.tar.gz Checking if...
26905
GoPi
gopichand84
May 30, 2010 2:55 am
Hi, I am trying to write a perl script to print all the given files in a directory with .zip extension which contains many subdirectories,so basically I have...
26906
Kenneth Wolcott
kwolcott
May 30, 2010 3:09 am
... Hi; What perl code have you written already? Ken [Non-text portions of this message have been removed]...
26907
gopi chand
gopichand84
May 30, 2010 3:26 am
I just got this over the net ,tried to run with perl grep.pl (?i)sorting .zip but didn't work.Can you pls help? use strict; use warnings; use Cwd; use...
26908
Kenneth Wolcott
kwolcott
May 30, 2010 3:54 am
... Did you look at the code that you grabbed off the 'net and make any conclusions about how it works? Do you know how to use this code? Where you grabbed...
26909
gopi chand
gopichand84
May 30, 2010 4:13 am
Hi Kenneth, Answered inline with [me] ... From: Kenneth Wolcott <kennethwolcott@...> Subject: Re: [PBML] Script to print all the files with .zip...
26910
Kenneth Wolcott
kwolcott
May 30, 2010 4:34 am
... Ok, I think you solved the easier sub-problem just fine. What is the output that you obtain when you run the script that you found on the 'net? I don't...
26911
gopi chand
gopichand84
May 30, 2010 5:23 am
Hi Kenneth This script looks a little bit better,when I run the below script the output is below.Can you help getting rid of this erro? OUTPUT:main::recurse()...
26912
cincihal1
May 30, 2010 8:47 pm
I would like to have a search form for a glossary of terms that will be on my website. This glossary will be on 26 pages (one page for each letter of the...
26913
Kenneth Wolcott
kwolcott
Jun 1, 2010 12:53 am
... I see that you have chosen a different script :-) Here's my advice: There's a very old provided tool with perl called "find2perl". My understanding of the...
26914
gopi chand
gopichand84
Jun 1, 2010 10:49 pm
Thanks a lot Kenneth.It worked.BTW where to get the find2perl tool ... From: Kenneth Wolcott <kennethwolcott@...> Subject: Re: [PBML] Script to print all...
26915
merlyn@...
merlynstoneh...
Jun 1, 2010 11:09 pm
... gopi> Thanks a lot Kenneth.It worked.BTW where to get the find2perl tool Same directory as Perl is in. Probably /usr/bin or /usr/local/bin. If Perl is in...
26916
john maclean
jayeola@...
Jun 6, 2010 6:39 am
what's up with line six? The command seems fine to me :-/ cat test_dd.pl #!/usr/bin/env perl -w use strict; use warnings; my $dd_file_size = 2*10*(2**10); #...
26917
merlyn@...
merlynstoneh...
Jun 6, 2010 4:19 pm
... john> system("dd if=/dev/zero of=/Users/jayeola/virt/running/dumb.img john> seek=$dd_file_size count=1") or die "failed dd" perldoc -f system says: system...
26918
Amit Saxena
learn.tech123@...
Jun 8, 2010 9:18 am
Hi all, I want to know how to find the status, i.e. "next run time" and "last run time", of a task which is run through windows task scheduler. This is...
26919
john maclean
jayeola@...
Jun 8, 2010 3:14 pm
Does one have to open a file before using the stat command on a file? -- John Maclean 07739 171 531 MSc (DIC) Enterprise Linux Systems Engineer...
26920
nazanin
nazanindarba...
Jun 8, 2010 11:11 pm
Hi, I am very new to the Perl. And I have the following problem I have a file which has 1000s of variables: X1=0 Y1=1 B1=0 X2=1 …. X1000=1 I need to read...
26921
Shlomi Fish
shlomif2
Jun 9, 2010 6:27 am
... No, it's not necessary. stat accepts a filename as well, and it can be any file that exists on the system (or doesn't - in which it returns the empty ...
26922
Shlomi Fish
shlomif2
Jun 9, 2010 6:30 am
... No, it's not. See: http://perl.plover.com/varvarname.html You should use an array instead and instead of the index/substr/etc. menace, you should probably...
26923
Bhavesh Vala
bhavesh_21_77
Jun 9, 2010 7:52 am
Hi, I think there is no need to open a file before you use stat command. ... -- Thanks & Regards, Bhavesh Vala. http://bhaveshvala.wordpress.com ...
26924
mmwchang97101
Jun 9, 2010 8:02 pm
Hi! I have some limited experience coding in Perl (mostly dealing with spreadsheets and other delimited text files). I'm trying to using the...