FAQ

Search Discussions

28,205 discussions - 124,211 posts

  • --As of April 22, 2014 9:23:28 AM -0400, David Golden is alleged to have said: --As for the rest, it is mine. I saw my point as completely orthogonal to the reports, actually. CPAN collects reports ...
    Daniel StaalDaniel Staal
    Apr 22, 2014 at 7:09 pm
    Apr 22, 2014 at 7:49 pm
  • I have been reading Modern Perl and in several instances they use is and isnt. Are these functions available in Perl? I looked at http://perldoc.perl.org/index-functions.html and couldn't find them ...
    Sherman WilldenSherman Willden
    Apr 19, 2014 at 3:30 pm
    Apr 19, 2014 at 3:36 pm
  • Hi, My brother Rick, a windrider, put together a webpage, http://www.photographers1.com/Sailing/NauticalTerms&Nomenclature.html about sailing and wind surfing that has grown too large and should be ...
    Mike McClainMike McClain
    Apr 17, 2014 at 5:09 pm
    Apr 21, 2014 at 4:53 pm
  • When attempting to install perl 5.18.2 on hpux 11.23, I receive errors during make test. ** errors after initial make test: Failed 4 tests out of 2242, 99.82% okay ...
    Braly, Larissa (NE)Braly, Larissa (NE)
    Apr 8, 2014 at 2:25 am
    Apr 9, 2014 at 1:55 am
  • After further study, I probably would have had to setup a named pipe to capture expect's output in to strings which would have not bought me anything useful for this situation. We needed to know what ...
    Martin G. McCormickMartin G. McCormick
    Apr 3, 2014 at 2:48 pm
    Apr 3, 2014 at 2:48 pm
  • For some reason, I'm not getting any output from NYTProf: devvm07 ~/dirt-tests # cat /tmp/prof.out cat: /tmp/prof.out: No such file or directory devvm07 ~/dirt-tests # export 2 &1 | egrep 'PERL|NYT' ...
    Shawn wilsonShawn wilson
    Apr 2, 2014 at 2:42 pm
    Apr 2, 2014 at 2:42 pm
  • When using the expect module in a perl program, one can log expect output to a file with a command like $exp- log_file($somefilename); You can turn off STDOUT with $exp- log_stdout(0); Is there a way ...
    Martin G. McCormickMartin G. McCormick
    Apr 2, 2014 at 1:37 pm
    Apr 2, 2014 at 1:37 pm
  • Hi all, I'm running a linux box with the Oracle SQL Developer installed. The DBD::Oracle module refuses to install claiming it cannot find a value for ORACLE_HOME and/or an oralc einstallation. Do I ...
    Luca FerrariLuca Ferrari
    Apr 2, 2014 at 6:58 am
    Apr 8, 2014 at 8:31 am
  • Hi, I am new with perl and using it for my sys admin jobs. I want to use TDD / BDD with my perl scripts to make it more robust. Can you please suggest me that how to integrate TDD/BDD with perl ...
    Benjamin FernandisBenjamin Fernandis
    Mar 31, 2014 at 2:51 am
    Mar 31, 2014 at 8:08 am
  • Hello, I am trying to create a module that exports a few subroutines in the script that uses it. This is OK, very simple to do using Exporter. But I also want that module to export strict and ...
    Octavian RasnitaOctavian Rasnita
    Mar 30, 2014 at 10:27 am
    Mar 31, 2014 at 9:46 am
  • Hi, I have a requirement where I need different appenders writing to same log file for different layout patterns. Below is my log4Perl config file :- log4perl.logger.timestamp = INFO, LOG1 ...
    Punit jainPunit jain
    Mar 28, 2014 at 1:02 pm
    Mar 28, 2014 at 8:17 pm
  • Hi all, I've a problem that has to presents data into an array in a set of string with a variable left/right padding depending on the field position in the arrat. Therefore I'm building a very long ...
    Luca FerrariLuca Ferrari
    Mar 28, 2014 at 12:15 pm
    Mar 28, 2014 at 12:15 pm
  • Hello, Is there a book avaiable for Perl event driven programming? I tried searching but got no luck. Thanks.
    Yonghua PengYonghua Peng
    Mar 27, 2014 at 2:33 pm
    Mar 27, 2014 at 2:41 pm
  • Hi, I am new with perl and we have virtual machines in our infra. i want to use perl sys::virt module to manage them, means to shutdown / start vm by script and for that i wrote below small code ...
    Benjamin FernandisBenjamin Fernandis
    Mar 27, 2014 at 1:31 am
    Mar 29, 2014 at 9:03 am
  • i want to sort an array for certain key words first and then alphabetically. my @foo = qw/foo bar baz first second third/; foreach my $i (sort {$a cmp $b} @foo) { print "$i\n"; } How do I make ...
    Shawn wilsonShawn wilson
    Mar 25, 2014 at 1:55 pm
    Mar 26, 2014 at 12:40 pm
  • Howdy, I get a 404 Not Found when I go to that link. You can use Perl as a browser, but it's not beginner material and Perl generally does not do simple browsing as well as a browser. When you see ...
    Mike FlanniganMike Flannigan
    Mar 25, 2014 at 11:25 am
    Mar 26, 2014 at 4:11 pm
  • Hi, I'm brand new to Perl. I'm reading perldoc and working through Simon Cozens online book to get me started. Even though it is 14 years old and some syntax has changed in the meantime, figuring out ...
    Maurice McCarthyMaurice McCarthy
    Mar 24, 2014 at 2:45 am
    Mar 24, 2014 at 3:28 am
  • I have 6 elevators, and 50 people. These people weigh between 120 and 350lbs. How can I find the optimal way of distributing these people into the 6 elevators so that each elevator carries ...
    JbiskofskiJbiskofski
    Mar 21, 2014 at 3:42 pm
    Mar 22, 2014 at 5:40 am
  • Here is the code that is not working #!/usr/bin/perl use diagnostics; use strict; ... my $dud1 = "dud1"; my $dud2 = "dud2"; my $w_player = "?"; my $n_player = "?"; my $e_player = "?"; my $s_player = ...
    Thomas H. GeorgeThomas H. George
    Mar 19, 2014 at 6:49 pm
    Mar 19, 2014 at 7:23 pm
  • Hello All, Paul said: ----------------------- Depending on the distribution you are using you might have a tool to automate the process of recursively installing dependencies. I have the following ...
    Yosef LevyYosef Levy
    Mar 18, 2014 at 11:54 am
    Mar 18, 2014 at 12:08 pm
  • hello All, Trying install List-AllUtils-0.07. Need dependencies: C:\yosef\cpan\List-AllUtils-0.07 perl Makefile.PL Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 Checking if your kit is ...
    Yosef LevyYosef Levy
    Mar 18, 2014 at 10:30 am
    Mar 18, 2014 at 11:54 am
  • From Archive::Tar::File - what's '_' and where is it documented? sub _filetype { my $self = shift; my $file = shift; return unless defined $file; return SYMLINK if (-l $file); # Symlink return FILE ...
    Shawn wilsonShawn wilson
    Mar 17, 2014 at 9:05 am
    Mar 20, 2014 at 10:08 am
  • I'm trying to determine how Perl evaluates operands for expressions. I expected the following code to output 3, 4, and 5, as it would if executed as a C++ or Java program. The actual output that I ...
    Ralph GroveRalph Grove
    Mar 14, 2014 at 5:04 pm
    Mar 17, 2014 at 5:42 pm
  • Hi all, I tried to extract string from perl script, so I wrote following script: 5# matching string 6 # sting start with ' or ". 7 # assume string is on same line. 8 # 9 my $pattern = '(\"|\').*\1' ...
    Alex ChiangAlex Chiang
    Mar 14, 2014 at 11:26 am
    Mar 18, 2014 at 10:48 am
  • Hi there! I am needing a module to parse a HTML page and to take action on it. Any idea? -- Ariel
    Ariel HosidAriel Hosid
    Mar 13, 2014 at 1:34 pm
    Mar 14, 2014 at 3:28 am
  • Hi all, I'd like to build a hash mapping from "keyword" = value. By keyword, I mean all reversed words in http://learn.perl.org/docs/keywords.html. Do you guys know any csv or text file containing ...
    Alex ChiangAlex Chiang
    Mar 13, 2014 at 1:29 pm
    Mar 13, 2014 at 2:16 pm
  • Hi there, I got a wired bug with the following perl script: 35 # return non-negative value if particular character is in string array 36 # otherwise, return -1 sub is_in_string { 38 # @s: string ...
    Alex ChiangAlex Chiang
    Mar 12, 2014 at 4:58 am
    Mar 13, 2014 at 11:58 pm
  • Hello everyone! Can anyone recommend me literature that treats regular expressions and how to analyze files? Thank you! -- Ariel
    Ariel HosidAriel Hosid
    Mar 11, 2014 at 5:01 pm
    Mar 11, 2014 at 6:40 pm
  • Hi all, I'm a perl beginner, and when I tries to practice delete built-in, I find it's not working as I supposed to. 44 my %employ_list = ("e10220" = "Du", "e10250" = "Vic"); 45 # iterate thru with ...
    Alex ChiangAlex Chiang
    Mar 9, 2014 at 5:41 am
    Mar 9, 2014 at 4:32 pm
  • I posted to perl.beginners and since it hasn't shown up here, I thought I had better see if everything was OK with my connection to the mailing list. My apologies.
    Alek TrishanAlek Trishan
    Mar 8, 2014 at 10:51 pm
    Mar 8, 2014 at 10:51 pm
  • Hi, I have installed perl via cygwin on my Windows 7 computer and have a perl script that I would like to execute simply by double-clicking on its name from a Windows filemanager window. (That is, I ...
    Alek TrishanAlek Trishan
    Mar 8, 2014 at 8:29 pm
    Mar 9, 2014 at 8:55 pm
  • Hi all, how do you get all words starting with letter 'r' in a string. thanks,rakesh
    Rakesh sharmaRakesh sharma
    Mar 8, 2014 at 12:50 pm
    Mar 8, 2014 at 6:09 pm
  • I have the following string I want to extract from: my $str = "foo (3 bar): baz"; and I want to to extract to end up with $p1 = "foo"; $p2 = 3; $p3 = "baz"; the complication is that the \s(\d\s.+) is ...
    Bill McCormickBill McCormick
    Mar 8, 2014 at 6:05 am
    Mar 9, 2014 at 4:32 am
  • I have some text files from which I would like to remove the first line, but only if it's blank. Any hints? I tried a few things, but the results haven't quite been satisfactory. Thanks!
    SbSb
    Mar 7, 2014 at 9:58 pm
    Mar 8, 2014 at 7:37 am
  • Hello, Since Mogilefs is written with Perl and I asked the question on the list of Mogilefs but didn't get an answer, so I reposted the question here. What server is suggested for running the front ...
    Yonghua PengYonghua Peng
    Mar 6, 2014 at 2:40 pm
    Mar 6, 2014 at 2:40 pm
  • Hi, is there some perl module to handle emacs org-mode tables? -- Debugger entered--Lisp error: (error "No error here") signal(error ("No error here")) error("No %s here" "error")
    LeeLee
    Mar 6, 2014 at 11:58 am
    Mar 6, 2014 at 11:58 am
  • Hello All, I am interesting install Perl and CPAN modules in custom location folders. I am using WIN7 64bit. Pls. provide me step by step in depended installation from scratch. Rgds.
    Yosef LevyYosef Levy
    Mar 4, 2014 at 10:42 am
    Mar 4, 2014 at 2:46 pm
  • So, when I do this: my $src = (grep {/.*(ARIN|APNIC).*(\n)?/; $1} @ret)[0]; I get a full line and not just the capture: # ARIN WHOIS data and services are subject to the Terms of Use When I do this ...
    Shawn wilsonShawn wilson
    Mar 3, 2014 at 11:36 pm
    Mar 8, 2014 at 8:46 am
  • Hi Everyone, I need your help with this one please. I have a config file that is written/updated with a Python based web front end tool. I would like to add/remove hosts to/from this config file ...
    Wernher EksteenWernher Eksteen
    Mar 2, 2014 at 7:42 pm
    Mar 4, 2014 at 5:08 am
  • Hey Folks, When run as a BBEdit text-filter the script works fine with the ascii line, but it produces goop for the utf8 characters. Obviously I'm doing something wrong and need an assist. Thank ...
    Christopher StoneChristopher Stone
    Mar 2, 2014 at 12:25 am
    Mar 2, 2014 at 12:25 am
  • Hi everyone, I have started a personal blog related to perl/cgi. Here: http://simpleperlforweb.blogspot.in/ It is something I'm doing with good intention for the perl community. I don't have vast ...
    Ahmad BilalAhmad Bilal
    Mar 1, 2014 at 6:39 am
    Mar 1, 2014 at 2:51 pm
  • Can somebody help me understand this? Given this loop, and the logged output following ... my $found; for( @$products ) {; $found = $$_ =~ m|$project|; $dump = Data::Dumper- Dump([$_, $project, $$_, ...
    Bill McCormickBill McCormick
    Mar 1, 2014 at 5:13 am
    Mar 1, 2014 at 3:26 pm
  • I am running a script under perl -d and want to break execution at line 243 in this case. perl -d scriptname loads the script in to the debugger and b 243 sets the break point. c then Enter starts ...
    Martin G. McCormickMartin G. McCormick
    Feb 27, 2014 at 9:34 pm
    Feb 28, 2014 at 4:40 pm
  • Chaps, Any quick one liner code in perl were i can get rid off the before and after wwn each line for file as below file ------- device name lz_09_red_e10 vsan 200 * fcid 0xef0013 [pwwn ...
    Jet speedJet speed
    Feb 26, 2014 at 3:59 pm
    Feb 26, 2014 at 4:59 pm
  • What would be the perl'ish way using map or some other sugar to check if a list of values meet some criteria? Instead of doing something like my @issues = qq(123,456,a45); my $max = 999; for ...
    Bill McCormickBill McCormick
    Feb 25, 2014 at 10:30 pm
    Feb 26, 2014 at 2:52 pm
  • Hi all, I'm attempting to do a very simple Net::Server listening on two different ports, one being TCP and one being SSLEAY. So far this is working, but as soon as I make an normal unencrypted ...
    Chris KnipeChris Knipe
    Feb 22, 2014 at 11:22 pm
    Feb 22, 2014 at 11:22 pm
  • Dear Perlers, I need to download a file from a server using FTP and then I need to compare both files (MD5 Checksum) to ensure that I am testing the right build. Here is the program I have attempted ...
    Shaji KalidasanShaji Kalidasan
    Feb 22, 2014 at 1:44 pm
    Feb 25, 2014 at 7:55 pm
  • Hi all, From the below file names I only need the version number 1.2.4 without explicitly specifying it. check_mk-1.2.4.tar.gz check_mk-agent-1.2.4-1.noarch.rpm ...
    Wernher EksteenWernher Eksteen
    Feb 21, 2014 at 2:22 pm
    Feb 24, 2014 at 3:26 am
  • Having trouble making this work. my @alarm = ("xyz", "abc"); my $name = "ab"; unless (grep {/$name/} @alarm) { # do this } Since "ab" is contained in the array I want it to NOT 'do this'. What have I ...
    MattMatt
    Feb 20, 2014 at 7:05 pm
    Feb 21, 2014 at 12:37 am
  • I've come across an odd issue with -d on a windows box I have a script which recurses through a directory structure down two levels eg: ─Customers Reports └───Customers Reports ─Internal Reports ...
    Mike MartinMike Martin
    Feb 19, 2014 at 11:28 am
    Feb 19, 2014 at 11:28 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: 1223 posts Dan: 1136 posts Jeff 'japhy/Marillion' Pinyan: 1093 posts Perl: 1091 posts John W. Krahn: 1081 posts Randal L. Schwartz: 1034 posts Peter: 1020 posts Tim Johnson: 993 posts Paul Johnson: 948 posts Gunnar Hjalmarsson: 929 posts Tom Phoenix: 906 posts Jeff 'japhy' Pinyan: 889 posts
show more
Archives