FAQ

Search Discussions

84 discussions - 405 posts

  • Hello. I'm not a new perl programmer, but I feel like one today. I want to pull the last octet off of an IP address and print it to standard output. I have this so far: @octets = split(/\./, ...
    David ShereDavid Shere
    Dec 9, 2008 at 8:35 pm
    Dec 15, 2008 at 2:17 pm
  • Hi, Would someone guide me with a simple example for perl documentation using Pod :: Usage? Regards, Kelvin Philip
    Kelvin PhilipKelvin Philip
    Dec 23, 2008 at 7:59 am
    Dec 24, 2008 at 11:26 am
  • Hi List, does anybody has deep information on how the garbage collector works in Perl? Is there a possibility to influence it, to free memory (in the sense of give it back to the OS)? Let me show: { ...
    Patrick KirschPatrick Kirsch
    Dec 22, 2008 at 5:09 pm
    Dec 23, 2008 at 7:11 pm
  • wanted to draw a box that's counting up for certain time. Thought I could use the counter but it just displays the box not the number.. can anyone point it out for me? thank you. use warnings; use ...
    RichardRichard
    Dec 14, 2008 at 2:13 am
    Dec 15, 2008 at 7:21 pm
  • Ho, I wanted to declare an HTML list as a constant array and then print it but cannot work out the stntax. This is what I've coded; use constant NAVTABSLIST = ["<div id='header' \n", " <ul ...
    BacomsBacoms
    Dec 27, 2008 at 11:10 am
    Dec 28, 2008 at 7:48 pm
  • I am wondering if there is a way to copy a webpage to a text file using Perl. All I need is to copy as unformatted text. I would like to match certain strings on pages written in javascript and to my ...
    CollaborateCollaborate
    Dec 23, 2008 at 4:30 pm
    Dec 26, 2008 at 11:22 am
  • Hi, Still very noob when it comes to perl. Just have a quick question. I am trying to match a string that is window's path Sample, $s1 = "c:\\log\s1.log"; $s2 = $s1; If ($s1 =~ m/$s2/i) { print ...
    Gu, HanGu, Han
    Dec 18, 2008 at 3:42 pm
    Dec 19, 2008 at 9:56 am
  • Hi All, I am able to create simaltaneous threads and access a subroutine(which performs firing of reqeusts). with the created threads. Some time I get the following error *"Free to wrong pool 225f40 ...
    Perl praPerl pra
    Dec 26, 2008 at 11:52 am
    Jan 1, 2009 at 2:08 pm
  • Pardon me, if this has been already raised. I have experience in ActivePerl from Activestate. However, I have a Cygwin for Windows, where Perl 5.10 is installed. I am not familiar with CPAN. I did go ...
    RexRex
    Dec 19, 2008 at 4:07 pm
    Dec 20, 2008 at 6:42 am
  • Hi, I am new to perl. Experience from the C programming tell my we can do something well with an IDE. But, is there some IDE of perl, in which we can do coding, debugging, etc? -------------- ...
    Mobile.parmenidesMobile.parmenides
    Dec 29, 2008 at 12:48 am
    Dec 30, 2008 at 11:40 pm
  • I have an array of strings whose members consist of a number followed by a comma followed by a text string e.g. 1,fresh 2,testurl I want to sort by descending numerical order according to the number ...
    Christopher Yee MonChristopher Yee Mon
    Dec 16, 2008 at 1:32 am
    Dec 16, 2008 at 3:19 am
  • Hi, I was wondering if there is a quick way to remove an arbitrary element from an array. I have an array which stores delimited strings a_b_c_1). The last string stores the rank of the string. I ...
    Sharan BasappaSharan Basappa
    Dec 5, 2008 at 3:54 pm
    Jan 28, 2009 at 3:25 pm
  • List, I have a factorial script that calls a sub fact that does the factorial and returns a value. But I get this error when I execute the script: Use of uninitialized value in numeric gt ( ) at ...
    David EhresmannDavid Ehresmann
    Dec 30, 2008 at 1:10 pm
    Dec 30, 2008 at 4:53 pm
  • Hi, I am implementing an algorithm that I have worked out in theory. The algorithm is in the form of a flowchart. The area where I am having problem is where the flow passes from a lower decision ...
    Sharan BasappaSharan Basappa
    Dec 24, 2008 at 2:40 pm
    Dec 26, 2008 at 5:07 pm
  • I used winzip 12.0 to zip a file and used the code below to successfully unzip it. ======= #!/usr/bin/perl -w use IO::Uncompress::AnyInflate qw(anyinflate $AnyInflateError) ; @ARGV == 2 or die ...
    Fisher, JohnFisher, John
    Dec 16, 2008 at 3:56 pm
    Dec 18, 2008 at 12:30 pm
  • Hi, My website is hosted in 110mb.com and they do not have this module installed Algorithm::Numerical::Shuffle qw /shuffle/; So what can I do to use that module. Thanks
    ItshardtogetoneItshardtogetone
    Dec 7, 2008 at 11:16 pm
    Dec 11, 2008 at 8:40 pm
  • Hello, I am trying to add data into a multidimensional array in a loop. I'm wanting something along the lines of: @array = $record[0]='foo' $record[1]='bar' $record[2]='fue' $record[3]='bargh' ...
    Andy DixonAndy Dixon
    Dec 6, 2008 at 10:40 am
    Dec 6, 2008 at 2:20 pm
  • Hi, I have some data from a dbi that looks like this: +-----------+-----------+--------+------------------------+ I used this statement to try and grab 1st, title1; 2nd title2; if all fails there ...
    DermotDermot
    Dec 5, 2008 at 3:01 pm
    Dec 5, 2008 at 5:46 pm
  • Thank you to all who helped me get a 6 digit date into perl. I certainly heed warnings about not using outside system calls in perl however, I have to make an outside call again. #!/usr/bin/perl -w ...
    DavidDavid
    Dec 2, 2008 at 3:18 am
    Dec 3, 2008 at 2:50 am
  • Hello. I want to add sequential numbers to a file, one number per line, at the end of each line. The files have a .csv format. So, I'd like to add ",1" to the first line, ",2" to the second line, and ...
    Blackd77Blackd77
    Dec 29, 2008 at 4:52 am
    Dec 30, 2008 at 3:42 pm
  • Hello, I have a hash tree, which sub- and sub-sub-sub ( and whatever ) items inside are all hashes. and the next step I dealing with this hash tree is to use Data::Dumper to dump it out. What I hope ...
    Panda-XPanda-X
    Dec 15, 2008 at 9:19 am
    Dec 17, 2008 at 6:25 am
  • Dear perl users, I read a large file into a hash table. This hash table is used only once in the subroutine. I am very concern the memory usage, So I plan to realse the memory after used the hash ...
    Org chenOrg chen
    Dec 10, 2008 at 2:46 am
    Dec 10, 2008 at 8:36 pm
  • I'm a lawyer learning perl and new to this group. My law firm uses free and open source code. I've been able to show nearby nonprofits and other law firms options that exist besides proprietary ...
    Late_rabbitLate_rabbit
    Dec 7, 2008 at 9:41 pm
    Dec 9, 2008 at 2:11 pm
  • while going over below example from the book, I am not understanding why/how below program works. Can someone explain this to me in better way? what is READER exactly reading from??? and what does ...
    RichardRichard
    Dec 4, 2008 at 6:50 am
    Dec 7, 2008 at 8:33 am
  • Hi Matt, A very Good Morning, Need a small Info for my problem. I have a directory named "X" which has many sub directories "Y","Z","W" and many files about 20 , and these sub directories also ...
    KotiKoti
    Dec 2, 2008 at 11:48 am
    Dec 3, 2008 at 4:26 am
  • Hello, I have one perl (5.10) installed by my Ubuntu 8.10, as this version of Perl has memory leak issue with regex, so I compile another one into /opt/ perl5.8.9. The problem is originally I ...
    HowaHowa
    Dec 1, 2008 at 4:42 am
    Dec 2, 2008 at 2:22 am
  • Hello, I am writing Perl scripts that go to webpages, download certain content, and then create a CSV file with the relevant data. I am trying to be a friendly web robot, so I am using the ...
    John RefiorJohn Refior
    Dec 26, 2008 at 8:03 pm
    Jan 9, 2009 at 3:12 pm
  • Hi, I'm new to perl. The following code is wrong., and I can not spot it. Any suggestion? Thx. #!/usr/bin/perl -w &init_words (); sub init_words{ while ( $filename=<*.secret ){ open( WORDLIST, ...
    Mobile ParmenidesMobile Parmenides
    Dec 27, 2008 at 10:41 am
    Dec 29, 2008 at 5:36 am
  • Hi all, How can we read mail from inbox without using mail client like outlook? Using perl. i.e. Is it possible to read Inbox of your gmail account using perl? Thanks & Regards, Sanket Vaidya ...
    Sanket vaidyaSanket vaidya
    Dec 23, 2008 at 10:46 am
    Dec 23, 2008 at 2:54 pm
  • Hi, I want to connect to a "Oracle SQL Developer" with perl (running on windows). I tried something like, use DBI; $db = "database1"; $host = "10.0.0.1:1433"; $user = "username"; $password = ...
    MGautamMGautam
    Dec 20, 2008 at 11:18 am
    Dec 22, 2008 at 9:41 pm
  • Hi all, i have this regex [\x3c][i][m][a][g][e]\x20[s][r][c][=][h][t][t][p][:]\x2f\x2f[\x26][#]114[;][\x26][#]2570[;][\x26][#]114[;][.][b][o][o][k][.][c][o][m] when i tried to put it into human ...
    Monnappa appaiahMonnappa appaiah
    Dec 11, 2008 at 7:23 pm
    Dec 11, 2008 at 8:42 pm
  • I am looking for some suggestions on any advanced functions Perl might have that i might be missing. Basically, I have an array with column widths. Next I have a string. I would like to extract the ...
    Sanju.shahSanju.shah
    Dec 8, 2008 at 6:54 pm
    Dec 10, 2008 at 7:21 am
  • I am working on a script to help find malicious traffic that takes the supplied ip and port from the user, does a number of checks (reverse dns, whois, banner grabbing, amap and nmap service ...
    Askew BlakeAskew Blake
    Dec 4, 2008 at 12:22 am
    Dec 4, 2008 at 5:18 am
  • In order to ramp up quickly on the nitty-gritty of Regular Expressions in Perl, what will be a good book to start with? I do have moderate familiarity with RegEx, but am still not using all that ...
    RexRex
    Dec 3, 2008 at 3:46 pm
    Dec 3, 2008 at 7:18 pm
  • I am new to perl and attempting to write a script that will do a reverse dns lookup on an ip, store this result into a file, then read the file in order to do a whois lookup. The whois lookup answer ...
    Blake askewBlake askew
    Dec 1, 2008 at 12:58 am
    Dec 2, 2008 at 11:39 am
  • I'm a new perl user. I was trying to print an array by using print @array and print "@array". Is it supposed to output the same thing? I got the different output. EX: @array=qw/v1 v2 v3/, the output ...
    Xie ningdeXie ningde
    Dec 30, 2008 at 4:49 am
    Dec 30, 2008 at 12:52 pm
  • I have a need to manipulate some filenames. The files are all in a single directory. They are currently named in the form: 01012003-Rattler.tar.gz 01162003-Rattler.tar.gz 01312003-Rattler.tar.gz ...
    M.LewisM.Lewis
    Dec 27, 2008 at 8:06 am
    Dec 28, 2008 at 12:19 am
  • I need to read in a file of 200 lines and print each out to a separate file. I've been stumbling with this, but I don't know how to name each outfile individually. I was hoping to see 200 files named ...
    Charlie FarinellaCharlie Farinella
    Dec 24, 2008 at 6:16 pm
    Dec 25, 2008 at 3:23 am
  • Hi all, I am trying to use recursive regular expression in Perl. I am using an example from http://www.perl.com/pub/a/2003/06/06/regexps.html. Whenever I try to execute the program, it hangs and I ...
    Amit SaxenaAmit Saxena
    Dec 24, 2008 at 6:11 am
    Dec 24, 2008 at 4:50 pm
  • Hi, New to Perl. Need help to write server side using Perl that returns JSON data. Please include detail examples. e.g. how to take a hash and convert to JSON or array of hashes and convert them into ...
    AtiqulREAtiqulRE
    Dec 14, 2008 at 6:37 pm
    Dec 17, 2008 at 10:33 pm
  • HI, I have a bunch of news websites that are stored in my mysql db and each morning I have a script to go to each site and download the top stories (this is for personal use, not commercial). My ...
    HotkittyHotkitty
    Dec 13, 2008 at 1:32 am
    Dec 14, 2008 at 6:22 pm
  • Dear all What is the precise difference between the two ways of generating an inside-out-object? 1/ my $node = bless \do { my $anonymous }, ref($class) || $class; 2/ my $a; my $node = bless \$a, ...
    Christoph KieferChristoph Kiefer
    Dec 10, 2008 at 12:50 pm
    Dec 12, 2008 at 12:32 am
  • 3

    XS

    Patrick DuprePatrick Dupre
    Dec 4, 2008 at 12:48 am
    Dec 9, 2008 at 10:32 am
  • Hello, whats the difference if you start a variable with :: for example: $::a $a $main::a or: Package Foo; $::a # <- this is still main?! $::Foo::a $Foo::a $a didn't found information in the perldoc. ...
    Martin BarthMartin Barth
    Dec 2, 2008 at 3:43 pm
    Dec 2, 2008 at 5:19 pm
  • DeviloperDeviloper
    Dec 2, 2008 at 2:11 pm
    Dec 2, 2008 at 3:52 pm
  • Hi, I am trying port an Custom Perl module from one server to another. The module uses C/XS and was built in 2001/2. I got the source and did `perl Makefile.PL; make`. There was an error in one .c ...
    DermotDermot
    Dec 1, 2008 at 2:19 pm
    Dec 1, 2008 at 5:58 pm
  • Hi, While running following IMAP learn script (see attachment) I am getting following error message. config: invalid regexp for rule OEM_SPAM: /Reinstall OEM with different I am bit confused about ...
    Meghanand AcharekarMeghanand Acharekar
    Dec 1, 2008 at 6:38 am
    Dec 1, 2008 at 2:07 pm
  • Hi all, I am trying to interface with a work timesite server, and the site uses javascript. I am first presented with a login page (username, password) and then my current weeks timecard after ...
    BftBft
    Dec 30, 2008 at 11:50 pm
    Jan 1, 2009 at 12:48 am
  • what's wrong w/ this ? I used (dot) . to indicate the maximum length of each element in the print but last one does not print out in alinged format.. What am i missing? use warnings; use strict; my ...
    RichardRichard
    Dec 25, 2008 at 2:49 am
    Dec 25, 2008 at 3:30 am
  • Hi, Query 1 ======== Is it possible to use Perl DBI to connect to SQL Server? I think all DBD drivers (mysql,Oracle,etc) need different syntax for connect. Supposing I want to connect to database ...
    MGautamMGautam
    Dec 24, 2008 at 5:28 am
    Dec 24, 2008 at 9:19 am
Group Navigation
period‹ prev | Dec 2008 | next ›
Group Overview
groupbeginners @
categoriesperl
discussions84
posts405
users109
websiteperl.org

109 users for December 2008

Chas. Owens: 44 posts Mr. Shawn H. Corey: 40 posts John W. Krahn: 32 posts Rob Dixon: 22 posts Jenda Krynicky: 18 posts Richard: 13 posts Raymond Wan: 10 posts Blake askew: 7 posts Dermot: 7 posts Jeff Pang: 7 posts Patrick Kirsch: 6 posts Perl pra: 6 posts Gu, Han: 5 posts Hotkitty: 5 posts James Moser: 5 posts Rex: 5 posts Stealth: 5 posts Collaborate: 4 posts Fisher, John: 4 posts Francisco Valladolid: 4 posts
show more
Archives