FAQ

Search Discussions

28,281 discussions - 124,605 posts

  • Hi I receive error when calling GitHub API from Perl (LWP). Basically, the problemis authentication failure, although the username and password combination is valid. In the code snippet below, I have ...
    MimicafeMimicafe
    Jul 31, 2014 at 4:01 pm
    Jul 31, 2014 at 10:29 pm
  • I thought I was loosing my mind. Please read everything. John SJ Anderson writes: You don't know how helpful this was because when I put unless in there, it still always succeeded so it was time to ...
    Martin G. McCormickMartin G. McCormick
    Jul 31, 2014 at 2:44 pm
    Jul 31, 2014 at 2:44 pm
  • There are two arrays or lists. One is called @from_addresses and the other is @destinations. For the program to work, there must be at least one, possibly many strings in each of those arrays. Never ...
    Martin G. McCormickMartin G. McCormick
    Jul 30, 2014 at 6:27 pm
    Jul 30, 2014 at 8:58 pm
  • I pay about $8 per month for a shared server hosting at Hostgator. I recently asked Hostgator to install Mojolicious on my account because I wanted to migrate away from CGI. Hostgator tells me they ...
    Mike FlanniganMike Flannigan
    Jul 29, 2014 at 11:18 pm
    Jul 31, 2014 at 11:55 am
  • I think I've isolated the section that is not doing what I want. open (FHIN, "$recapfile") or die $!; my $indexb; ## for the recapfile array my $ofile; # Create new array containing all the lines of ...
    Peter HolsbergPeter Holsberg
    Jul 29, 2014 at 7:39 pm
    Jul 31, 2014 at 7:58 pm
  • Suddenly, without warning or error messages, the script below is producing null for values of $hfile and $bfile! The script begins: #!/usr/bin/perl use Tie::File; use File::Copy 'copy'; use ...
    ESChampESChamp
    Jul 28, 2014 at 10:59 pm
    Jul 30, 2014 at 5:10 pm
  • One thing I just started working with is the anonymous subroutine as in $stringmuncher = sub { .... }; It lets one execute the same code multiple times from other code in the same scope without ...
    Martin G. McCormickMartin G. McCormick
    Jul 28, 2014 at 4:56 pm
    Jul 28, 2014 at 4:56 pm
  • Hi All, I have the odd (very rare) case where I am given a date in an incorrect format. I already use Date::Parse to convert the dates to a unix timestamp, and it's working incredibly well. However, ...
    Chris KnipeChris Knipe
    Jul 25, 2014 at 4:54 pm
    Jul 26, 2014 at 8:59 am
  • Dear list, Is that someone could take a look at this problem ? Thanks a lot, -- ------------------- Dr. Mohamed Houssni
    Mohamed HOUSSNIMohamed HOUSSNI
    Jul 23, 2014 at 1:07 pm
    Jul 24, 2014 at 1:25 pm
  • I checked CPAN for remove duplicate lines and only found Code::CutNPaste which doesn't sound like what I want. So I will build what I want although I'm sure it's out there somewhere. I have several ...
    Sherman WilldenSherman Willden
    Jul 21, 2014 at 10:01 pm
    Jul 22, 2014 at 12:21 am
  • I'm not a programmer so I apologize if I'm on the wrong list but I'm looking for some assistance in installing File::Scan::ClamAV. I've tried multiple ways, CPAN and from source, to install this and ...
    ChrisChris
    Jul 21, 2014 at 6:05 pm
    Jul 24, 2014 at 2:35 am
  • Hi All, I am currently learing perl and was trying command line switches but It is not working in window7 and 8. Can any one help me out about this. I am really stuck here. I tried following ...
    Purvee VoraPurvee Vora
    Jul 21, 2014 at 5:25 am
    Jul 21, 2014 at 8:10 am
  • Hi Perl! I recently was applying for jobs and did the following implementation for the problem below: https://github.com/kthakore/InterviewProblems I was wondering if I could get some critique of my ...
    Kartik ThakoreKartik Thakore
    Jul 19, 2014 at 10:12 pm
    Jul 19, 2014 at 10:12 pm
  • First my usage: Single user machines, home lan and basic networking. My specific perl usage is as often just something I want to do as it is some system oriented scripting. ------- ------- ---=--- ...
    Harry PutnamHarry Putnam
    Jul 19, 2014 at 9:34 pm
    Jul 26, 2014 at 1:43 pm
  • Hi, I was trying to embed a ssh key in a script and pass it via stdin (unfortunately not directly supported by ssh). Investigating ways how this can be done, I ran into a curiosity. With bash, the ...
    Gator_mlGator_ml
    Jul 19, 2014 at 9:32 pm
    Jul 19, 2014 at 9:42 pm
  • Hi, I installed Ecplise standard version but auto completion of syntax is not working while pressing CTL + SPACE key. Is there any configuration required for this ? Any other good IDE for beginner ? ...
    Benjamin FernandisBenjamin Fernandis
    Jul 15, 2014 at 7:41 am
    Jul 15, 2014 at 11:23 pm
  • Hi, I got below error while installing Devel::Trace module to trace each line of script like sh -x. [root@ahc151l backup]# cpan Terminal does not support AddHistory. cpan shell -- CPAN exploration ...
    Benjamin FernandisBenjamin Fernandis
    Jul 14, 2014 at 12:07 pm
    Jul 14, 2014 at 11:04 pm
  • I apologize for having to ask this but my nearly-80-year-old brain just could not come up with a solution. I have a text file consisting of several space-separated fields: lastname firstname other ...
    ESChampESChamp
    Jul 13, 2014 at 8:43 pm
    Jul 17, 2014 at 5:47 pm
  • I want to write a script which will verify a valid email address . Could anybody give some ideas , how to write a pattern for this ? -Sunita
    Sunita PradhanSunita Pradhan
    Jul 10, 2014 at 6:30 pm
    Jul 11, 2014 at 10:29 am
  • I'm having a problem creating a hash of arrays. The while loop below works, but it's working too well. ;) Instead of giving me 5 values (from the example data below), it's giving me 25. I don't ...
    SSC_perlSSC_perl
    Jul 10, 2014 at 2:00 am
    Jul 10, 2014 at 6:25 pm
  • hi, i have an array of arrays which contains equal elements. I would like to isolate the unique values. I have tried using the uniq method of List::MoreUtils but it apparently does not work with an ...
    Natxo AsenjoNatxo Asenjo
    Jul 9, 2014 at 8:20 pm
    Jul 10, 2014 at 8:37 pm
  • Hi All, Currently I am using perl 5, version 12, subversion 4 (v5.12.4) Kindly suggest on how to upgrade to latest version of Perl with regards Uday V G -- ...
    Uday VernekarUday Vernekar
    Jul 8, 2014 at 12:20 pm
    Jul 8, 2014 at 1:56 pm
  • Hi there, I'm not able to install any perl modules on one of my RedHat 6.5 servers. Hereunder the issue: [root@xxx jmx4perl-1.10]#cpan Config::General CPAN: Storable loaded ok (v2.20) Going to read ...
    Bob SauvageBob Sauvage
    Jul 8, 2014 at 10:07 am
    Jul 9, 2014 at 6:23 am
  • Not sure why it hasn't, but that problem really should have been resolved by your cpan client. runtime.requires does indeed declare it properly ...
    Kent FredricKent Fredric
    Jul 8, 2014 at 8:14 am
    Jul 8, 2014 at 8:14 am
  • Hi there! I've developed a module for fvwm-perllib using it with Fvwm-Nightshade. It works fine if I copying it to the lib location. Now I want to install it with Fvwm-Nightshade. This is fine as the ...
    Thomas FunkThomas Funk
    Jul 7, 2014 at 12:08 pm
    Jul 7, 2014 at 5:03 pm
  • I have a file of contents: ----------- 1 6 2 7 3 8 4 9 5 10 ---------- I want a file with content: 1 2 3 4 5 6 7 8 9 10 -------- I have written a few lines of following code but it does not work as ...
    Sunita PradhanSunita Pradhan
    Jul 7, 2014 at 8:18 am
    Jul 8, 2014 at 7:00 am
  • I have a set of code for count number of lines and number of words . #!/usr/bin/perl while ($line = <STDIN ){ chomp ($line); $hash{L_c_start}++ if ($line =~ /^C.*/i); @words = split /\s+/,$line ...
    Sunita PradhanSunita Pradhan
    Jul 5, 2014 at 2:31 pm
    Jul 6, 2014 at 12:36 am
  • Hello all, I'm currently using Perl CGI to generate a "Results" webpage. This results webpage specifies unique directories generated within the script and print these in between the blocks of html so ...
    James KerwinJames Kerwin
    Jul 3, 2014 at 4:16 pm
    Jul 5, 2014 at 5:29 am
  • Hi I want to count number of occurrences of one word in a line within one single line of perl script . My code : $c++ if ($line =~ /\s+$w\s+/g); print "count $c\n"; It always return one even if $line ...
    Sunita PradhanSunita Pradhan
    Jun 30, 2014 at 6:57 pm
    Jun 30, 2014 at 10:38 pm
  • I don't have a lot of info to go on just yet, so please bear with me. I'm experiencing a problem with a blank screen on a certain install of SurfShop. When on a product detail page that has options, ...
    SSC_perlSSC_perl
    Jun 27, 2014 at 11:34 pm
    Jun 28, 2014 at 8:36 pm
  • The following program works great inside of IIS when called from internet explorer (IE). It also works great if I remove the comment characters ("#") in column 1 and run it at the cygwin bash command ...
    SiegfriedSiegfried
    Jun 26, 2014 at 2:53 am
    Jun 26, 2014 at 1:31 pm
  • Hi All, I have following Pattern from which I need to grep only the Fail count and store that in a variable. U/A/S|Test| Test |Loop | Run |Pass |Fail | Arguments 0| (none) based on fail count value ...
    Uday VernekarUday Vernekar
    Jun 23, 2014 at 9:43 am
    Jul 1, 2014 at 1:03 pm
  • Here is my code where i want to print one hash with one key undefined . I have condition print if key exist . I guess it should not print value for undefined key , but it does . #!/usr/bin/perl -w ...
    Sunita PradhanSunita Pradhan
    Jun 23, 2014 at 7:19 am
    Jun 23, 2014 at 8:36 am
  • I have following code for printing a simple hash. #!/usr/bin/perl -w %hash = ("abc" = 123, "dfg" = 456, "xsd" = 34); foreach $k (keys %hash){ print "key $k:: value $hash{$k}\n"; } It does not print ...
    Sunita PradhanSunita Pradhan
    Jun 22, 2014 at 8:01 pm
    Jun 23, 2014 at 2:46 am
  • What's the best way to stop undefined warnings for code like this: $data- {'image'} = CopyTempFile('image') if ($main::global- {'admin'} && $main::global- {'form'}- {'image_upload'} ne ''); CGI::Carp ...
    SSC_perlSSC_perl
    Jun 17, 2014 at 8:02 pm
    Jun 23, 2014 at 8:31 pm
  • Hi, I know nothing about perl and I have a problem with a cgi script for a website called geneweb (genealogy stuff). I moved from one web site to another and now the site does not work and give me a ...
    Philippe RousselotPhilippe Rousselot
    Jun 17, 2014 at 8:10 am
    Jun 19, 2014 at 5:08 am
  • hi, right now I am having a bit of a problem getting this built. I have installed built perl 5.20 using perlbrew and gcc-4.8.1. # perl -v This is perl 5, version 20, subversion 0 (v5.20.0) built for ...
    Natxo AsenjoNatxo Asenjo
    Jun 15, 2014 at 8:41 pm
    Jun 15, 2014 at 8:41 pm
  • Hello. I'm building an application in Perl and is looking into using a build system for it. So far I've looked at ExtUtils::MakeMaker. I have divided my application like this: bin/foo lib/Foo/Bar.pm ...
    DrupsspenDrupsspen
    Jun 15, 2014 at 6:38 pm
    Jun 16, 2014 at 9:38 am
  • Hi, I am having a trouble installing any module with cpanm in perlbrew perl-5.20.0 in an test1 local lib. Below I am pasting the verbose. Please help me to solve this ...
    Subinoy BiswasSubinoy Biswas
    Jun 15, 2014 at 5:32 pm
    Jun 15, 2014 at 6:22 pm
  • Hello, I am attempting to install Alien SVN::Core from source. I have subversion 1.8.9 apr 1.5.1 and apr-util 1.5.1 And when I run perl Build.PL this is the error I get: configure: Apache Portable ...
    Tim DunphyTim Dunphy
    Jun 13, 2014 at 10:45 pm
    Jun 15, 2014 at 8:23 pm
  • Hi Team, Could you please let me know which publisher and author name are good in Perl Book, I am planning to buy a hard copy. Thanks, Vino
    Frank VinoFrank Vino
    Jun 11, 2014 at 10:23 am
    Jun 11, 2014 at 3:31 pm
  • Hello, I uploaded my module in CPAN on 02June,2014 http://search.cpan.org/search?mode=all&query=Net%3A%3ANetconf but while installing my module using cpan i.e. "cpan Net::Netconf" its giving warning ...
    Priyal JainPriyal Jain
    Jun 11, 2014 at 4:47 am
    Jun 11, 2014 at 5:07 am
  • Hi All; how to create a text progress status line that updates on the same line in Perl? I know that this questions is probably not well-posed, but I hope you get what I'm after. I'd like to do what ...
    Kenneth WolcottKenneth Wolcott
    Jun 10, 2014 at 9:59 pm
    Jun 11, 2014 at 12:04 am
  • Hello everyone. Can anyone point me in the direction of a module that will allow me to grab HTML fields and return them as a hash? Thanks.
    MikeMike
    Jun 9, 2014 at 7:25 pm
    Jun 10, 2014 at 11:20 am
  • Hello, Do you know if there is a *portable* way in Perl for working with filenames with Unicode chars? I mean, I need to create/rename/move/copy/modify/delete files. It should work at least under ...
    Octavian RasnitaOctavian Rasnita
    Jun 9, 2014 at 6:12 am
    Jun 9, 2014 at 6:12 am
  • I know CGI and have a few scripts running on my Hostgator account. I want to learn PSGI and Plack and have been studying up on it. I have a PSGI file and I can plackup it on my computer and access it ...
    Mike FlanniganMike Flannigan
    Jun 9, 2014 at 1:10 am
    Jun 9, 2014 at 1:10 am
  • Hello, I am uploading my module Net::Netconf, after making changes in cpan. But it is giving below error. I cross checked my module and it is complete and has all the dependency, do not know why it ...
    Priyal JainPriyal Jain
    Jun 2, 2014 at 11:17 am
    Jun 5, 2014 at 6:34 am
  • Hello all, long time lurker, first time requester... I have a Perl exam tomorrow and came across a question that I just cannot find an answer to (past paper, this isn't cheating or homework etc.) ...
    James KerwinJames Kerwin
    May 29, 2014 at 8:20 pm
    May 29, 2014 at 11:20 pm
  • Hello, I want to change my username in PAUSE, how should I do that. Thanks Regards Priyal
    Priyal JainPriyal Jain
    May 29, 2014 at 11:00 am
    May 29, 2014 at 11:44 am
  • Hello, I have uploaded my Perl module in CPAN, http://search.cpan.org/search?mode=all&query=net%3A%3Anetconf, but when I am trying to install it using 'cpan Net::netconf' its saying don't know what ...
    Priyal JainPriyal Jain
    May 29, 2014 at 5:32 am
    May 29, 2014 at 7:59 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: 1232 posts Dan: 1136 posts Jeff 'japhy/Marillion' Pinyan: 1093 posts Perl: 1091 posts John W. Krahn: 1082 posts Randal L. Schwartz: 1034 posts Peter: 1020 posts Tim Johnson: 993 posts Paul Johnson: 951 posts Gunnar Hjalmarsson: 930 posts Tom Phoenix: 906 posts Jeff 'japhy' Pinyan: 889 posts
show more
Archives