Search Discussions

28,442 discussions - 125,355 posts

  • Hi, I am trying to parse the inner loop elements of the attached input xml elements. The below code doesn't retrieve the inner loop(<property ) elements if the properties tag contains more than one ...
    Perl kamalPerl kamal
    Dec 8, 2015 at 6:25 am
    Dec 8, 2015 at 12:10 pm
  • Hi; I've inherited a lot of Perl [mostly ActiveState] (and bash) scripts were the former writers and maintainers did not use "use strict" and "use warnings" and have other "less than Best ...
    Kenneth WolcottKenneth Wolcott
    Dec 8, 2015 at 2:32 am
    Dec 8, 2015 at 3:02 pm
  • Hi, how can I extract images and information from another cell in the same row from a spreadsheet? The spreadsheet is in xls and can be converted to ods (or other formats Libreoffice supports). The ...
    Dec 2, 2015 at 3:55 pm
    Dec 2, 2015 at 3:55 pm
  • As part of the annual London Perl Workshop, on December 12 at 9.10am I'll be running an intensive class on Perl for people with experience of other programming languages ...
    Andrew SolomonAndrew Solomon
    Nov 29, 2015 at 8:14 pm
    Nov 29, 2015 at 8:14 pm
  • Hi All, Please let me know the best reference book for Advance OOPs concept. Thanks. Please let me know about the book : OO Perl By Dr Rana Conway ...
    Jitendra BarikJitendra Barik
    Nov 29, 2015 at 7:42 am
    Nov 30, 2015 at 4:54 am
  • Hey, can you please remove me from the mailing list? Thanks!
    Parysatis SachsParysatis Sachs
    Nov 26, 2015 at 3:06 pm
    Nov 26, 2015 at 3:29 pm
  • The following code apparently is not doing what I wanted. My intention was to confirm that the general format of $student_id was this: several uppercase letters followed by a hyphen followed by ...
    Rick TRick T
    Nov 25, 2015 at 5:09 pm
    Nov 25, 2015 at 6:47 pm
  • gb@MINT ~/Perl5/perl programs $ cat prog164.pl #!/usr/bin/perl use strict; use warnings; while ($line = < ) { while ($line =~ s#\d+\s*[*+-/]\s*\d+(\s*[*+-/]\s*\d+)*#<x #) { eval ("\$result = $&;") ...
    Gary BakerGary Baker
    Nov 25, 2015 at 3:09 pm
    Nov 26, 2015 at 8:17 am
  • Hi I want to create a unique array . I have the code below. It is creating a array which will have duplicate data . How can I filter duplicate data ? #!/usr/bin/perl use Data::Dumper; #my $cnt = ...
    Sunita PradhanSunita Pradhan
    Nov 25, 2015 at 7:53 am
    Nov 29, 2015 at 7:16 pm
  • Hi, I am facing an issue with my script while creating a XML . Below is required structure :- <opt <rule disabled="false" logged="false" <appliedToList <appliedTo <name xyz</name <isValid ...
    Punit JainPunit Jain
    Nov 20, 2015 at 10:12 pm
    Nov 20, 2015 at 10:12 pm
  • Hello Group, I have the following in my makefile. Doesn’t work the way I intend it to. How do I do conditional test with a regular expression ? ifeq (${HOST_TYPE},x86_64) ---------------------- à ...
    Uday VernekarUday Vernekar
    Nov 19, 2015 at 9:39 am
    Nov 19, 2015 at 9:39 am
  • Thanks!
    Hannah SmithersHannah Smithers
    Nov 18, 2015 at 12:46 am
    Nov 22, 2015 at 3:51 pm
  • Hi; Can I install Strawberry Perl on a W2008 Server without adversely affecting a currently installed Active State Perl? Thanks, Ken Wolcott
    Kenneth WolcottKenneth Wolcott
    Nov 13, 2015 at 7:12 pm
    Nov 17, 2015 at 11:06 pm
  • *Hi,I'm having a problem compiling a perl script to run in my windows 7 32 bits environment. It compiles with Perl Dev Kit from active state, but when I run it (in the command line of dos) it just ...
    Rui FernandesRui Fernandes
    Nov 12, 2015 at 1:53 pm
    Nov 18, 2015 at 11:11 pm
  • ~/perlstuff$ perl hopdelta.plx "UxixDate" is not exported by the Date::Manip module Can't continue after import errors at hopdelta.plx line 9. BEGIN failed--compilation aborted at hopdelta.plx line ...
    Karl HakmillerKarl Hakmiller
    Nov 6, 2015 at 5:20 pm
    Nov 6, 2015 at 6:03 pm
  • Hello all. I'm trying to interpolate a hash value in a string but i got stuck. I already tried with eval, without any success... I have two conf files in the form conf file 1: option=value ...
    David Emanuel da Costa SantiagoDavid Emanuel da Costa Santiago
    Nov 3, 2015 at 10:03 pm
    Nov 4, 2015 at 6:15 pm
  • I need to bulk edit the metadata in a large number of JPEG files. Which is the best CPAN module to help with that? Would it be Image::ExifTool ? Regards, Lars
    Lars NoodénLars Noodén
    Nov 1, 2015 at 6:46 pm
    Nov 1, 2015 at 6:46 pm
  • Hello Just wondering, what are peoples thoughts on using password authentication in perl. What tools do people use to secure the password or do you just restrict access to the script file so the ...
    Oct 27, 2015 at 5:44 am
    Nov 6, 2015 at 2:55 pm
  • Hello members, Do you know if perl6 the first version will get released this Xmas day? Thanks.
    Wah PengWah Peng
    Oct 20, 2015 at 3:29 am
    Oct 20, 2015 at 1:10 pm
  • Hi All, I have a file with multiple lines ,I want to assign all content to variable & then want to work on it. Like want to match pattern /window/ from it. how can it is possible ? for example - open ...
    Prashant ThoratPrashant Thorat
    Oct 19, 2015 at 2:18 pm
    Oct 20, 2015 at 8:38 am
  • Is there any way within Perl to examine DOC and XLS files to 1) see if the document is empty, i.e. no text and no cell contents 2) has Macros embedded We're getting lots of virus emails claiming to ...
    Gary StainburnGary Stainburn
    Oct 19, 2015 at 10:35 am
    Oct 20, 2015 at 10:28 am
  • Hello all! I'm creating some sockets to a remote server and from time to time, the sockets get "frozen". I'm creating the socket as: $socket = IO::Socket::INET- new ( PeerAddr = $server, PeerPort = ...
    David Emanuel da Costa SantiagoDavid Emanuel da Costa Santiago
    Oct 12, 2015 at 4:59 pm
    Oct 13, 2015 at 6:27 pm
  • Hello all, Is the valgrind tool a reliable tool for checking for memory leaks in perl and in our perl scripts? I have a perl script that's consuming all the memory available on my system. I rechecked ...
    David Emanuel da Costa SantiagoDavid Emanuel da Costa Santiago
    Oct 1, 2015 at 5:21 pm
    Oct 3, 2015 at 8:45 am
  • Hello, i'm struggling around with umlauts in my xml files, which i want to parse with XML::Rabbit. I've got the same behaviour with __DATA__ or when i'm reading a xml file via MyNode- new(file = ...
    Martin BarthMartin Barth
    Sep 23, 2015 at 9:24 am
    Sep 25, 2015 at 4:46 pm
  • Hi all, I wrote a simple Perl code to find the factorial of a number. Need feed back on the same.please correct me if i have done anything wrong #!/usr/bin/perl use warnings; use strict; my $fact=1 ...
    Uday VernekarUday Vernekar
    Sep 21, 2015 at 9:37 am
    Sep 21, 2015 at 11:05 am
  • Dear ALL, I have a file that looks like this. Query=sp|P59287|CASS_RICCO Hit=scaffold293_size341291 Bit=152 Length=349 Percent_id=228.36676217765 Query=sp|P59287|CASS_RICCO Hit=scaffold293_size341291 ...
    Alaba, Oluwafemi (IITA)Alaba, Oluwafemi (IITA)
    Sep 20, 2015 at 8:56 pm
    Sep 21, 2015 at 7:25 am
  • Hi All, I'm SERIOUSLY starting to cry here :-( It's been over a month since I started this thread, and it's pretty much been close to a year of me battling to get this right with perl, and yes - ...
    Chris KnipeChris Knipe
    Sep 17, 2015 at 8:56 pm
    Sep 19, 2015 at 4:31 am
  • Dear Sir/Madam, while I try to connect and query some data from bugzilla, I am getting following error. Error: RPC::XML::Client::send_request: HTTP server error: Can't verify SSL peers without ...
    Jitendra BJitendra B
    Sep 10, 2015 at 5:54 am
    Sep 10, 2015 at 11:36 am
  • I've run across something that seems strange to me and I'm hoping someone has seen this before. In SurfShop, you can search the product database by either item #, product name, or full description ...
    Sep 5, 2015 at 10:46 pm
    Sep 8, 2015 at 5:23 pm
  • I have a hash of hashes which I converted to an array of hashes because I needed to access them in a specific sequence. It now looks like my @pagetypes=( {'pagetype'= 'Delivery Note','weight'= ...
    Gary StainburnGary Stainburn
    Sep 3, 2015 at 4:42 pm
    Sep 4, 2015 at 8:25 am
  • Hi! This is not directly a Perl question, but since Perl is the only language I code in, I hope you could help me out. I have a database for a very simple Perl-based Web CMS. The CMS knows only 2 ...
    Alex BeckerAlex Becker
    Apr 10, 2015 at 5:04 pm
    Apr 11, 2015 at 7:49 am
  • Hi Team, I need little bit help. i need to sort a file according to its 3rd column and i need the output. can you please help me on this. Input file we can take anyone either .txt or .xls or .csv ...
    Ayush kabraAyush kabra
    Apr 8, 2015 at 5:40 pm
    Apr 8, 2015 at 7:51 pm
  • Or do you use it with TK? I downloaded Padre and found the examples which included WX. WX seems to be easier to use than TK. Just wondering who uses WX and why. Thank you; Sherman
    Sherman WilldenSherman Willden
    Apr 2, 2015 at 8:07 pm
    Apr 4, 2015 at 5:39 pm
  • Hi List I would like to process a file which has the following structure. SCGR SC DEV DEV1 NUMDEV DCP STATE REASON 1 0 31 1 SCGR SC DEV DEV1 NUMDEV DCP STATE REASON 2 0 31 1 SCGR SC DEV DEV1 NUMDEV ...
    Anirban AdhikaryAnirban Adhikary
    Apr 2, 2015 at 2:44 pm
    Apr 2, 2015 at 5:21 pm
  • Hi there, I have a script where I use croak and somebody else using that script gets Bizarre copy of HASH in list assignment at /usr/share/perl/5.20/Carp.pm line 228. I get a message like this, ...
    Manfred LotzManfred Lotz
    Mar 31, 2015 at 8:34 am
    Mar 31, 2015 at 4:19 pm
  • Hi all Please suggest nice books to know perl interpreter. In depth books is that i am looking for. Thanks Rakesh
    Rakesh sharmaRakesh sharma
    Mar 30, 2015 at 4:43 pm
    Mar 31, 2015 at 11:25 am
  • When i try to install Alias.pm file from environment i was getting an error message as cannot locate alimas.pm file, then i checked in cpan it was showing, In case how to fix this and update the ...
    Frank VinoFrank Vino
    Mar 30, 2015 at 5:16 am
    Mar 30, 2015 at 5:21 am
  • Hi Team, When i trying to install FWConfig.pm from cpan it is saying that unable to locate. Could you please let me know how to download this module? -Franklin
    Frank VinoFrank Vino
    Mar 27, 2015 at 8:30 am
    Mar 27, 2015 at 9:35 pm
  • Hi, We are using otrs help desk system which is in fully perl. We require to append automatic comment when our specific customer raise ticket to us. We have iteam no for each customer.So when ...
    Benjamin FernandisBenjamin Fernandis
    Mar 26, 2015 at 10:54 pm
    Mar 26, 2015 at 11:33 pm
  • Hi List I have a configuration file and I would like to split the main file into multiple small files and push the small temp. files into an array. My config file looks like this ...
    Anirban AdhikaryAnirban Adhikary
    Mar 25, 2015 at 5:08 pm
    Mar 25, 2015 at 7:44 pm
  • Hi Team, How to understand Regular Expression in a easy way? Thanks, Frank
    Frank VinoFrank Vino
    Mar 25, 2015 at 5:01 am
    Mar 25, 2015 at 4:34 pm
  • Hi List I have a file like this. RXMOI:MO=RXOTRX-*473-0*,SC=0,DCP1=178,SIG=SCCONC,DCP2=179&&186,TEI=0; RXMOI:MO=RXOTRX-*473-5*,SC=0,DCP1=223,SIG=SCCONC,DCP2=224&&231,TEI=5 ...
    Anirban AdhikaryAnirban Adhikary
    Mar 24, 2015 at 10:42 am
    Mar 24, 2015 at 4:01 pm
  • I am trying to use perl with mysql. I have a tutorial open which prompted me to perform the following. $ sudo perl -MCPAN -e shell cpan install DBI cpan[2] install DBD::mysql DBI installed. The ...
    Sherman WilldenSherman Willden
    Mar 23, 2015 at 8:43 pm
    Mar 24, 2015 at 2:33 pm
  • Hi Perl GURU, I have a string like this: 'Baseline: (_bMgvUBQ_EeKsP6DECdq0Lg) 1 "Initial Baseline" "Initial Baseline of Component NGP-Diagnostics" Sivakumar Subas Oct 12, 2012 12:35:41 AM'; I’m ...
    Danny Wong (dannwong)Danny Wong (dannwong)
    Mar 19, 2015 at 9:25 pm
    Mar 21, 2015 at 11:51 pm
  • Hi I have a small program listed below where i am writing ping results to a file. The program works file except that the file name in the output file is coming as log_ping_19_Mar_15_11_27_49? (please ...
    Satya Prasad NemanaSatya Prasad Nemana
    Mar 19, 2015 at 6:15 am
    Mar 20, 2015 at 11:43 am
  • Hi , I asked this question on linkedin but I think the best place to get answers is here ... I have a perl cod that check a range of numbers and print for each number if it's prime number or not ...
    Ilan ShlossmanIlan Shlossman
    Mar 15, 2015 at 12:25 am
    Mar 15, 2015 at 1:08 am
  • I am new to Eclipse and Epic so I wrote the below script which I thought would error but it runs. Why? #!/usr/bin/perl use 5.18.2; print "Hello World \n"; print this 1 Thank you; Sherman
    Sherman WilldenSherman Willden
    Mar 14, 2015 at 8:40 pm
    Mar 14, 2015 at 8:57 pm
  • Hi all, I wanted to test what happens if Perl encounters an error when reading a utf8 encoded file. Here a minimal example: #! /usr/bin/perl use strict; use warnings; my $fname = $ARGV[0]; open my ...
    Manfred LotzManfred Lotz
    Mar 14, 2015 at 9:38 am
    Mar 15, 2015 at 2:19 pm
  • I downloaded Eclipse and I was looking at the screens and in general just messing with Eclipse. Now I can't find the first splash screen with the tutorials, samples, and such. Also is there a help ...
    Sherman WilldenSherman Willden
    Mar 13, 2015 at 9:07 pm
    Mar 13, 2015 at 10:57 pm
  • Other than padre..
    Rakesh sharmaRakesh sharma
    Mar 13, 2015 at 11:59 am
    Mar 16, 2015 at 9:13 am
Group Navigation
period‹ prev | Latest | first ›

Top users

Chas Owens: 2148 posts John W . Krahn: 2133 posts John W . Krahn: 2029 posts Jenda: 1851 posts Wiggins: 1664 posts Bob Showalter: 1611 posts Drieux: 1368 posts R. Joseph Newton: 1292 posts Rob Dixon: 1242 posts Dan: 1136 posts Jeff 'japhy/Marillion' Pinyan: 1093 posts Perl: 1091 posts John W. Krahn: 1083 posts Randal L. Schwartz: 1034 posts Peter: 1020 posts Tim Johnson: 993 posts Paul Johnson: 960 posts Gunnar Hjalmarsson: 930 posts Shawn H Corey: 922 posts Tom Phoenix: 906 posts
show more