FAQ

Search Discussions

27,957 discussions - 122,827 posts

  • Iam practicing from start and I have a problem with this code: This is the comment of the console, i coulnd't give a round to it, pls help... Can't locate Glib.pm in @INC <@INC contains ...
    Rahim FakirRahim Fakir
    May 23, 2013 at 7:45 pm
    May 23, 2013 at 11:16 pm
  • Can someone tell me or give a adress to programs like hello world or similar, for practice. Iam beging practice programming, and bought a book of perl, but i need program to practice can someone give ...
    Rahim FakirRahim Fakir
    May 19, 2013 at 4:10 pm
    May 22, 2013 at 3:30 pm
  • Hi All, I have an issue with a small piece of code. I am using IO::Socket::INET to accept client connections from an socket, and then hand the connection off to an newly created thread. As soon as an ...
    Chris KnipeChris Knipe
    May 19, 2013 at 10:14 am
    May 19, 2013 at 10:14 am
  • $dbh = DBI- connect("dbi:mysqlPP:$dsn;host=$host", $user, $pw, {PrintError = 1, RaiseError = 1}); if (!$dbh) { print "error: connection: $DBI::err\n$DBI::errstr\n$DBI::state\n"; } $drh = DBI- ...
    Ganesh Babu NGanesh Babu N
    May 18, 2013 at 2:41 pm
    May 19, 2013 at 5:42 pm
  • Hi, I am looking for assistance in programing an TCP Socket server. Effectively, I am looking for a skeleton to do the following: - Server starts up, and starts x amounts of threads (working) - All ...
    Chris KnipeChris Knipe
    May 18, 2013 at 7:53 am
    May 18, 2013 at 7:53 am
  • Hi Please help me. I can only see Hilary Duff. I can not see Taylor Momsen. I would like to use table for that. How should I do? ## Here is my script. #!/usr/bin/perl use Modern::Perl; use autodie ...
    Masayoshi FujimotoMasayoshi Fujimoto
    May 17, 2013 at 11:51 pm
    May 18, 2013 at 12:31 pm
  • Greetings, What does this mean [CODE1] keys %{$$disk_type_ref{$pool}}; [/CODE1] Moreover, what does $$ mean here [CODE2] @{$$disk_type_ref{$pool}{$med_value}} [/CODE2] What data structures does the ...
    *Shaji Kalidasan**Shaji Kalidasan*
    May 17, 2013 at 12:39 pm
    May 18, 2013 at 4:53 am
  • hi, in a ldap script where I get a list of values of a multivalued attribute like this: @memberof = qw( cn=group1,cn=xxx,dc=domain,dc=tld cn=group2,cn=xxx,d=domain,dc=tld etc etc) ; I would like to ...
    Natxo AsenjoNatxo Asenjo
    May 16, 2013 at 7:58 pm
    May 16, 2013 at 9:32 pm
  • I asked this in #perl-help and was told that by the time perl checked the version, the module was already loaded - is there a way to check the version without completely loading the module so that ...
    Shawn wilsonShawn wilson
    May 15, 2013 at 3:57 pm
    May 15, 2013 at 8:47 pm
  • Hi folks Is it possible to write text cells where part of the string is highlighted in red? If so, how can I do it? Gary
    Gary StainburnGary Stainburn
    May 15, 2013 at 9:34 am
    May 16, 2013 at 11:27 am
  • I received the below message. Now what? I am not familiar with install. Thank you; Sherman Fetching with HTTP::Tiny: http://httpupdate35.cpanel.net/CPAN/modules/02packages.details.txt.gz Reading ...
    Sherman WilldenSherman Willden
    May 14, 2013 at 10:06 pm
    May 14, 2013 at 10:13 pm
  • Hello, what's the disadvantage when calling a system command from Perl? i.e, system call to "rsync" rather than using the File::Rsync module. is it hard to control the signals between the caller ...
    XiaolanXiaolan
    May 14, 2013 at 3:35 am
    May 16, 2013 at 3:50 pm
  • Hi list, When Net::DNS resolved name is not found my script dies. How can I allow for my script to continue on even if there is a failed DNS query? Just cutting and pasting the relevant lines use ...
    NoahNoah
    May 13, 2013 at 3:53 pm
    May 13, 2013 at 7:02 pm
  • I am getting an error while running cpan install warnings, I have the latest stable release of perl. cpan[1] install warnings Reading '/root/.cpan/Metadata' Database was generated on Wed, 08 May 2013 ...
    Dariusz DoleckiDariusz Dolecki
    May 9, 2013 at 7:13 pm
    May 9, 2013 at 7:27 pm
  • How do I add existing custom built perl modules that were built on a different system to another one, I have copied over the .pm file. Thanks in advance.
    Dariusz DoleckiDariusz Dolecki
    May 9, 2013 at 3:08 pm
    May 9, 2013 at 4:14 pm
  • Hi, the usage of "my" to scope variables is a good habit, and under "strict" is almost a need. But just today I realized that having to write "my" in front of each block of variables does not seem to ...
    Luca FerrariLuca Ferrari
    May 9, 2013 at 10:15 am
    May 12, 2013 at 5:13 am
  • Hello, I'm encountering a problem with File::Util that I'm not able to see, and I'm sure it's trivial: my $handle_file = new File::Util; my $files_for = {}; my $max_file_size = int( 1024 * 1024 * ...
    Luca FerrariLuca Ferrari
    May 8, 2013 at 4:50 pm
    May 9, 2013 at 1:50 pm
  • using Sun Studio ciompiler 12.3, have linked it to SUNWspro/bin....simple 32 bit configure/make work, I'm interested in a 64 bit perl build on ths platform and operating system
    Dariusz DoleckiDariusz Dolecki
    May 8, 2013 at 3:15 pm
    May 8, 2013 at 3:15 pm
  • Lines written to a file are not contiguous. First I will describe what I want the script to perform and then I will include the script at the end of this message. I downloaded the Oreilly Programming ...
    Sherman WilldenSherman Willden
    May 7, 2013 at 6:00 pm
    May 10, 2013 at 2:40 pm
  • Dear All, I am having an XLSX file in server and my OS in Win7. The first open statement is working fine in which we have give the actual file name. 2nd open function is not working where we have ...
    Ganesh Babu NGanesh Babu N
    May 6, 2013 at 1:42 pm
    May 7, 2013 at 2:14 pm
  • Hi all, I'm parsing a logfile and don't quite understand the behaviour of m//. From a previous regex match I have already captured $+{'GFP'}: use strict; use warnings; (...) $text =~ m/ (?<GFP ...
    Florian HuberFlorian Huber
    May 4, 2013 at 1:26 pm
    May 5, 2013 at 12:31 am
  • Hi all, I'm using LWP::UserAgent to access a website. One of the methods returns HTML data e.g. my $data = $response- content; I.e. $data contains the HTML content. I want to be able to parse it line ...
    Edward and Erica HeimEdward and Erica Heim
    May 3, 2013 at 12:00 pm
    May 4, 2013 at 12:49 am
  • Hi there, I want to figure out a way to create a loop that will do actions based on matches it collects in the loop and continue to do actions on all matches till these are not m Hope this pseudo ...
    NoahNoah
    May 1, 2013 at 6:27 pm
    May 1, 2013 at 6:45 pm
  • Hi there, I have a script where I log stuff to a file and the same time displays it to stdout using Log4perl. Here is a minimal example where I log a command which fails ...
    Manfred LotzManfred Lotz
    May 1, 2013 at 2:23 pm
    May 2, 2013 at 4:07 am
  • Hi, I want to use string as a variable name, please explain if there is any way in perl. Please have a look on below cases, I want to implement case 2. e.g. Case 1: if I am using global varibale ...
    Piyush VermaPiyush Verma
    Apr 30, 2013 at 5:08 pm
    Apr 30, 2013 at 7:19 pm
  • Hello everyone. Can anyone point me in the right direction to read about proper application deployment? I want a user to be able to download the application and build it on the command line using a ...
    Mike DunawayMike Dunaway
    Apr 27, 2013 at 6:37 am
    Apr 28, 2013 at 12:09 pm
  • following is still coming out as normal priority email. use strict; use warnings; use Email::MIME; use Email::Sender::Simple qw(sendmail); my @mesg=qw(fox jumps over the); my $subject='IMP mesg'; my ...
    Rajeev PrasadRajeev Prasad
    Apr 26, 2013 at 11:21 pm
    Apr 27, 2013 at 4:10 am
  • Hi, This could be naive. I use perl on linux and find it difficult to navigate quickly through the scripts. I wonder if there is something like cscope (which is very handy to navigate C code.) What ...
    Kavita kulkarniKavita kulkarni
    Apr 25, 2013 at 3:02 pm
    Apr 26, 2013 at 11:00 am
  • Hi all, I want to rename all image files in a folder to a new name, only the number should be kept: use strict; use warnings; use 5.014; foreach my $file (glob "*.tif") { $file =~ m/(\d\d?).tif/ ...
    Florian HuberFlorian Huber
    Apr 24, 2013 at 1:12 pm
    Apr 24, 2013 at 1:15 pm
  • Hello All, Can you help me in finding the most time effective way to retrieve the key-values from hash in the same sequence in which data is inserted into the hash. Thanks in advance. Regards, Kavita
    Kavita kulkarniKavita kulkarni
    Apr 23, 2013 at 11:27 am
    Apr 24, 2013 at 9:44 am
  • Hi! I'm using DateTime::TimeZone to get my current time. Shouldn't daylight saving time be handled by the DateTime module? In $date I'm obtaining the time with less an hour than it should so I ...
    Ricardo Pais OliveiraRicardo Pais Oliveira
    Apr 18, 2013 at 12:01 am
    Apr 19, 2013 at 6:25 am
  • hi, need help on hashes here is the code : print "Enter the words: "; chomp(my @words = <STDIN ); my %names; foreach $a (@words) { if (!%names) { print "hi\n"; $names{$a} = 1; } else { while ( ($key, ...
    Irfan SayedIrfan Sayed
    Apr 17, 2013 at 6:17 pm
    Apr 19, 2013 at 5:26 pm
  • I installed perlbrew then I used it to install v5.16.3. That installed to my home directory. I read about installing to /opt. Do I just substitute /usr/share/perl where I presently have v5.14.2 for ...
    Sherman WilldenSherman Willden
    Apr 13, 2013 at 5:11 pm
    Apr 13, 2013 at 10:43 pm
  • Hi All , Greetings ! I have completed O'Reily first book Learning Perl . Started writing small perl programs . However I basically do log file analysis , hence was thinking is there any perl code ...
    AsadAsad
    Apr 13, 2013 at 3:50 pm
    May 8, 2013 at 9:19 am
  • Hi All, I want to extract certain char sets (e.g. char 4 to 9, char 11 to 14 etc.) from each line of my file and store them in separate variables for further processing. My file size can vary from ...
    Kavita kulkarniKavita kulkarni
    Apr 10, 2013 at 10:16 am
    Apr 13, 2013 at 6:49 am
  • It's highly unlikely this will fix your problem, but I will throw it out for consideration: $ProcessObj- Kill( $exitcode ) Kill the associated process, have it terminate with exit code $ExitCode Mike
    Mike FlanniganMike Flannigan
    Apr 9, 2013 at 10:14 pm
    Apr 10, 2013 at 9:56 am
  • Hi All I may have found a possible solution and wanted to share it As it seems that Win32::Process::KillProcess is having difficulties killing a hanging process, I thought that it would probably make ...
    Jonathan HarrisJonathan Harris
    Apr 9, 2013 at 4:43 pm
    Apr 10, 2013 at 3:41 pm
  • Hi All I am using Strawberry Perl (latest release) on a Windows 2003 SP2 server I am trying to use a script to look at running processes, look for a specific process, and kill that process if it is ...
    Jonathan HarrisJonathan Harris
    Apr 8, 2013 at 3:42 pm
    Apr 8, 2013 at 3:42 pm
  • Hi All, I've successfully written quite an big perl server using IO::Socket::INET - it seems to be working pretty darn good and so far I'm happy. I'm attempting now to do the same but by using SSL ...
    Chris KnipeChris Knipe
    Apr 8, 2013 at 3:41 pm
    Apr 8, 2013 at 3:41 pm
  • Hello , I'm trying to use JSON::XS. The trouble is that I have French strings with accented chars. The solutions I tried don't work. Also, I'm not sure i understand JSON::XS doc on unicode and utf. I ...
    Christophe MartinChristophe Martin
    Apr 7, 2013 at 4:09 pm
    Apr 9, 2013 at 7:28 pm
  • Has anyone shared this thread on perl mailing list yet? since we are looking for a perl devloper, i thought i would put it on the perl list to see if we get any response. thx. Rajeev ----- Original ...
    Rajeev PrasadRajeev Prasad
    Apr 7, 2013 at 3:51 am
    Apr 8, 2013 at 6:16 pm
  • I'm just curious about this. If you put "no warnings" inside a loop, is it good only for that loop, or will it be in effect until the end of the script? Thanks, Angela A2 Hosting now has Perl 5.10.1 ...
    Angela BaroneAngela Barone
    Apr 3, 2013 at 11:29 pm
    Apr 3, 2013 at 11:52 pm
  • beginners: I would like to create static HTML trees of Perl documentation, similar to perldoc.perl.com: 1. Is there a canonical system path (directory) for such? Is there a canonical per-user path ...
    David ChristensenDavid Christensen
    Apr 3, 2013 at 1:28 am
    Apr 4, 2013 at 8:54 pm
  • I'm getting strange results from a business days calculation with Date::Manip. Everything works as expected if I use a number of days between 1 and 6, but after 6 the resulting date doesn't seem to ...
    GrantGrant
    Mar 29, 2013 at 7:01 am
    Mar 29, 2013 at 9:17 pm
  • Greetings, I am using the following module [module] package My::GoldenRock::Utilities; use strict; use warnings; use base 'Exporter'; our @EXPORT_OK = qw(foo bar); our %EXPORT_TAGS = (all = ...
    *Shaji Kalidasan**Shaji Kalidasan*
    Mar 28, 2013 at 3:17 pm
    Mar 28, 2013 at 5:57 pm
  • I just noticed something that's very disconcerting. Our email addresses are being posted online from this mailing list. Does anyone know about this? I was doing a search when I came across this ...
    Angela BaroneAngela Barone
    Mar 27, 2013 at 10:39 pm
    Apr 10, 2013 at 2:53 am
  • Version 5 ;-)
    Chris JackChris Jack
    Mar 27, 2013 at 10:48 am
    Mar 27, 2013 at 11:14 am
  • Hello, I'm trying to do the following, but I'm not having much luck. ------------ use strict; use warnings; use 5.010; use CGI qw(param); my %q; my $referrer = ...
    Angela BaroneAngela Barone
    Mar 24, 2013 at 6:48 pm
    Mar 25, 2013 at 1:53 am
  • Dominik DanterDominik Danter
    Mar 21, 2013 at 10:13 pm
    Mar 22, 2013 at 8:02 pm
  • Hello, I've tried Formbuilder with Apache and had no problem with that. But when I use Formbuilder with Dancer, I have to deliberately set a value to "action", otherwise it will go to a blank page ...
    Logust YuLogust Yu
    Mar 21, 2013 at 7:58 pm
    Mar 21, 2013 at 9:27 pm
Group Navigation
period‹ prev | Latest | first ›

Top users

Chas Owens: 2148 posts John W . Krahn: 2133 posts John W . Krahn: 2029 posts Jenda: 1847 posts Wiggins: 1664 posts Bob Showalter: 1611 posts Drieux: 1368 posts R. Joseph Newton: 1292 posts Rob Dixon: 1170 posts Dan: 1136 posts Jeff 'japhy/Marillion' Pinyan: 1093 posts Perl: 1091 posts John W. Krahn: 1053 posts Randal L. Schwartz: 1034 posts Peter: 1017 posts Tim Johnson: 993 posts Paul Johnson: 932 posts Gunnar Hjalmarsson: 929 posts Tom Phoenix: 906 posts Jeff 'japhy' Pinyan: 889 posts
show more
Archives