FAQ

Search Discussions

58 discussions - 298 posts

  • 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 McConnellBob 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 YuPeng 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 rebeloMarcos 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 HarrisBryan 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 perlNewbie01 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 MakurinRoman 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 ...
    PadPad
    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 ...
    HerbHerb
    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 ...
    MrwawaMrwawa
    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 ...
    Stu21774Stu21774
    Jun 20, 2010 at 12:07 am
    Jun 21, 2010 at 12:02 pm
  • 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 UserUnknown 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 JGreg 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 ZhouYang 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 YanamadalaChaitanya 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 ...
    Jimstone77Jimstone77
    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 HarrisonChap 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 Keyrobert 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 ...
    SillymonkeysoftwareSillymonkeysoftware
    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 YanamadalaChaitanya 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 NoraHACKER 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 SafarJakub 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 philipPhilge 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 UserUnknown 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 perlNewbie01 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 VenkatesanAravind 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 ...
    MrwawaMrwawa
    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 ...
    kenTkkenTk
    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 KarunakarGopal 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 perlNewbie01 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 ...
    PerlPerl
    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 KarunakarGopal 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 FishShlomi 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 ...
    SawSaw
    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 = ...
    NoahNoah
    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 YanamadalaChaitanya 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 philipPhilge 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. CasaleJoseph 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_helpLittle_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 SaxenaAmit 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
    MephistophelesMephistopheles
    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 perlNewbie01 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 kumarVishesh 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 ...
    PapuPapu
    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 LewisJason 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 philipPhilge 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 ShriyanKaushal 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 ...
    AtropoAtropo
    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 Kulkarnivyomesh 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 = ...
    PerlPerl
    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 EichnerTobias Eichner
    Jun 7, 2010 at 12:18 pm
    Jun 8, 2010 at 7:13 am
Group Navigation
period‹ prev | Jun 2010 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions58
posts298
users79
websiteperl.org

79 users for June 2010

Chas. Owens: 33 posts Uri Guttman: 28 posts Shlomi Fish: 27 posts John W. Krahn: 14 posts Chaitanya Yanamadala: 13 posts Bob McConnell: 12 posts C.DeRykus: 12 posts Shawn H Corey: 10 posts Jenda Krynicky: 9 posts Newbie01 perl: 9 posts Thomas Bätzler: 8 posts Jim Gibson: 6 posts Steve Bertrand: 5 posts Marcos rebelo: 4 posts Roman Makurin: 4 posts Bob goolsby: 3 posts Chap Harrison: 3 posts Gopal Karunakar: 3 posts Herb: 3 posts Jakub Safar: 3 posts
show more
Archives