Search Discussions

28,412 discussions - 125,217 posts

  • Hi! This is not directly a Perl question, but since Perl is the only language I code in, I hope you could help me out. I have a database for a very simple Perl-based Web CMS. The CMS knows only 2 ...
    Alex BeckerAlex Becker
    Apr 10, 2015 at 5:04 pm
    Apr 11, 2015 at 7:49 am
  • Hi Team, I need little bit help. i need to sort a file according to its 3rd column and i need the output. can you please help me on this. Input file we can take anyone either .txt or .xls or .csv ...
    Ayush kabraAyush kabra
    Apr 8, 2015 at 5:40 pm
    Apr 8, 2015 at 7:51 pm
  • Or do you use it with TK? I downloaded Padre and found the examples which included WX. WX seems to be easier to use than TK. Just wondering who uses WX and why. Thank you; Sherman
    Sherman WilldenSherman Willden
    Apr 2, 2015 at 8:07 pm
    Apr 4, 2015 at 5:39 pm
  • Hi List I would like to process a file which has the following structure. SCGR SC DEV DEV1 NUMDEV DCP STATE REASON 1 0 31 1 SCGR SC DEV DEV1 NUMDEV DCP STATE REASON 2 0 31 1 SCGR SC DEV DEV1 NUMDEV ...
    Anirban AdhikaryAnirban Adhikary
    Apr 2, 2015 at 2:44 pm
    Apr 2, 2015 at 5:21 pm
  • Hi there, I have a script where I use croak and somebody else using that script gets Bizarre copy of HASH in list assignment at /usr/share/perl/5.20/Carp.pm line 228. I get a message like this, ...
    Manfred LotzManfred Lotz
    Mar 31, 2015 at 8:34 am
    Mar 31, 2015 at 4:19 pm
  • Hi all Please suggest nice books to know perl interpreter. In depth books is that i am looking for. Thanks Rakesh
    Rakesh sharmaRakesh sharma
    Mar 30, 2015 at 4:43 pm
    Mar 31, 2015 at 11:25 am
  • When i try to install Alias.pm file from environment i was getting an error message as cannot locate alimas.pm file, then i checked in cpan it was showing, In case how to fix this and update the ...
    Frank VinoFrank Vino
    Mar 30, 2015 at 5:16 am
    Mar 30, 2015 at 5:21 am
  • Hi Team, When i trying to install FWConfig.pm from cpan it is saying that unable to locate. Could you please let me know how to download this module? -Franklin
    Frank VinoFrank Vino
    Mar 27, 2015 at 8:30 am
    Mar 27, 2015 at 9:35 pm
  • Hi, We are using otrs help desk system which is in fully perl. We require to append automatic comment when our specific customer raise ticket to us. We have iteam no for each customer.So when ...
    Benjamin FernandisBenjamin Fernandis
    Mar 26, 2015 at 10:54 pm
    Mar 26, 2015 at 11:33 pm
  • Hi List I have a configuration file and I would like to split the main file into multiple small files and push the small temp. files into an array. My config file looks like this ...
    Anirban AdhikaryAnirban Adhikary
    Mar 25, 2015 at 5:08 pm
    Mar 25, 2015 at 7:44 pm
  • Hi Team, How to understand Regular Expression in a easy way? Thanks, Frank
    Frank VinoFrank Vino
    Mar 25, 2015 at 5:01 am
    Mar 25, 2015 at 4:34 pm
  • Hi List I have a file like this. RXMOI:MO=RXOTRX-*473-0*,SC=0,DCP1=178,SIG=SCCONC,DCP2=179&&186,TEI=0; RXMOI:MO=RXOTRX-*473-5*,SC=0,DCP1=223,SIG=SCCONC,DCP2=224&&231,TEI=5 ...
    Anirban AdhikaryAnirban Adhikary
    Mar 24, 2015 at 10:42 am
    Mar 24, 2015 at 4:01 pm
  • I am trying to use perl with mysql. I have a tutorial open which prompted me to perform the following. $ sudo perl -MCPAN -e shell cpan install DBI cpan[2] install DBD::mysql DBI installed. The ...
    Sherman WilldenSherman Willden
    Mar 23, 2015 at 8:43 pm
    Mar 24, 2015 at 2:33 pm
  • Hi Perl GURU, I have a string like this: 'Baseline: (_bMgvUBQ_EeKsP6DECdq0Lg) 1 "Initial Baseline" "Initial Baseline of Component NGP-Diagnostics" Sivakumar Subas Oct 12, 2012 12:35:41 AM'; I’m ...
    Danny Wong (dannwong)Danny Wong (dannwong)
    Mar 19, 2015 at 9:25 pm
    Mar 21, 2015 at 11:51 pm
  • Hi I have a small program listed below where i am writing ping results to a file. The program works file except that the file name in the output file is coming as log_ping_19_Mar_15_11_27_49? (please ...
    Satya Prasad NemanaSatya Prasad Nemana
    Mar 19, 2015 at 6:15 am
    Mar 20, 2015 at 11:43 am
  • Hi , I asked this question on linkedin but I think the best place to get answers is here ... I have a perl cod that check a range of numbers and print for each number if it's prime number or not ...
    Ilan ShlossmanIlan Shlossman
    Mar 15, 2015 at 12:25 am
    Mar 15, 2015 at 1:08 am
  • I am new to Eclipse and Epic so I wrote the below script which I thought would error but it runs. Why? #!/usr/bin/perl use 5.18.2; print "Hello World \n"; print this 1 Thank you; Sherman
    Sherman WilldenSherman Willden
    Mar 14, 2015 at 8:40 pm
    Mar 14, 2015 at 8:57 pm
  • Hi all, I wanted to test what happens if Perl encounters an error when reading a utf8 encoded file. Here a minimal example: #! /usr/bin/perl use strict; use warnings; my $fname = $ARGV[0]; open my ...
    Manfred LotzManfred Lotz
    Mar 14, 2015 at 9:38 am
    Mar 15, 2015 at 2:19 pm
  • I downloaded Eclipse and I was looking at the screens and in general just messing with Eclipse. Now I can't find the first splash screen with the tutorials, samples, and such. Also is there a help ...
    Sherman WilldenSherman Willden
    Mar 13, 2015 at 9:07 pm
    Mar 13, 2015 at 10:57 pm
  • Other than padre..
    Rakesh sharmaRakesh sharma
    Mar 13, 2015 at 11:59 am
    Mar 16, 2015 at 9:13 am
  • Activeperl or Strawberry Perl. = Which is good to use? -Frank
    Frank VinoFrank Vino
    Mar 12, 2015 at 5:50 pm
    Mar 12, 2015 at 8:14 pm
  • Hi, Here is my code. In Cpan i have installed ssh in linux and windows still i am getting the error, Can anybody provide for opening a ssh by using perl? #!/usr/bin/perl use Net::SSH::Perl; my $ssh = ...
    Frank VinoFrank Vino
    Mar 12, 2015 at 4:25 pm
    Mar 12, 2015 at 5:04 pm
  • Hello, folks! I have such line: int rand(2)?1:-1 It repeats in source code 5 times and executes over 800 times, due to performance issues, I don't want to wrap it with subroutine. How I can make this ...
    Артём ВарнайскийАртём Варнайский
    Mar 8, 2015 at 2:12 pm
    Mar 9, 2015 at 10:40 pm
  • Hi all, I'm just curious about something. What's the difference between using require 5.016; or use 5.016; The only thing I've seen is that if 5.16 isn't installed, 'use' outputs: Perl v5.16 ...
    Mar 5, 2015 at 2:12 am
    Mar 5, 2015 at 6:43 pm
  • Can you please answer this question? http://stackoverflow.com/questions/28857025/perl-open-output-file-in-same-endianess-as-input-file-utf-16be-vs-utf-16le When Perl opens an UTF-16 encoded file, ...
    Hans GinzelHans Ginzel
    Mar 4, 2015 at 3:06 pm
    Mar 4, 2015 at 3:06 pm
  • I put together an anonymous subroutine which partly works. There is an array called @tasks which is defined as a local variable in the main routine and when I call the anonymous subroutine, one can ...
    Martin G. McCormickMartin G. McCormick
    Feb 28, 2015 at 2:52 am
    Feb 28, 2015 at 10:55 pm
  • Hi! When writing a Makefile.PL for a module (no, I don't want to read about other ways to do it now), does it make sense to add ExtUtils::MakeMaker (EUMM) to the PREREQ_PM module prerequisites list? ...
    Alex BeckerAlex Becker
    Feb 27, 2015 at 10:41 pm
    Feb 27, 2015 at 11:57 pm
  • package vowCons2; use strict; use lib::avt; my $self = {}; sub new { my $this = shift; my ($WORD) = @_; my $voyConsDef = readConfFile($CONFIG_FILE/vowConsDef); $self- {'V'} = $$voyConsDef{'V'} ...
    Feb 20, 2015 at 3:30 pm
    Feb 20, 2015 at 5:30 pm
  • Hello Still need help. I copy all *.pm to /urs/local/share/perl/5.18.2/lib I also give the permission on *.pm files I get this message. jupiter@jupiter-OptiPlex-755:~/Documents/base-0.50$ ./base.pl ...
    Feb 20, 2015 at 12:38 pm
    Feb 20, 2015 at 2:01 pm
  • I copy the file Tie::IxHash to perl 5.18.2 and receive this message. Probably I have to copy the whole module all the content of Tie-IxHash-1.23.tar.gz. once decompressed. What to do ? ...
    Feb 19, 2015 at 8:50 pm
    Feb 20, 2015 at 1:59 am
  • hi Gary, hi List, today i am running opensuse 13.1 - and i am trying to install mozrepl and perl BTW - friends told me to avoid all perlbrew tings... so i did the following perl -MCPAN -e shell cpan ...
    Martin KasparMartin Kaspar
    Feb 19, 2015 at 1:59 pm
    Feb 19, 2015 at 1:59 pm
  • Hello, I used to work with a perl script that contains (use vt.pm). (vt.pm are code that complement the script) I remember that I have to copy the vt.pm file in perl somewhere. Since I am not very ...
    Feb 18, 2015 at 11:14 pm
    Feb 19, 2015 at 3:42 pm
  • Ok, this is not a code related question, but anyone has an idea of when/how/if it will be available the video of the FOSDEM Larry's talk? https://fosdem.org/2015/schedule/event/get_ready_to_party/ ...
    Luca FerrariLuca Ferrari
    Feb 18, 2015 at 3:54 pm
    Feb 18, 2015 at 3:54 pm
  • I'm still looking to get WWW::Mechanize::Firefox installed. It looks like I've got a more pressing issue. Even simple module installs aren't working properly. I'm working through the dependancy list ...
    Gary StainburnGary Stainburn
    Feb 16, 2015 at 1:46 pm
    Feb 17, 2015 at 5:03 pm
  • I've got a Fedora 21 laptop that I'm using to develop a WWW::Mechanize::Firefox based app which is going well. I've tried now to replicate this on two servers ready to put it live but I'm having the ...
    Gary StainburnGary Stainburn
    Feb 16, 2015 at 12:01 pm
    Feb 16, 2015 at 12:01 pm
  • Hi folks, I'm porting a WWW::Mechanize based program to WWW::Mechanize::Firefox because the web site I access is now much more Javascript based and maintenance is getting to be a nightmare. However, ...
    Gary StainburnGary Stainburn
    Feb 10, 2015 at 10:10 am
    Feb 10, 2015 at 10:37 am
  • Hi, Please excuse me if I am posting wrong question. I wan to search the source code of PERL builtin functions e.g. reverse function. How can I see that on my machine or on web? I went to github ...
    Prateek goyalPrateek goyal
    Feb 6, 2015 at 6:54 am
    Feb 6, 2015 at 8:31 am
  • Dear all, I meet a problem and I can't resolve it. Would you like to help me for it? I simple my problem to below text. $a content: a b c d e f j p k $b content x y z q w e n a s d $c content 1 2 3 3 ...
    Wang, Zeng-Sheng (TS-GSD-China-ZZ)Wang, Zeng-Sheng (TS-GSD-China-ZZ)
    Feb 5, 2015 at 9:04 am
    Feb 10, 2015 at 7:47 am
  • I'm trying to break out a timestamp into it's appropriate fields, like so: my ($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime($my_time); but no matter if I use localtime or ...
    Feb 4, 2015 at 7:21 pm
    Feb 5, 2015 at 2:04 am
  • I've given myself a headache googling on how to debug a perl script that does not run. Maybe `debug' is the wrong word... I'd love to know if there is a more accurage one. I realize this post is ...
    Harry PutnamHarry Putnam
    Jan 31, 2015 at 9:59 pm
    Feb 5, 2015 at 9:05 pm
  • Hey everyone, I'm trying to submit a form with WWW::Mechanize to post a new thread on a forum from the command line. The forum also requires an image to be uploaded with it. Anyway...here is my ...
    Jan 31, 2015 at 2:04 pm
    Jan 31, 2015 at 9:23 pm
  • In the following code I hoped to use `use Cwd abs_path;' to not only produce the absolute path for a named directory but to die if it could not... thereby getting around having to test the named dir ...
    Harry PutnamHarry Putnam
    Jan 27, 2015 at 2:37 pm
    Jan 28, 2015 at 5:20 pm
  • Which is generally considered the best practice way of executing system commands from within a Perl program? Should I use backticks or qx//, system(), or exec()? Or is there no "best way" and it's ...
    Jan 24, 2015 at 2:13 pm
    Jan 24, 2015 at 2:43 pm
  • I found this little snippet in a post (from 2000) by Randal L. Schwartz: http://www.perlmonks.org/?node_id=20235 The discussion was about: File::Slurp allows you read a filehandle into a scalar ...
    Harry PutnamHarry Putnam
    Jan 20, 2015 at 10:11 pm
    Jan 22, 2015 at 4:10 am
  • -- a Andy Bach, <span class="m_body_email_addr" title="a908a479818f024d9e05edf3ee8eded0" afbach@gmail.com</span 608 658-1890 cell 608 261-5738 wk
    Andy BachAndy Bach
    Jan 20, 2015 at 7:48 pm
    Jan 20, 2015 at 7:48 pm
  • Hi I am looking for the most performant way to achieve this I have a big list of text (470000+ lines in a hash) I then run a hash ref consisting of replacement text - pattern to search - optional 3rd ...
    Mike MartinMike Martin
    Jan 19, 2015 at 1:26 pm
    Jan 20, 2015 at 6:31 pm
  • So I've got a text file in a multi column format (three columns), each column is separated by a single space. Here is a snippet for reference: artless base-court apple-john bawdy bat-fowling baggage ...
    Jan 19, 2015 at 12:00 am
    Jan 19, 2015 at 2:17 am
  • Hey everyone, I'm trying to find information on how I can use regular expressions to populate a variable. I want to pull text between one set of characters and another set of characters and use that ...
    Jan 18, 2015 at 4:49 pm
    Jan 18, 2015 at 5:38 pm
  • thanks for that information great to hear that greetings to all of you matze -- <http://www.facebook.com/martin.kaspar.547 [image: gplus_Seiten_Signatur] ...
    Martin KasparMartin Kaspar
    Jan 13, 2015 at 7:33 am
    Jan 13, 2015 at 7:33 am
  • Hi, I talked to Shlomi Fish quite some time back about using Hebrew and a perl gui. The question was/is which gui? I seem to recall that gtk+ was about the only option that could do Hebrew properly ...
    Jan 9, 2015 at 9:32 pm
    Jan 14, 2015 at 3:02 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: 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: 1020 posts Tim Johnson: 993 posts Paul Johnson: 959 posts Gunnar Hjalmarsson: 930 posts Shawn H Corey: 918 posts Tom Phoenix: 906 posts
show more