FAQ

Search Discussions

28,480 discussions - 125,574 posts

  • Here is a list of Perl links: Official site http://www.perl.org/ Beginners' help http://learn.perl.org/faq/beginners.html Advance help http://perlmonks.org/ News http://perlsphere.net/ Documentation ...
    Shawn H CoreyShawn H Corey
    May 30, 2016 at 11:59 am
    May 30, 2016 at 11:59 am
  • I am getting no response from this post on the FreeBSD Forums: https://forums.freebsd.org/threads/56291/ If I try to execute a simple perl script that utilizes the DBI, the following error ...
    Ron WingfieldRon Wingfield
    May 17, 2016 at 7:15 pm
    May 17, 2016 at 7:15 pm
  • Hi Please advise, I can't unsuscribe from this mail list Thanks Ilan
    Ilan ShlossmanIlan Shlossman
    May 15, 2016 at 5:26 am
    May 15, 2016 at 9:15 am
  • I wrote this scrpt to fork off a few child processes, then the child processes process some data, and send the data back to the parent through a tcp socket. This is not working as i expected it ...
    Unknown UserUnknown User
    May 13, 2016 at 3:30 pm
    May 16, 2016 at 2:17 pm
  • ... I appreciate perl for: $dbh- do("INSERT INTO $T_ENTRIES (" . join(', ', map($dbh- quote_identifier($_), $cgi- param)) . ') VALUES (' . join(', ', map($dbh- quote($_), map($cgi- param($_), $cgi- ...
    LeeLee
    May 13, 2016 at 12:05 am
    May 15, 2016 at 2:00 am
  • sorry but i think this is way beyond a beginner's question. you should write to the perl5 porters list <span class="m_body_email_addr" title="09202e8285795619cb58a6e55f7a43ce" ...
    Uri GuttmanUri Guttman
    May 12, 2016 at 8:24 pm
    May 12, 2016 at 8:24 pm
  • What are the best practices for working with binary data? If I read a span of binary data, say, into $packet like with read() below my ( $packet_size, $packet ); read( $client_socket, $packet_size, 4 ...
    Lars NoodénLars Noodén
    Mar 31, 2016 at 10:49 am
    Mar 31, 2016 at 11:38 am
  • Hi All, Can you please help me to grep below 'block of text' from my file ? this blocks occurs number of time & I want to grep all in between lines of this block - first line is having - retr_test ...
    Prashant ThoratPrashant Thorat
    Mar 18, 2016 at 1:37 pm
    Mar 19, 2016 at 4:59 am
  • Hi, I'd like to write a plugin for an IRC bot (which is based on POE::Component::IRC) using POE::Component::IRC::Plugin. I want it to do the following (this is a simplified version of what I actually ...
    Pablo báezPablo báez
    Mar 16, 2016 at 5:42 am
    Mar 29, 2016 at 2:09 pm
  • From time to time a student asks me a question and answering it turns into a blog post. It just occurred to me that these answers might be useful to some of the people on this list ...
    Andrew SolomonAndrew Solomon
    Mar 13, 2016 at 3:27 pm
    Mar 13, 2016 at 3:27 pm
  • If I have the code below to fork a child process, how would the right way be to fork as a different user? I gather that fork() itself does not support that, so some other method must be used ...
    Lars NoodénLars Noodén
    Mar 11, 2016 at 6:22 pm
    Mar 14, 2016 at 10:59 am
  • Hello teachers, I'm converting a simple perl multimedia script to an event based one, but it seems that I'm missing something very basic because I'm unable to make it work. The script receives ...
    Mailing listsMailing lists
    Mar 10, 2016 at 10:44 am
    Mar 10, 2016 at 10:44 am
  • Hi all, I'm building my own robot to do some stuff with a few interactive pages. Since I know that, after filling a form and hitting the button, I'll be redirected to another form/page to fill and so ...
    Luca FerrariLuca Ferrari
    Mar 9, 2016 at 4:36 pm
    Mar 9, 2016 at 4:36 pm
  • Hi; How do I call the built-in Perl sort function on an array of strings where the string is composed of one or more digits, followed by a tab which is followed by a string and I want the results to ...
    Kenneth WolcottKenneth Wolcott
    Mar 8, 2016 at 9:29 pm
    Mar 9, 2016 at 2:19 pm
  • Hi; What is the Perl equivalent of "net user username \domain" if I am on Linux or Mac? None of our Linux or Mac machines are a member of the specific domain in question. Do have to obtain the name ...
    Kenneth WolcottKenneth Wolcott
    Mar 7, 2016 at 8:02 pm
    Mar 7, 2016 at 8:02 pm
  • #copies 1 file to another use warnings; use File::Copy; copy("FILE1.txt","new_file.txt"); This script works if FILE1.txt is in current directory of windows but when i try to give a full path to a ...
    Arghya DasArghya Das
    Mar 2, 2016 at 10:40 am
    Mar 2, 2016 at 11:19 am
  • use warnings; $dir = "c:/folder/*";my @files = glob( $dir ); foreach (@files ){ print $_ . "\n";} i am trying to read windows directory using above code but it gives errors in recognising tthe ...
    Arghya DasArghya Das
    Mar 1, 2016 at 10:23 am
    Mar 13, 2016 at 3:26 pm
  • $num = 1234; $sum = 0; while ( $num != 0) { $rem = $num % 10; $sum = ( $sum * 10 ) + $rem; $num = $num / 10; } print $sum; please tell what is wrong with the reverse number code . It prints Infinity.
    Arghya DasArghya Das
    Mar 1, 2016 at 6:35 am
    Mar 1, 2016 at 12:35 pm
  • Hi; Can the Perl module Date::Calc be added to Cygwin please? Thanks, Ken Wolcott
    Kenneth WolcottKenneth Wolcott
    Feb 29, 2016 at 12:23 am
    Feb 29, 2016 at 3:56 am
  • HI all I am using object oriented perl and saw return self as well as bless being used According to docs bless returns the reference to self. Why should we use both statements in the new method Sent ...
    Rakesh sharmaRakesh sharma
    Feb 28, 2016 at 8:59 am
    Feb 28, 2016 at 1:04 pm
  • Hi; This seems like a very simple concept, but I'm not getting it, so I'd like some help. So part of this is perl (not understanding readdir and/or glob well enough) and part of it is not getting the ...
    Kenneth WolcottKenneth Wolcott
    Feb 24, 2016 at 2:35 am
    Feb 24, 2016 at 6:18 pm
  • Hi; bash file completion seems to fail for perl -d but works for perl -wc This seems to be the case for Cygwin, Debian and Mac. Does anyone know how to add support for this or am I missing something ...
    Kenneth WolcottKenneth Wolcott
    Feb 19, 2016 at 11:39 pm
    Feb 20, 2016 at 6:08 pm
  • Hi, Are there any Cache::* modules that are thread safe and can be used with Threading? Using Cache::Memory (even specifying the same NameSpace), two or more threads can't access the same keys in the ...
    Chris KnipeChris Knipe
    Feb 18, 2016 at 2:16 pm
    Feb 20, 2016 at 9:26 am
  • Hello! I have the following data(sanitized) : print Dumper \%vars $VAR1 = { 'group1' = '10.100.27.52', 'group2' = '10.100.27.53', 'group3' = '10.100.27.54', 'group4' = '10.100.27.55', 'group5' = ...
    Vincent LequertierVincent Lequertier
    Feb 17, 2016 at 11:16 am
    Feb 22, 2016 at 8:21 am
  • Hi, is there a way to disable the annoying warnings about carp and cgi which cgi programs write to the web-server's log file in a general way rather than per program? Same goes for smartmatch ...
    LeeLee
    Feb 13, 2016 at 1:18 pm
    Feb 20, 2016 at 9:26 am
  • Hi, how can I make it so that my cgi program displays information on a web page it sends to a user's web browser /and/ then makes the browser's download dialog-box come up to let the user download a ...
    LeeLee
    Feb 13, 2016 at 1:18 pm
    Feb 16, 2016 at 9:33 pm
  • Afternoon all, I have the following problem: I have an array containing a list of non-unique strings. eg: @array Contains: 111111_ 222222_ 333333_ 333333_ 333333_ 444444_ 444444_ 555555_ What I would ...
    James KerwinJames Kerwin
    Feb 9, 2016 at 2:08 pm
    Feb 12, 2016 at 9:17 pm
  • Can someone help me to understand this? #!/usr/bin/perl use strict; use warnings; my $s='\\n'; print $s; Output: \n Expected output: \\n TIA Jorge Almeida
    Jorge AlmeidaJorge Almeida
    Jan 29, 2016 at 8:39 am
    Jan 29, 2016 at 11:19 am
  • Hi Team, could you please let me? i have a file which contains "Debug", i would like to replace debug to "Error", when i ran the below program the out showing Error message but how to save the output ...
    Frank LarryFrank Larry
    Jan 28, 2016 at 9:37 am
    Feb 3, 2016 at 3:13 am
  • I'm trying to find a way to trap bad item numbers. I want to parse the parameter "itemid=" and then everything up to either an "&" or end-of-string. A good item number will contain only ASCII ...
    SSC_perlSSC_perl
    Jan 26, 2016 at 12:16 am
    Jan 27, 2016 at 9:31 pm
  • Hi Kent, Thanks for your time, seems everyone works late (or early) around here. I don't know if just Cc'ing <span class="m_body_email_addr" title="79a74439bb05748df29a2a6f6f53dc84" ...
    FrederikFrederik
    Jan 23, 2016 at 8:41 am
    Jan 23, 2016 at 8:41 am
  • Hi, how do I arrange two (text) input fields side by side rather than one underneath the other? How do I automatically set the cursor into a particular field when the form is loaded so that keyboard ...
    LeeLee
    Jan 22, 2016 at 9:56 pm
    Jan 22, 2016 at 9:56 pm
  • Hi all, I am trying to execute some perl scripts. I am getting following error. But other user in the same server are not getting the error. So can anybody help me understanding this problem. And why ...
    Ankita RathAnkita Rath
    Jan 6, 2016 at 3:34 pm
    Jan 7, 2016 at 9:44 am
  • Hi, I am trying to retrieve the port details by the process id as like below, but it fails. my $port = `ss -l -p -n | grep $pid| grep -v grep 2 &1`; When I manually issue the command with the pid, it ...
    Perl kamalPerl kamal
    Dec 23, 2015 at 2:28 pm
    Jan 4, 2016 at 1:51 pm
  • Hi Folks I need write a simple report from a CSV file containing users and passwords for a bunch of random users for using in a public wifi system, additionally put a qrcode in the report for easy ...
    Francisco Valladolid H.Francisco Valladolid H.
    Dec 20, 2015 at 6:41 am
    Dec 21, 2015 at 11:13 am
  • ++Subject & Thanks.
    Perl kamalPerl kamal
    Dec 16, 2015 at 7:40 pm
    Dec 17, 2015 at 3:40 am
  • Hi All, Please let me know difference between Perl 5 and Perl 6? -- Regards, Jitendra
    Jitendra BarikJitendra Barik
    Dec 15, 2015 at 8:59 am
    Dec 16, 2015 at 9:54 am
  • Hi, Did anyone encounter the scenario where scp_put is failing (too many arguments) when the directory contains too many files? We have 36K files in the directory and it is failing... (with lower ...
    Ori RazOri Raz
    Dec 11, 2015 at 3:28 pm
    Dec 29, 2015 at 9:30 am
  • 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 22, 2015 at 11:37 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 ...
    LeeLee
    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
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: 1021 posts Tim Johnson: 993 posts Paul Johnson: 962 posts Shawn H Corey: 938 posts Gunnar Hjalmarsson: 930 posts Tom Phoenix: 906 posts
show more
Archives