FAQ

Search Discussions

28,271 discussions - 124,548 posts

  • 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 21, 2014 at 11:46 pm
  • 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 22, 2014 at 5:42 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
  • I see a lot of modules for curl, like LWP::Curl, Net::Curl, WWW::Curl etc. I wonder which of these will most closely mimic the functions provided by the curl command? For example, this curl command ...
    Unknown UserUnknown User
    May 28, 2014 at 5:03 pm
    May 28, 2014 at 5:07 pm
  • Hi I have about 300 + ip regex in my apache file like this 11\.45\.3[2-9]\..*$ ^11\.45\.4[0-9]\..*$ ^11\.45\.5[0-9]\..*$ I have to convert like this into CIDR . · 11.45.32.0/21 · 11.45.40.0/21 · ...
    Agnello GeorgeAgnello George
    May 28, 2014 at 8:08 am
    May 28, 2014 at 8:30 am
  • I have multiple processes running cygwin/bash that= are accessing the same files in a certain directory.I want to c= reate a lock or semaphore or gate to serialize access to this directory so = that ...
    SiegfriedSiegfried
    May 24, 2014 at 4:40 pm
    May 24, 2014 at 6:10 pm
  • Disclaimer: I am 67 and not in school. I am doing this for my own satisfaction. How do I get a new line at the end of a non-quoted text. I am doing the following: Use Math::Trig; print pi * 2; print ...
    Sherman WilldenSherman Willden
    May 23, 2014 at 9:45 pm
    May 23, 2014 at 11:08 pm
  • Hi there, I want to check if a file is a plain file but not a symlink. It seems because -f returns true for a symlink that I have to do this: my $fname = 'somefile'; if ( -f $fname and not -l $fname ...
    Manfred LotzManfred Lotz
    May 22, 2014 at 8:40 pm
    May 23, 2014 at 4:20 am
  • I need to extract some information from source code.
    SiegfriedSiegfried
    May 22, 2014 at 9:04 am
    May 23, 2014 at 12:03 pm
  • Hi I just came across this special var $| , autoflush , jsut wondering how and where to use this . Can some one help me understand the concrete use of this special var. Thanks -- Regards Agnello ...
    Agnello GeorgeAgnello George
    May 22, 2014 at 6:13 am
    May 22, 2014 at 7:16 am
  • Hello members, I run this command to install Starman webserver working along with Dancer. $ sudo cpanm Starman This run successfully. Then I take a look at the source of Starman, found it has only 6 ...
    Yonghua PengYonghua Peng
    May 22, 2014 at 2:51 am
    May 22, 2014 at 4:00 am
  • I have a large perl script that checks clean when running perl -c scriptname. It also executes when called without throwing error messages but suddenly, any line I give it while in the debugger ...
    Martin G. McCormickMartin G. McCormick
    May 22, 2014 at 1:41 am
    May 22, 2014 at 6:13 am
  • Hello, Do you know why these days cpan.org has been unavailable? I always got: 503 Service Unavailable No server is available to handle this request. Thanks. 
    Yonghua PengYonghua Peng
    May 21, 2014 at 1:22 am
    May 21, 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: 1231 posts Dan: 1136 posts Jeff 'japhy/Marillion' Pinyan: 1093 posts Perl: 1091 posts John W. Krahn: 1081 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