FAQ

Search Discussions

22 discussions - 101 posts

  • Hi Is there a way, i can build an %hash from a file as Input. Appreciate you help with this. file.txt ---------------- 22:5a = 10.00.00.00.aa.56.9b.7a 32:9c = 10.00.00.00.aa.46.9b.33 a2:cc= ...
    Jet speedJet speed
    Nov 14, 2012 at 5:06 pm
    Nov 16, 2012 at 12:28 pm
  • As I have mentioned in an earlier posting, I am working my way (slowly) through Learning Perl, 6th edition. In this edition it uses UTF-8 throughout. So I have been trying to make this happen in my ...
    boB SteppboB Stepp
    Nov 29, 2012 at 4:10 am
    Dec 3, 2012 at 6:42 am
  • how do i capture all quoted strings? this gives an error: print "$str1\n"; ($one, $two) = $str1 =~/"([^(?:[^"]")]*)" (\d+)/; print "$one $two\n"; what i want is: $str1 = "\"something\" 444"; $str1 = ...
    Shawn wilsonShawn wilson
    Nov 22, 2012 at 1:54 am
    Nov 22, 2012 at 7:10 pm
  • Hi List, For a logrotation and cleanup script I want to fill the following variables. my $current_month = (should be Nov) my $current_mont_num = (should be 11) my $previous_month = (should be Oct) my ...
    Marco van KammenMarco van Kammen
    Nov 8, 2012 at 10:56 am
    Nov 8, 2012 at 9:17 pm
  • In our company we were using this code (given at the end) for about 10 years and it worked fine. Some days ago we faced some issues and we had to re-code the complete package, we decided to replace ...
    Chankey PathakChankey Pathak
    Nov 22, 2012 at 6:07 am
    Nov 23, 2012 at 5:26 pm
  • I am using Win7Pro-64bit. say "Another Hello World!"; if run from Padre v. 0.94 yields: String found where operator expected at HelloWorld.plx line 4, near "say "Anothe r Hello World!"" (Do you need ...
    boB SteppboB Stepp
    Nov 16, 2012 at 3:58 am
    Nov 16, 2012 at 9:03 pm
  • Hi All, I have a file with similar data, around 10,000 entries with similar format. i need to extract the output in below format. I can match the WWN and push into an arrray, however i am not sure ...
    Jet speedJet speed
    Nov 13, 2012 at 11:44 am
    Nov 14, 2012 at 9:54 am
  • Hi, When I run the send_email example on the website, I got some warning like this...I am really a beginner so I don't know where to find the answer so I post here. Thank you guys. ece% perl ...
    Hong zengHong zeng
    Nov 5, 2012 at 3:02 am
    Nov 5, 2012 at 9:04 am
  • Hi I am a little confused with this program Program: use strict; use warnings; if ($999 == 1056) { print ("\nequal"); } else { print ("\nnot equal"); } What I expect: Perl to throw me an error as ...
    Nemana, SatyaNemana, Satya
    Nov 9, 2012 at 5:08 pm
    Nov 9, 2012 at 9:00 pm
  • how do i return something when i've got a long regex and one of the captures is empty? $_ = '"435" "" "634"; my ($one, $two, $three)= /^ "(\d+)"\ "(\d+)"\ "(\d+)" /x;
    Shawn wilsonShawn wilson
    Nov 21, 2012 at 10:48 pm
    Nov 22, 2012 at 6:09 am
  • Hi folks. I'm writing a mail filter which accepts emails from our 'fax-to-email' gateway and I'm struggling to handle the input. I'm getting the following: Subject ...
    Gary StainburnGary Stainburn
    Nov 6, 2012 at 10:19 am
    Nov 6, 2012 at 6:35 pm
  • I tried installing the cpanm using cpan APP:cpanminus but since the user did not have write access on perl folders it did not complete successfully. I tried again using 'sudo' but it said error with ...
    ARUN SRINIVASANARUN SRINIVASAN
    Nov 29, 2012 at 7:56 pm
    Dec 3, 2012 at 9:36 am
  • Win7-64bit. DWIM Perl, Strawberry Perl 5.14. Padre 0.96. I am using the 6th edition of Learning Perl. It recommends adding use utf-8 to all programs. So I gave it my first try: #!/usr/bin/env perl ...
    boB SteppboB Stepp
    Nov 23, 2012 at 5:44 am
    Nov 23, 2012 at 6:03 am
  • Looking for advice on how to be more "perlish" in this bit of code. The idea is to allow execution of a script without pathing in the $0 parameter: if ($0 =~ m/^\//) { exec("$0 @ARGV"); } else { ...
    Matt SheppardMatt Sheppard
    Nov 9, 2012 at 2:33 pm
    Nov 9, 2012 at 2:42 pm
  • Hi, I'm trying to search a file for several matching blocks of text. A sample of what I'm searching through is below. What I want to do is match "##### START block #####" through to the next "##### ...
    Thomas SmithThomas Smith
    Nov 1, 2012 at 7:44 am
    Nov 1, 2012 at 3:03 pm
  • Hi chromatic, first of all, thanks for your work on the book Modern Perl , and for allowing free use and distribution of it. Now, I have mirrored a copy of it on ...
    Shlomi FishShlomi Fish
    Nov 2, 2012 at 9:11 pm
    Dec 27, 2012 at 12:09 am
  • I am running Win7Pro-64bit and using Strawberry Perl 64 bit version 5.16. When I attempt to use "install Tk" from Strawberry Perl's "cpan " prompt I get two instances of "perl.exe not responding" ...
    boB SteppboB Stepp
    Nov 19, 2012 at 3:19 am
    Nov 20, 2012 at 4:43 am
  • Dear All, The below is my input data: $ cat demo.txt 159350,PP02,Backup,0,Done 159349,B02_bkp,Backup,0,Done 159347,B02_bkp,Backup,0,Done 159346,B02_bkp,Backup,0,Done 159345,B02_bkp,Backup,0,Not ...
    Mohan LMohan L
    Nov 16, 2012 at 3:30 am
    Nov 18, 2012 at 8:59 pm
  • what is the best way to find nodes a certain string (in this example: /Find Me/) ? in the example below, i'm getting too much output - i'd only expect 2 and 4. i had read there's a way of doing this ...
    Shawn wilsonShawn wilson
    Nov 10, 2012 at 5:33 pm
    Nov 12, 2012 at 4:31 pm
  • Hi All , I have a requirement in Linux environement to check for an application pre-requisites if rpm's are installed or not . Like rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}\n" ...
    AsadAsad
    Nov 9, 2012 at 7:32 am
    Nov 9, 2012 at 10:51 am
  • Hi All, Can any one help me, how can we create a file name with invalid characters ('?','/') in windows. Generally, Windows OS can not allow to create a file name with invalid characters like ...
    Bhanu chaitanya abbarajuBhanu chaitanya abbaraju
    Nov 2, 2012 at 1:20 pm
    Nov 2, 2012 at 2:31 pm
  • Hi! I'm not a perl expert (but i try to learn) but i've a question. I have to install koha, a well-known library software written in perl. I connect it to my ldap in order to get all borrowers with ...
    Samuel desseauxSamuel desseaux
    Nov 21, 2012 at 1:39 pm
    Nov 21, 2012 at 1:39 pm
Group Navigation
period‹ prev | Nov 2012 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions22
posts101
users41
websiteperl.org

41 users for November 2012

boB Stepp: 8 posts Shlomi Fish: 8 posts Jet speed: 7 posts Shawn H Corey: 7 posts Shawn wilson: 6 posts Jim Gibson: 5 posts Charles DeRykus: 4 posts Andy Bach: 3 posts Chankey Pathak: 3 posts Chris Charley: 3 posts Dr.Ruud: 3 posts Paul Johnson: 3 posts Timothy adigun: 3 posts Brandon McCaig: 2 posts David Precious: 2 posts Feng He: 2 posts Gary Stainburn: 2 posts Gerhard: 2 posts Hal Wigoda: 2 posts John Delacour: 2 posts
show more
Archives