Search Discussions
-
I am trying to update Test::Harness from CPAN, but it's not working. When I go into the downloaded file at <C:\camelbox\.cpan\sources\authors\id\A\AN\ANDYA\Test-Harness-3.21.tar.g z using WinZip 9.0 ...
Bob McConnell
Jun 18, 2010 at 6:26 pm
Jun 24, 2010 at 8:58 pm -
I can't find an existing perl subroutine (in the library) to find every occurrence of a substring in a string. The following webpage "Example 3b. How to find every occurrence" uses a loop to do so. ...
Peng Yu
Jun 10, 2010 at 2:17 am
Jun 14, 2010 at 12:05 pm -
Hi all This time, it's much more a personal opinion than a recipe. http://sites.google.com/site/oleberperlrecipes/recipes/01-variables/04---misc/01-when-shall-we-use-default-variables Opinions are ...
Marcos rebelo
Jun 27, 2010 at 5:08 pm
Jun 29, 2010 at 1:43 am -
Seems like the first time I run a new script I *always* get an error message something like this: "Use of uninitialized value in printf at /Users/harrisb/Library/perl/matc line 414." The problem is ...
Bryan R Harris
Jun 3, 2010 at 5:02 pm
Jun 7, 2010 at 1:05 pm -
Hi all, Oracle core dumps are created as directories. I want to remove these directories after a certain period of time, for example 10 days. I have the following script that searches a directory for ...
Newbie01 perl
Jun 6, 2010 at 4:12 pm
Jun 7, 2010 at 7:31 am -
Hi all Last time i have a big problem, i need parse xml files which have invalid xml chars outside of CDATA and xml parser hangs everytime on such files. Is there any way to parse such files ??? ...
Roman Makurin
Jun 4, 2010 at 2:16 pm
Jun 6, 2010 at 1:53 pm -
I'm trying to use the logic in my script that allows me to catch a line that differs in time by comparing field2 and field3. I managed to come up with an input file of this format for my comparison ...
Pad
Jun 30, 2010 at 2:29 am
Jun 30, 2010 at 11:57 pm -
Hi All, I’m relatively new to perl and cgi and have a question about putting together a multi page form. My goal is to create a form that has multiple pages with a few questions per page so that ...
Herb
Jun 15, 2010 at 10:58 pm
Jun 28, 2010 at 1:46 pm -
Hi all, I posted earlier, but it has not been listed yet. I have a second question about editing a large data file. I have a data file (roughly 13 GB) that consists of tab delimited entries. Because ...
Mrwawa
Jun 15, 2010 at 5:50 pm
Jun 26, 2010 at 1:23 pm -
I have some text that specifies inherited runners in baseball: 'Hughes, D 2-0, O'Flaherty 2-0, Moylan 1-1' I want to split on the comma and associate the numbers with that player. The problem is that ...
Stu21774
Jun 20, 2010 at 12:07 am
Jun 21, 2010 at 12:02 pm -
6
Fork ssh
Hi I wrote the following script to fork ssh processes with perl and Parallel::ForkManager: #!/usr/local/bin/perl -w use strict; my @cmd = "@ARGV"; use Parallel::ForkManager; my @nodes; ...Unknown User
Jun 17, 2010 at 2:34 am
Jun 18, 2010 at 4:56 pm -
Hi everyone, I am new to Perl and I am having some trouble working with hashes of hashes. I am trying to write a simple Markov Chain text generator and thought it might be a good idea to keep track ...
Greg J
Jun 16, 2010 at 10:02 pm
Jun 16, 2010 at 11:57 pm -
Hi all, I met a problem when I use Perl script to call a C function. A scalar variable in Perl script is passed as an input parameter to the C function. In the C function, it'll be used as a pointer, ...
Yang Zhou
Jun 30, 2010 at 1:55 am
Jul 1, 2010 at 3:59 am -
Hai i am in a situation like i have a scalar $value = 5 now i need to create an array with the number i mean $value how can i do it?? regards Chaitanya
Chaitanya Yanamadala
Jun 30, 2010 at 5:01 am
Jun 30, 2010 at 7:27 am -
can anyone give me some help on a perl program to change a file of mine. The string is: $_ = "from ''alam' (481) or possibly (in the sense of dumbness); solitary; Ulam, the (6155) name of two ...
Jimstone77
Jun 28, 2010 at 10:04 pm
Jun 29, 2010 at 2:10 am -
Hi, I have a Perl app that makes SQL queries to DBF (DBase IV) databases. I haven't found a reliable DBI::DBD module for accessing DBase IV, but I do have a copy of the JDBC library, so I wrote a ...
Chap Harrison
Jun 23, 2010 at 8:31 pm
Jun 27, 2010 at 11:29 am -
Hi I would like to parse GPX file (XML) and insert certain data items into a MySQL database. There are mulitude of XML modules which can be used. These modules all build a hash from the data. Is this ...
robert Key
Jun 16, 2010 at 12:15 pm
Jun 26, 2010 at 12:44 pm -
Hi everyone, I'm working with some customizable data from a config file, and can't for the life of me figure out how to test conditionals from an external source. Does anyone have an idea how to ...
Sillymonkeysoftware
Jun 8, 2010 at 11:44 pm
Jun 9, 2010 at 8:59 am -
i have a string like this <ComposedBlock ID="ZONE1-2" STYLEREFS="PAR1" HEIGHT="1062" WIDTH="1986" HPOS="573" VPOS="3003" i need to get the values between the " " after the ID= . So how can i do it, ...
Chaitanya Yanamadala
Jun 4, 2010 at 11:55 am
Jun 4, 2010 at 3:34 pm -
Hi list, I am currently having an issue with background processes. I already searched the web and found a way how to principally send a process into background, wait for the execution to finish and ...
HACKER Nora
Jun 24, 2010 at 7:15 am
Jun 24, 2010 at 10:56 pm -
Hello everyone, I was wondering if the Muralis module is the most recent/useful module to use for changing desktop backgrounds. Thanks in advance for tips Jakub
Jakub Safar
Jun 21, 2010 at 2:02 am
Jun 21, 2010 at 3:45 pm -
hi in the below script: use Storable qw(store_fd fd_retrieve); my %position_counts = ('name' = 'rahul'); open(OUT1, " temp.txt"); store_fd(\%position_counts, *OUT1) || die "can't store to ...
Philge philip
Jun 19, 2010 at 10:03 am
Jun 21, 2010 at 12:24 pm -
I have the following code: GetOptions( "n|name=s" = \$name, "a|age=i" = \$age, "s|sex=s" = \$sex, ) || die "Bad options\n";; What i expected this code to do is to die if a bad option was given, say ...
Unknown User
Jun 17, 2010 at 6:36 am
Jun 17, 2010 at 12:41 pm -
Hi all, Just writing to ask if any one can advise on what tools to use best for maintaining your scripts ... preferably free/open source and portable if there is one, that is, one that can be placed ...
Newbie01 perl
Jun 5, 2010 at 3:42 am
Jun 5, 2010 at 1:28 pm -
Hi everyone, I have written a code that takes in two files (containing a set of terms) as arguments eg: testfile1 CCO:P0000056 cell cycle CCO:U0000002 cell-cycle process CCO:P0000308 cell cycle ...
Aravind Venkatesan
Jun 16, 2010 at 2:30 pm
Jun 16, 2010 at 11:09 pm -
Hi all, I am new to Perl and am trying to do the following. I have a dataset file with the following example structure. ACRU 12 34 QUAL 28 90 QURU 3345 . . . . . QUVE 29 88 As you can see, line 3 ...
Mrwawa
Jun 15, 2010 at 3:40 pm
Jun 16, 2010 at 10:18 am -
How can I conditionally use a module? I have a script that I wish to run on Linux and Windows (activestate 5.8.8). Under windows it will produce an xl spreadsheet and a comma-separated text file. I ...
kenTk
Jun 14, 2010 at 6:23 pm
Jun 15, 2010 at 6:40 pm -
Hi, How can i declare a simple perl script file which will take arguments from the user? an example will be take two numbers and give the sum as output. Thanks in advance, GK.
Gopal Karunakar
Jun 9, 2010 at 7:44 am
Jun 9, 2010 at 8:11 am -
Hi all, I know perl -V prints what are the current modules directories that are accessible ... but is there a way to list all the available modules from each directories as well?
Newbie01 perl
Jun 5, 2010 at 1:33 am
Jun 5, 2010 at 9:59 am -
This is normally the basic when i added a xml file to the code .... Code :: /use XML::XPath; use XML::XPath::XMLParser; use Data::Dumper; # create an object to parse the file and field XPath queries ...
Perl
Jun 3, 2010 at 4:10 pm
Jun 3, 2010 at 5:08 pm -
Hi All, I needed to find all the duplicate values in an array and their count of occurences. Any help would be appreciated . Thanks in advance.
Gopal Karunakar
Jun 2, 2010 at 7:37 am
Jun 2, 2010 at 11:11 am -
Hi all! Here is what's new on http://perl-begin.org/ - the Perl Beginners' Site since the last update. * A page containing a list of frequently asked questions (FAQs) lists was added - ...
Shlomi Fish
Jun 26, 2010 at 7:40 pm
Jun 27, 2010 at 7:32 am -
Given one large XML file such as: <A <B <C <D <E E="Eattr"/ <F F="Fattr"/ <G/ </D </C <C <D <E E="Eattr"/ <F F="Fattr"/ <G/ </D </C <!-- many more <C sub-trees -- </B </A I want to create many small ...
Saw
Jun 18, 2010 at 2:03 pm
Jun 26, 2010 at 12:44 pm -
Hi there, why is the perl glob command returning a number and not the filenames? my (@filenames, @files); for my $file (@files) { # my $filename = "$directory/*$file"; # print "$filename\n"; @files = ...
Noah
Jun 25, 2010 at 9:56 pm
Jun 26, 2010 at 12:41 am -
Hai I have a small query regarding to xml reading and writng.. i have an xml like this <a value="5" note=2 <b <c hello</c </b </a now i need to add a new attribute to node a. can any one help me how ...
Chaitanya Yanamadala
Jun 21, 2010 at 10:06 am
Jun 22, 2010 at 10:59 am -
hi can someone tell me how i can sort by keys from a hash (huge data) stored using Data::Dumper? thanking you philge
Philge philip
Jun 20, 2010 at 8:41 am
Jun 20, 2010 at 11:03 am -
I need a few modules not provided by Base or 3rd party rpm repos and since I don't want to mess up the rpm db, I am installing these cpan modules as non root into /opt/cpan by using 'makepl_arg' = ...
Joseph L. Casale
Jun 19, 2010 at 12:13 am
Jun 19, 2010 at 7:34 am -
Is there a way to change all entries for a current username with a new username? I have two files (A and B for the sake of argument). File A has all the current names in the passwd map and file B has ...
Little_help
Jun 16, 2010 at 8:38 pm
Jun 17, 2010 at 7:04 pm -
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 required so as to find out instances where a ...
Amit Saxena
Jun 8, 2010 at 9:18 am
Jun 9, 2010 at 11:55 am -
1. Run sdiff on file1 and file2--supress identical lines 2. OUtput column1 to outputfile1 and column2 to outputfile2
Mephistopheles
Jun 5, 2010 at 4:48 pm
Jun 6, 2010 at 1:25 pm -
Hi all, Sorry for being lazy I guess .... but am assuming a lot of you will probably have a list of their favorite sites for resources of Perl scripts I did find a lot as well via Google but mostly ...
Newbie01 perl
Jun 5, 2010 at 3:37 am
Jun 5, 2010 at 1:31 pm -
Dear all I am working on small project of self learning firewall using perl script on linux. In my script i capture dns packet moving outside from my network and get domain name of site that user ...
Vishesh kumar
Jun 22, 2010 at 5:40 am
Jun 25, 2010 at 12:33 pm -
Hi All, I would like to change SAS proc format to if-then-else statements. Can someone guid me? Thanks. /*old file*/ %let _V0 = var1; /* xnbntl75_n */ %let _V1 = var2; /* pct_pay_bal_cyc_1 */ proc ...
Papu
Jun 20, 2010 at 11:42 pm
Jun 21, 2010 at 9:25 am -
Hey, this might be a stupid question... If I need to name a variable with the contents of another scalar, how do I do that? reference? thx, Jason Lewis Email jasonlewis.x@gmail.com Mobile ...
Jason Lewis
Jun 21, 2010 at 4:39 am
Jun 21, 2010 at 4:56 am -
hi can someone tell me how i can sort by keys from a hash (huge data) stored in a DB_File? thanking you philge
Philge philip
Jun 20, 2010 at 8:40 am
Jun 21, 2010 at 1:20 am -
Hi, For example I do wget -O file.png "http://collectd.example.com/collectd/cgi-bin/collection.cgi?action=show_plugin;host=testdb;timespan=day;plugin=mysql" for a single host "testdb" and plugin ...
Kaushal Shriyan
Jun 17, 2010 at 6:55 pm
Jun 17, 2010 at 7:25 pm -
Hi all, don't know almost nothing about perl but I'm RTFM. Dimitre Radoulov gave a perl script to get and delete via ftp some files. now i want generate a log file with those file names. I only added ...
Atropo
Jun 16, 2010 at 7:46 pm
Jun 17, 2010 at 4:01 pm -
hello all i am in need of perl script to generate the standard oauth-signature. i can take the required parameters as input from the user and then generate the sign based on the algorithm input. is ...
vyomesh Kulkarni
Jun 15, 2010 at 4:10 pm
Jun 15, 2010 at 4:32 pm -
I tried to use LibXML .. when i never to the correct libXML read file ... when i tried to use the LWP download which is an XML .. how to use it please help me ... /use LWP::UserAgent; my $ua = ...
Perl
Jun 12, 2010 at 5:01 pm
Jun 12, 2010 at 5:31 pm -
We are the owner of the domain name cgiscripts-perl.com and currently think about to sell it. It has been used as an alternative domain name for a Perl scripts website, but now is no longer needed. ...
Tobias Eichner
Jun 7, 2010 at 12:18 pm
Jun 8, 2010 at 7:13 am
79 users for June 2010
Archives
- May 2016 (29)
- March 2016 (38)
- February 2016 (66)
- January 2016 (62)
- December 2015 (36)
- November 2015 (59)
- October 2015 (35)
- September 2015 (32)
- April 2015 (18)
- March 2015 (101)
- February 2015 (74)
- January 2015 (99)
- December 2014 (74)
- November 2014 (65)
- October 2014 (47)
- September 2014 (66)
- August 2014 (68)
- July 2014 (171)
- June 2014 (85)
- May 2014 (126)
- April 2014 (36)
- March 2014 (162)
- February 2014 (154)
- January 2014 (94)
- December 2013 (42)
- November 2013 (71)
- October 2013 (192)
- September 2013 (143)
- August 2013 (114)
- July 2013 (141)
- June 2013 (201)
- May 2013 (163)
- April 2013 (90)
- March 2013 (125)
- February 2013 (150)
- January 2013 (185)
- December 2012 (120)
- November 2012 (101)
- October 2012 (117)
- September 2012 (180)
- August 2012 (319)
- July 2012 (170)
- June 2012 (223)
- May 2012 (249)
- April 2012 (298)
- March 2012 (311)
- February 2012 (261)
- January 2012 (155)
- December 2011 (282)
- November 2011 (266)
- October 2011 (316)
- September 2011 (369)
- August 2011 (371)
- July 2011 (310)
- June 2011 (392)
- May 2011 (434)
- April 2011 (630)
- March 2011 (440)
- February 2011 (282)
- January 2011 (419)
- December 2010 (319)
- November 2010 (314)
- October 2010 (360)
- September 2010 (256)
- August 2010 (223)
- July 2010 (340)
- June 2010 (298)
- May 2010 (483)
- April 2010 (683)
- March 2010 (480)
- February 2010 (339)
- January 2010 (322)
- December 2009 (531)
- November 2009 (558)
- October 2009 (375)
- September 2009 (449)
- August 2009 (497)
- July 2009 (428)
- June 2009 (306)
- May 2009 (293)
- April 2009 (362)
- March 2009 (477)
- February 2009 (467)
- January 2009 (408)
- December 2008 (405)
- November 2008 (545)
- October 2008 (770)
- September 2008 (662)
- August 2008 (663)
- July 2008 (773)
- June 2008 (730)
- May 2008 (650)
- April 2008 (791)
- March 2008 (692)
- February 2008 (399)
- January 2008 (694)
- December 2007 (581)
- November 2007 (688)
- October 2007 (882)
- September 2007 (709)
- August 2007 (1,243)
- July 2007 (849)
- June 2007 (898)
- May 2007 (796)
- April 2007 (587)
- March 2007 (705)
- February 2007 (521)
- January 2007 (578)
- December 2006 (565)
- November 2006 (555)
- October 2006 (704)
- September 2006 (734)
- August 2006 (725)
- July 2006 (884)
- June 2006 (681)
- May 2006 (703)
- April 2006 (889)
- March 2006 (724)
- February 2006 (607)
- January 2006 (588)
- December 2005 (684)
- November 2005 (664)
- October 2005 (682)
- September 2005 (616)
- August 2005 (743)
- July 2005 (716)
- June 2005 (670)
- May 2005 (809)
- April 2005 (830)
- March 2005 (1,020)
- February 2005 (740)
- January 2005 (784)
- December 2004 (873)
- November 2004 (910)
- October 2004 (1,242)
- September 2004 (936)
- August 2004 (911)
- July 2004 (1,101)
- June 2004 (1,026)
- May 2004 (945)
- April 2004 (1,161)
- March 2004 (1,485)
- February 2004 (1,608)
- January 2004 (1,512)
- December 2003 (1,607)
- November 2003 (1,437)
- October 2003 (1,314)
- September 2003 (1,382)
- August 2003 (1,351)
- July 2003 (1,559)
- June 2003 (1,576)
- May 2003 (1,586)
- April 2003 (1,600)
- March 2003 (1,731)
- February 2003 (1,641)
- January 2003 (2,020)
- December 2002 (1,360)
- November 2002 (1,198)
- October 2002 (1,677)
- September 2002 (1,905)
- August 2002 (1,685)
- July 2002 (1,975)
- June 2002 (1,900)
- May 2002 (2,332)
- April 2002 (2,098)
- March 2002 (1,658)
- February 2002 (2,237)
- January 2002 (2,304)
- December 2001 (1,568)
- November 2001 (1,823)
- October 2001 (1,712)
- September 2001 (1,289)
- August 2001 (1,993)
- July 2001 (2,424)
- June 2001 (3,399)
- May 2001 (1,797)
- April 2001 (650)