FAQ

Search Discussions

28,350 discussions - 124,902 posts

  • We've all seen and probably pounded the table a few times when that "Use of uninitialized value" warning pops up. Recently a worker in our group ran a script I wrote and got that warning due to an ...
    Martin G. McCormickMartin G. McCormick
    Dec 10, 2014 at 5:32 pm
    Dec 11, 2014 at 2:03 pm
  • It may be too much to expect that readers will read the code and comments since it is 107 lines long. However: To anyone that lends there time and energy...(thankyou!) The script was written to allow ...
    Harry PutnamHarry Putnam
    Dec 7, 2014 at 7:20 pm
    Dec 8, 2014 at 8:11 pm
  • Hello again! Prompt me please elegant and 'vanilla' way to taint some scalar. My vars lost their taint when I just split external string with regexp on param/val pairs, without checking them for ...
    Артём ВарнайскийАртём Варнайский
    Dec 6, 2014 at 2:48 pm
    Dec 6, 2014 at 10:01 pm
  • Hi All, Could you please let me know please, why this code is not working as I am trying to validate my email id to my mail server? my $ldap_server = "google.com"; # or some local mail server my ...
    Jitendra BarikJitendra Barik
    Dec 5, 2014 at 4:35 am
    Dec 6, 2014 at 9:17 am
  • This is a very old problem that apparently still persists. Some or all gzip files created on Unix can't be unzipped by Archive::Zip (1.38). There are tons of old posts from 2005 that mention this ...
    Mike FlanniganMike Flannigan
    Dec 4, 2014 at 12:13 pm
    Dec 7, 2014 at 7:11 pm
  • HI All, My code is: $version1 = "JITENDRA"; tie @array,Tie::File,"$rtf1" or die($!); for(@array){ #print "Hi"; s/\%VERSIONS\%/$version1/g; } untie(@array); FILE ...
    Jitendra BarikJitendra Barik
    Dec 4, 2014 at 10:36 am
    Dec 5, 2014 at 5:14 pm
  • Hello, #1. Is there a framework to send/receive the large binary data flow? I know thrift can do, but just don't like it. #2. Is there a native perl library to implement the features which 'iostat' ...
    Ken PengKen Peng
    Dec 4, 2014 at 9:32 am
    Dec 4, 2014 at 9:32 am
  • I’m having trouble with setting a field on a web page. Here is how I’m attempting to do this: ## ## fourth page ## ok($mech- form_name('ftp_information'),"getting the ftp_information form") ...
    Patton, Billy NPatton, Billy N
    Dec 3, 2014 at 7:50 pm
    Dec 3, 2014 at 7:50 pm
  • Hi, I'm unable to find informat= ion on this issue. Whenever I try to install Net::IP (to do a simple = DHCP configuration file that will make IP address reservations DNS files th= at will do forward ...
    ZacZac
    Dec 2, 2014 at 10:17 pm
    Dec 2, 2014 at 11:11 pm
  • We run some FreeBSD systems using FreeBSD9.1 and 9.3 and the response to perl -version is: This is perl 5, version 18, subversion 4 (v5.18.4) built for amd64-freebsd-thread-multi On December 1 of ...
    Martin G. McCormickMartin G. McCormick
    Dec 2, 2014 at 5:46 pm
    Dec 2, 2014 at 8:05 pm
  • Hi, For establishing ssh session between client and server, which is better method: 1. Net::SSH2 : http://search.cpan.org/~rkitover/Net-SSH2-0.53/lib/Net/SSH2.pm 2. Expect ...
    Priyal JainPriyal Jain
    Dec 1, 2014 at 9:29 am
    Dec 2, 2014 at 5:23 am
  • Hello! Consider a small perl code below. It should copy text file with removing leading and trailing spaces. while (< ) { s/^s+//; s/s+$//; print $_, "n"; # say; } I run it with "shell" redirection ...
    Hans GinzelHans Ginzel
    Nov 26, 2014 at 1:51 pm
    Nov 26, 2014 at 4:11 pm
  • What version of CGI::Application do you have installed? Assuming the most recent one (https://metacpan.org/source/MARKSTOS/CGI-Application-4.50/lib/CGI/Application.pm), line 1951 is: if ( ...
    John SJ AndersonJohn SJ Anderson
    Nov 25, 2014 at 4:29 pm
    Dec 1, 2014 at 3:52 pm
  • Hi all, this is not strictly related to Perl programming, but I would like to learn a Perl-based configuration management, but according to this page ...
    Luca FerrariLuca Ferrari
    Nov 20, 2014 at 5:16 pm
    Nov 20, 2014 at 10:33 pm
  • Have a hash of arrays.. i.e. $hash{one}[0] = "value 10"; $hash{one}[1] = "value 11"; $hash{one}[2] = "value 11"; $hash{one}[3] = "value 13"; $hash{one}[0] = "value 20"; $hash{one}[1] = "value 21" ...
    Frank K.Frank K.
    Nov 19, 2014 at 11:04 pm
    Nov 20, 2014 at 2:27 am
  • Running this code in Perl: use LWP::Simple; my $url = "http://mywebsite.com/foo.ini"; my $page = get($url); produced this error: sh: -c: line 0: unexpected EOF while looking for matching `'' sh: -c ...
    Kevin WalzerKevin Walzer
    Nov 19, 2014 at 2:23 pm
    Nov 19, 2014 at 2:46 pm
  • I'll probably be battered for general poor perlmanship but still risking posting my whole script (fairly brief). The problem I'm having with it, that I don't see how to debug is that it breaks out on ...
    Harry PutnamHarry Putnam
    Nov 18, 2014 at 10:46 pm
    Dec 6, 2014 at 1:20 pm
  • I am trying to extract a table (<table class="xxxx" <tr <td ...... until </table ) and its content from an HTML file. With the file I have something like this <div id="product" class="product" <table ...
    MimicafeMimicafe
    Nov 18, 2014 at 8:22 pm
    Nov 19, 2014 at 6:57 am
  • Hello all, I have a little home proyect to learn programming using a raspberry with lirc (Lirc::Client), the music player daemon (Net::MPD) and lcdproc ( Net::LCDproc), each component works ...
    Mailing listsMailing lists
    Nov 13, 2014 at 3:44 pm
    Nov 13, 2014 at 6:12 pm
  • I’ve , mistakenly, updated to Mac OS 10.10 Yosemite. That completely caused my app to fail in Apache 2.4. Looks like it might be a version problem for TT.pm I’ve tried to install a new TT.pm from ...
    Patton, Billy NPatton, Billy N
    Nov 12, 2014 at 12:54 pm
    Nov 13, 2014 at 9:24 pm
  • Sam, Shlomi Fish, Kent, thanks for detailed answers and links, this is just what I need. Sam wrote: Sam, I'll try to master dancer by myself, but I'll know where to go if something happens. I'm ...
    Артём ВарнайскийАртём Варнайский
    Nov 9, 2014 at 1:55 pm
    Nov 9, 2014 at 2:45 pm
  • Hi folks! I want to create a news website. Something like a public blog, where everyone, who wants be able to add post to the news line. I want to add new sections later (Job ads, articles on various ...
    Артём ВарнайскийАртём Варнайский
    Nov 8, 2014 at 4:39 pm
    Nov 8, 2014 at 5:09 pm
  • Hi All, I'm reading loads, and loads of very confusing and contradicting information about UTF8 in Perl. A lot of posts are also (rightfully IMHO) stating that UTF8 is an absolute nightmare in Perl ...
    Chris KnipeChris Knipe
    Nov 8, 2014 at 9:53 am
    Nov 11, 2014 at 8:19 am
  • I currently have something like this use MyFoo::ABCBar; use MyFoo::DEFBar; use MyFoo::HIJBar; my $fooABC = MyFoo::ABCBar- new(); … What I would like to do is foreach $pgm ( ‘ABC’ , ‘DEF’ , ‘HIJ’) { ...
    Patton, Billy NPatton, Billy N
    Nov 7, 2014 at 1:18 pm
    Nov 8, 2014 at 4:41 pm
  • Intermittent programming can lead to brain bleed off. In the real script the command is something only found on solaris or any other zfs filesystem so I just used the first simple command I could ...
    Harry PutnamHarry Putnam
    Nov 2, 2014 at 10:22 pm
    Nov 4, 2014 at 6:42 pm
  • Hi! I am trying to connect to a pop3 account to get a count of the unread mail using Net::POP3::SSLWrapper in perl v5.16.2, but it fails with the error Net::POP3: Unexpected EOF on command channel at ...
    Kahawe DawnstriderKahawe Dawnstrider
    Oct 30, 2014 at 11:12 pm
    Oct 30, 2014 at 11:12 pm
  • perl -c adduser gives its first error as "my" variable $new_uid masks earlier declaration in same scope at adduser line 283. First, it doesn't seem to me I'm declaring the variable at all at 283. I ...
    Boylan, RossBoylan, Ross
    Oct 13, 2014 at 8:05 am
    Oct 14, 2014 at 12:40 am
  • Hi all! Similar to my question about the lib folder of a Perl module, I would like to knoe where one should put example scripts in a CPAN distribution. I've seen modules using an eg folder and I'm ...
    Alex BeckerAlex Becker
    Oct 9, 2014 at 8:52 pm
    Oct 10, 2014 at 6:34 am
  • Hi, I develop some scripts which we use with OS crontab to schedule to run certain scripts. Scripts are for backup , VM on/off etc... I want to integrate crontab function within perl script to do ...
    Benjamin FernandisBenjamin Fernandis
    Oct 9, 2014 at 9:19 am
    Oct 9, 2014 at 9:46 pm
  • Hi! When creating the base for a new CPAN module using h2xs (e.g. with the command h2xs -b 5.10 -XA -n Super::Duper::Module), there is a lib folder created. In this lib folder, the name space is ...
    Alex BeckerAlex Becker
    Oct 8, 2014 at 5:59 pm
    Oct 9, 2014 at 8:25 am
  • Hello! Let's consider following strip-down example: # file a.pl use strict; package a; our $var=1; warn "var=$var"; # file b.pl use strict; #no strict qw/vars/; require 'b.pl'; package a; warn ...
    Hans GinzelHans Ginzel
    Oct 8, 2014 at 2:37 pm
    Oct 9, 2014 at 2:46 pm
  • Hello There, I have a text file that is built up as follows: Naam;ISIN;Symbol;Market;Trading Currency IDI;FR0000051393;IDIP;Euronext Paris;EUR BETER BED;NL0000339703;BBED;Euronext Amsterdam;EUR .. ...
    PhilPhil
    Oct 6, 2014 at 10:10 pm
    Oct 7, 2014 at 12:16 am
  • Hi, I have a regex problem. My current working program is like this :- #!/usr/bin/perl *$str='ldap:///uid=user1,ou=People,o=test.com <http://test.com ,mailto:user4@test.com <user4@test.com ...
    Punit jainPunit jain
    Oct 6, 2014 at 4:04 pm
    Oct 6, 2014 at 10:31 pm
  • Hi, Many times I face problem with module installation and then have to go to google and apply trial and error to resolve this permanently, could u please suggest me best and correct method to get ...
    Benjamin FernandisBenjamin Fernandis
    Oct 5, 2014 at 1:32 am
    Oct 9, 2014 at 1:12 pm
  • Is the output of these two lines equivalent? map { $hash- {$_} = shift @record } @{$self- {'FIELDNAMES'}}; $hash- {$_} = shift @record foreach @{$self- {'FIELDNAMES'}}; They appear to be in my ...
    SSC_perlSSC_perl
    Sep 30, 2014 at 9:08 pm
    Oct 1, 2014 at 8:33 pm
  • Hi All, Any good modules or pointers on following topics. 1) logging - for logging errors. 2) exceptions handling. Thank you, -- Santosh
    Santosh KumarSantosh Kumar
    Sep 28, 2014 at 6:55 pm
    Oct 2, 2014 at 6:53 am
  • retrieving the information from the DB in this time delay i.e the time it takes to fetch the data from the server i have to show an ajax activity indicator how can i do this.
    ShardaSharda
    Sep 27, 2014 at 7:44 pm
    Sep 28, 2014 at 1:23 pm
  • Are the packets built with this module using udp or tcp? I have been having mostly excellent results adding and deleting forward and reverse IP addresses using it, but on occasion, things that were ...
    Martin G. McCormickMartin G. McCormick
    Sep 18, 2014 at 2:03 pm
    Sep 18, 2014 at 2:03 pm
  • Dear Jing, I was confused when I started out the regular expression. Many thanks for the kind and detailed explanation. After reading more on perl regex, I think I have a better grasp of the ...
    Viet-Duc LeViet-Duc Le
    Sep 17, 2014 at 4:11 pm
    Sep 17, 2014 at 4:11 pm
  • p{margin:0;padding:0;} Greeting from S. Korea ! I am parsing the output of ffmpeg with perl. Particular, I want to print only these lines among the output and capturing the resolution, i.e ...
    Viet-Duc LeViet-Duc Le
    Sep 17, 2014 at 2:23 am
    Sep 17, 2014 at 9:15 am
  • I just ran across something puzzling. Why are these two statements not equivalent when it comes to warnings? if ($item- {'optionprice'}) { $item- {'unitprice'} += $item- {'optionprice'}; } and $item- ...
    SSC_perlSSC_perl
    Sep 17, 2014 at 12:37 am
    Sep 18, 2014 at 6:22 pm
  • I've got a ZEBRA ZXP Series 1 credit card printer attached to a Win7 PC. By using Word and creating a paper size of 84mm by 54mm I can printer on a card successfully. The cards we will be using are ...
    Gary StainburnGary Stainburn
    Sep 16, 2014 at 12:47 pm
    Sep 16, 2014 at 12:47 pm
  • Confusion on array and list. can anybody explain me the difference between list and arrays. my @xyz = ( 4, 5, 6 ); The right-hand side of the equals sign is a list.here I assign that list to the ...
    Uday VernekarUday Vernekar
    Sep 16, 2014 at 9:23 am
    Sep 16, 2014 at 8:13 pm
  • I have seen some quick help option in some of the interpreters in python like Ipython and bpython. Do we have similar kind of projects or interpreter tools which i can start using in perl. Note: i am ...
    Santosh KumarSantosh Kumar
    Sep 15, 2014 at 3:15 am
    Sep 15, 2014 at 2:18 pm
  • Any good pointers or links on learning perl . Also any good pointer on OOPS concepts.
    Santosh KumarSantosh Kumar
    Sep 13, 2014 at 7:54 am
    Sep 13, 2014 at 4:07 pm
  • I was checking to see how in perl can one quickly test for a file which exists but is empty and found an example so I wrote the following code which seems to work beautifully but it looks a little ...
    Martin G. McCormickMartin G. McCormick
    Sep 11, 2014 at 5:02 pm
    Sep 11, 2014 at 6:04 pm
  • Sorry for a repost so soon, but if you downloaded SurfShop 1.6.0, you were greeted with a 500 error upon installation. Somehow, during the upload, GitHub for Mac corrupted some of the files with ...
    SSC_perlSSC_perl
    Sep 7, 2014 at 12:56 am
    Sep 25, 2014 at 10:40 pm
  • Just a short note to let everyone know that a new version of SurfShop was released to GitHub today. We've added some requested features and made some fixes, as well ...
    SSC_perlSSC_perl
    Sep 3, 2014 at 2:39 am
    Sep 3, 2014 at 2:39 am
  • continuing to play with the cygwin64 perl blead that I built on Aug-12th. I mentioned the strange infinite loop in the questioning of gpg tool; haven't had time to research why that happened, yet ...
    Dave HornerDave Horner
    Sep 1, 2014 at 1:46 pm
    Sep 7, 2014 at 5:05 pm
  • Hello all, I am trying to understand the strangeness encountered when trying to use HTTP 1.1 100 continue status. not by choice mind you; I am not sure why I am getting the 100 continue response, ...
    Dave HornerDave Horner
    Aug 31, 2014 at 2:10 am
    Aug 31, 2014 at 2:10 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: 1241 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: 957 posts Gunnar Hjalmarsson: 930 posts Tom Phoenix: 906 posts Shawn H Corey: 894 posts
show more
Archives