Search Discussions

28,325 discussions - 124,786 posts

  • 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 .. ...
    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 ...
    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.
    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- ...
    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 ...
    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 ...
    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
  • Hi, is there a module available to read configuration files which are like this: arbitrary_denominator-00 | alternate-denominator-00 | alternate-denominator-01 [| ...] { itemA = <some string itemB = ...
    Aug 30, 2014 at 6:39 pm
    Sep 7, 2014 at 4:10 pm
  • Hi All, I've looked at Net::Server (and have my "new" server with some 20K lines of code written in it that we're currently finalising), POE, and a few other things, but I cannot find what I am ...
    Chris KnipeChris Knipe
    Aug 28, 2014 at 2:19 pm
    Sep 8, 2014 at 11:53 am
  • Hi all, like the title mentions this a short essay with a two-fold message. It is posted only to <span class="m_body_email_addr" title="79a74439bb05748df29a2a6f6f53dc84" beginners@perl.org</span (for ...
    Shlomi FishShlomi Fish
    Aug 28, 2014 at 9:12 am
    Aug 28, 2014 at 3:48 pm
  • Summary. PerlWizard <http://www.rtbaileyphd.com/perlwizard quickly generates front ends for user-friendly Perl scripts for Unix and Windows, with emphasis on the user interface, managing defaults ...
    Richard BaileyRichard Bailey
    Aug 26, 2014 at 1:45 am
    Aug 26, 2014 at 1:45 am
  • Looking at ping in perl. http://perldoc.perl.org/Net/Ping.html Ii do not see a way to ping with a pattern the way it is allowed under shell with -p ...
    Aug 24, 2014 at 5:03 pm
    Aug 24, 2014 at 5:03 pm
  • Hi, Hi, I have some sample code that posts some XML content to an URL using LWP agent and XML Smart. The response to this comes back as some custom XML. I now need to try and parse the response and ...
    Aug 22, 2014 at 10:27 am
    Aug 25, 2014 at 9:56 am
  • Hi Perl Gurus, What is the best module to use to read incoming emails from a particular user? Any examples would be great to! Thanks!
    Danny Wong (dannwong)Danny Wong (dannwong)
    Aug 22, 2014 at 12:52 am
    Aug 31, 2014 at 1:28 pm
  • Hi, I think I may have issues with the encoding in the perl below. Trying to monitor the http request/response using Fiddler I see some content length warnings at times. I also think there may be an ...
    Aug 21, 2014 at 8:55 am
    Aug 21, 2014 at 8:55 am
  • I am trying to recreate some code written in C# using perl. The goal is to create an XML formatted login packet and post it to http webserver and then parse the response. My first hurdle I think is ...
    Aug 20, 2014 at 10:26 am
    Aug 20, 2014 at 10:26 am
  • Hello, there are many very good examples on how to execute perl code from C. For example the following tutorial is very helpful: http://perldoc.perl.org/perlembed.html But it only shows calling from ...
    Manuel ReimerManuel Reimer
    Aug 19, 2014 at 4:12 pm
    Aug 20, 2014 at 6:54 pm
  • Hello, sub myfunc { my @x=(1,2,3); return \@x; } # or, sub myfunc { my @x=(1,2,3); return [@x]; } which one is the better way to return the list content? And if the method is an instance method? ...
    Ken PengKen Peng
    Aug 18, 2014 at 8:18 am
    Sep 13, 2014 at 3:40 am
  • blead perl cygwin dl library missing || strawberry perl mingw and cygwin don't mixby default cygwin will import the path of the system into the cygwin shell. I found that I could not build perl build ...
    Dave HornerDave Horner
    Aug 12, 2014 at 8:50 pm
    Aug 12, 2014 at 8:50 pm
  • hello everyone, work on this perl quest: https://questhub.io/realm/perl/quest/53d39f40b587a43011000143 trying to get cygwin64 perl blead smoking. still working my way through that tutorial with ...
    Dave HornerDave Horner
    Aug 11, 2014 at 5:51 am
    Aug 11, 2014 at 5:51 am
  • Hi All, please help me in understanding this script. ##1./dbopt/mounts/apps/irfora/utils/scr use DBI; use lib "$ENV{IRF_ORA_HOME}/utils/scr"; use UTILS_ORA('mailing', 'db_connect');--The script ...
    Uday VernekarUday Vernekar
    Aug 9, 2014 at 4:33 am
    Aug 11, 2014 at 10:50 am
  • Hi all, I have a Scala/Java Tomcat WebSocket server that I would like to test, Perl Integration-Testes will run after my Scala Unit-Tests. To do that, I would like to use a Perl system that would ...
    Marcos rebeloMarcos rebelo
    Aug 7, 2014 at 12:56 pm
    Aug 7, 2014 at 12:56 pm
  • I installed strawberry perl, edited out all my feeble attempts at troubleshooting, and -- voila! --, it's working. Thanks for all your help and encouragement. At my age, I'll never be a perl ...
    Aug 6, 2014 at 9:43 pm
    Aug 22, 2014 at 1:14 pm
  • The program begins #!/usr/bin/perl use Tie::File; use File::Copy 'copy'; use File::Spec; my $copy="000000-copy.htm"; my $recapfile="000000recap.txt"; my $htmfile="000000.htm"; my $ct; tie my @bfile, ...
    Aug 6, 2014 at 6:54 pm
    Aug 6, 2014 at 7:19 pm
  • Which perl should I (an occaisonal perl user, a rare perl programmer) use? I see cygwin strawberry perl activestate perl dwim perl ??? Thanks.
    Aug 5, 2014 at 9:20 pm
    Aug 6, 2014 at 6:10 pm
  • When I think of the word "beginners", I think of people starting out to learn perl and looking for advice. I'm actually not a beginner but a sort of "returner". Almost 80 years old, I use an ...
    Aug 2, 2014 at 7:01 pm
    Aug 2, 2014 at 8:02 pm
  • 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 ...
    Jul 31, 2014 at 4:01 pm
    Aug 1, 2014 at 9:21 am
  • 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
    Aug 6, 2014 at 2:56 am
  • 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 ...
    Jul 28, 2014 at 10:59 pm
    Jul 30, 2014 at 5:10 pm
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: 1240 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: 956 posts Gunnar Hjalmarsson: 930 posts Tom Phoenix: 906 posts Shawn H Corey: 889 posts
show more