Search Discussions

171 discussions - 650 posts

  • so...this is suposed to count the words in FILE and return how many occourances of each word there were...its not working for me though....its only returning the count for the last word in the ...
    Chris BrownChris Brown
    Apr 24, 2001 at 3:12 pm
    Apr 27, 2001 at 7:41 pm
  • gang, # problem: open a file # find lines that meet a condition, put them in an output file Could you share some patterns/sample code that you use to accomplish this task? What pattern do you use ...
    McCormick, Rob EMcCormick, Rob E
    Apr 30, 2001 at 9:11 pm
    May 1, 2001 at 10:38 pm
  • I know this is gonna be a daft one, but can anyone explain why the following code generates the output below. print "argv=$ARGV[0]\n"; my($dealer,$system,$dtype,$ref)=split(".",$ARGV[0]); ...
    Gary StainburnGary Stainburn
    Apr 25, 2001 at 2:25 pm
    Apr 25, 2001 at 8:16 pm
  • i have read about it in 3 books and even used it in scripts i have made but i still dont truly know how to be sure what $_ contains...can anyone clear this up for me? Thanks Chris Brown
    Chris BrownChris Brown
    Apr 22, 2001 at 6:52 pm
    Apr 23, 2001 at 6:16 pm
  • Anyone aware of a script and or how I might go about archiving posts from within a chat room I've built? This chat room has been up and running well for over a year and has search capabilities of the ...
    Dennis LaPineDennis LaPine
    Apr 15, 2001 at 5:26 am
    Apr 23, 2001 at 2:11 am
  • Hello, Does anybody know how to call a subroutine that is in a .pm file from another .pm file.
    Morse, LorettaMorse, Loretta
    Apr 27, 2001 at 7:43 pm
    Apr 30, 2001 at 6:15 pm
  • I am also very new to Perl! I need to figure out how I could skip a block of comments in a C header file. For example, if I have something like the following: /* This is my block of comments.....blah ...
    Yvonne MurphyYvonne Murphy
    Apr 20, 2001 at 8:03 am
    Aug 20, 2001 at 2:50 pm
  • Hi, folks ... I'm generating a list of files (from a find subroutine) and putting them in an array. The list looks like ... /home4/dsadmin/7790/DocuShare/documents/b003/File-11523.1 ...
    Sandor W. SklarSandor W. Sklar
    Apr 24, 2001 at 4:52 pm
    Aug 17, 2001 at 2:58 pm
  • Hi, I'm a Perl newbie for sure. I recently subscribed to the list and this is my first post. My programming background is limited C and VisualBasic stuff. My regular focus is database development and ...
    Curtis MichelsonCurtis Michelson
    Apr 30, 2001 at 4:20 pm
    May 2, 2001 at 12:37 pm
  • Hi all, I have sucked two substrings into two variables : $index = substr $_, 35, 11; $value = substr $_, 64, 6; These variables may or may not have leading zero/s : 000009/000099/000999........ and ...
    Mark MartinMark Martin
    Apr 19, 2001 at 2:39 pm
    Aug 18, 2001 at 12:13 am
  • I am parsing one file into many files. The input file has the format: Input File: customer1:info_a customer2:info_b customer1:info_c customer3:info_d customer2:info_e I want to split this into ...
    Cron, DanielCron, Daniel
    Apr 30, 2001 at 8:19 pm
    May 1, 2001 at 1:28 am
  • i have this program: $sup1='a'; $sup2='b'; $sup3='c'; for ($i=1 ; $i<4 ;$i++){ print $sup($i); } but give error, why???
    Apr 17, 2001 at 4:02 pm
    Apr 18, 2001 at 1:51 pm
  • Hello, I am very new to perl. I have two pst (personal folder files) that I want to combine into one. I know how to use cat in Linux. How do do this same operation in perl under windows? Thank You, ...
    Drain, FrankDrain, Frank
    Apr 19, 2001 at 8:28 pm
    Aug 17, 2001 at 2:58 pm
  • Hi all, Below is a piece of code central to my problem. I've used this a lot of time without problem, but on this occasion, it fails me. Whenever I run the script, it ends with the error "bash: ...
    Billy JoedonoBilly Joedono
    Apr 27, 2001 at 2:45 am
    May 3, 2001 at 12:09 am
  • This used to be working but after my very adventurous fiasco (deleting perl5, installing perl6, deleting perl6, installing perl5 - yes i deleted not uninstalled), it's not working anymore. I'm ...
    Arante, SusanArante, Susan
    Apr 26, 2001 at 11:44 pm
    Apr 29, 2001 at 7:38 am
  • Here is a line from a job description that has me baffled: "·Perl scripting (must know how to Perl well enough to script inside a case shell)" Leaving aside the use of "Perl" as a verb for another ...
    Dennis FoxDennis Fox
    Apr 24, 2001 at 11:35 pm
    Apr 27, 2001 at 4:42 am
  • Hi, neeeeeeeeeeeeeeeed help. Please let me know how I can execute a windows 2000 command from a perl script? any command like dir for example. thanks, ===== Peter Lemus Computer Networks Engineer ...
    Peter LemusPeter Lemus
    Apr 19, 2001 at 7:59 pm
    Apr 26, 2001 at 2:20 pm
  • Hi all, has anybody got experience with DBI. I'm retrieving data from Oracle and running programs quite nicely on te output but after that I need to get my results back into a table. My results are ...
    Mark MartinMark Martin
    Apr 20, 2001 at 4:06 pm
    Apr 25, 2001 at 2:16 pm
  • Hi all. I'm trying to do what I think is a very simple thing. I want to read keyboard input char by char and time the difference between each keystroke. I've tried using while (sysread STDIN, $key, ...
    Lee, JanetLee, Janet
    Apr 23, 2001 at 9:23 pm
    Apr 25, 2001 at 1:32 am
  • I once saw a command for listing the installed modules, but now cannot remember it. I am using FreeBSD 4.2 with Apache 1.3.14 and Perl 5.005_03. I want to verify that the module cgi-pm is installed. ...
    Chip WiegandChip Wiegand
    Apr 21, 2001 at 3:23 am
    Apr 22, 2001 at 12:40 am
  • Hi, guys, I need to read a huge two column file; I only need the data from the second column; I need to asign it a variable to that column, for example $FILE, how do go about doing this; I appreciate ...
    Peter LemusPeter Lemus
    Apr 20, 2001 at 3:28 pm
    Apr 21, 2001 at 7:07 am
  • Am rather a beginner at perl and was wondering how to do the following. I've read in a text file containing a list of file paths. the list is read in to an array. I want to scan through the whole ...
    Kaustav BhattacharyaKaustav Bhattacharya
    Apr 27, 2001 at 12:27 pm
    Apr 30, 2001 at 12:18 am
  • I cannot use a fixed library path as the script will be installed in different directories on different systems. the idea is it will be executed as: /home/dbncc/perl/scripts/xxxx.pl and the library ...
    Craig Moynes/Markham/IBMCraig Moynes/Markham/IBM
    Apr 27, 2001 at 8:28 pm
    Apr 28, 2001 at 6:09 am
  • How do I get help on some modules like what are services available in particular module say NET::FTP etc etc.... Thanks Amar
    Amarnath Honnavalli AnantharamaiahAmarnath Honnavalli Anantharamaiah
    Apr 24, 2001 at 6:41 am
    Apr 25, 2001 at 9:01 pm
  • Hello, How do i read a simple file and look for "repeated words" in each line, writing out the words i have found and the numbers of line they were found? eg: File == Test.Dat sample line of text. ...
    Helio S. JuniorHelio S. Junior
    Apr 25, 2001 at 11:22 am
    Apr 25, 2001 at 6:32 pm
  • Thank you very much for all the great help I received earlier on extracting numbers from text. There is only one thing I forgot about: Some of the files have HTML headers and footers. I don't want ...
    Apr 24, 2001 at 8:06 pm
    Apr 24, 2001 at 9:12 pm
  • Could someone tell me why this is happening? When I use this command, it used to give me 20010405.doc (yyyymmdd.doc), now it's giving me 2001 4 5.doc - I'm losing the leading zeros. Command is on ...
    Arante, SusanArante, Susan
    Apr 24, 2001 at 4:18 pm
    Apr 24, 2001 at 5:41 pm
  • What does exactly does use strict do? ...1. I strongly suggest using the pragma ... ... use strict; ... ... It will force you to write less error-prone code.....
    IT Dept - Terry HoneyfordIT Dept - Terry Honeyford
    Apr 20, 2001 at 9:11 am
    Apr 22, 2001 at 11:22 pm
  • Hi All: I'm very much a beginning perl programmer, and I just discovered that perl has a huge manpage presence. Perl Man Pages http://www.aisd.com/technology/perl/man/ Overview and listing on the ...
    Ray Calkins 100660207Ray Calkins 100660207
    Apr 19, 2001 at 3:56 pm
    Apr 21, 2001 at 2:02 am
  • Here's some real basic info about hashes...may be useful to newbies... @ary = ('a', 'b', 'c', 'b', 'a'); %hsh = (); # empty hash foreach $item (@ary) { $hsh{$item} = 1; } @ary = keys %hsh; What does ...
    Nutter, MarkNutter, Mark
    Apr 20, 2001 at 1:29 pm
    Apr 20, 2001 at 5:42 pm
  • Hello All: I'm want to write a few CGI programs for my web site, but I've heard there are some (unspecified) security issues with Perl and CGI. How can I avoid leaving myself open? I have read ...
    Ray Calkins 100660207Ray Calkins 100660207
    Apr 16, 2001 at 6:05 pm
    Apr 16, 2001 at 8:15 pm
  • Geeze, these answers come in much faster than I can type... I did want to check your use of an array... You're using hash access: $array{0} = 'clk_n'; Shouldn't this be $array[0] = 'clk_n'; ...
    Apr 16, 2001 at 7:30 pm
    Apr 16, 2001 at 8:09 pm
  • I've inserted text into a file before, but I can't seem to figure this one out. I'm trying to create a guestbook / message list. I'm taking information from a form and trying to insert it at a ...
    Morgan SeppyMorgan Seppy
    Apr 25, 2001 at 1:22 am
    Apr 25, 2001 at 9:48 pm
  • I thought I was improving at expressions but this one has me stumped: I have text interspersed with numbers. The text can be anything, including all types of punctuation marks. Well let me give an ...
    Apr 24, 2001 at 4:35 pm
    Apr 25, 2001 at 12:48 am
  • Sorry so lengthy but here goes: I am a Perl newbie and trying to parse a file. Depending on the tags in the data I want to parse each line a different way. I built the following program to test my ...
    Stout, Joel RStout, Joel R
    Apr 24, 2001 at 8:22 pm
    Apr 24, 2001 at 9:45 pm
  • Dear Casey and the list, Thanks for your all of your valuable help, What is $|++ for? #!/usr/local/bin/perl -w use strict; $|++; while ( <DATA ) { chomp; print( &validate( $_ ) ? 'valid entry' : 'try ...
    David GildenDavid Gilden
    Apr 23, 2001 at 7:56 pm
    Apr 24, 2001 at 2:17 pm
  • Okay...bit off topic...and sounds very basic. But does anyone knoe how the hell I can delete a member from a UBB forum!!! haha. DataGeek.org webmaster, Damien Tanner ICQ: 101805269 MSN: damientanner
    Damien TannerDamien Tanner
    Apr 19, 2001 at 6:04 pm
    Apr 19, 2001 at 8:19 pm
  • Currently I'm a strictly blackbox tester type, but see the utility of perl for testing. What would be the best resource for learning PERL pointing to that goal? That is, should I pay more attention ...
    Michael MitchellMichael Mitchell
    Apr 16, 2001 at 4:07 pm
    Apr 17, 2001 at 3:17 pm
  • Hello, I am fairly new to perl and am having problems matching a specific character. I want to be able to match the "_" character at the end of a string. For example, asume I have an array of strings ...
    Prentice, Phillip RPrentice, Phillip R
    Apr 16, 2001 at 6:37 pm
    Apr 17, 2001 at 12:31 am
  • Hi all, I'm new to this list and quite new to Perl. I'm on digest, so I'd appreciate a cc. I have written a subroutine to parse a text file containing a flat file database. The data ends up in a hash ...
    Martijn van ExelMartijn van Exel
    Apr 17, 2001 at 8:39 pm
    Aug 17, 2001 at 2:58 pm
  • Hi, Guys, I'm running a perl script that generates lots of error messages and successful completion messages. Please give me some tips on how can I put all this data to a log file. thanks, ===== ...
    Peter LemusPeter Lemus
    Apr 26, 2001 at 7:32 pm
    Apr 26, 2001 at 10:51 pm
  • I'm trying to understand an example from the Waite Press book (Perl 5 Interactive Course, a bit dated, '97, Orwant) The example doesn't have -w or strict; enabled. I ran it with them and the error ...
    McCormick, Rob EMcCormick, Rob E
    Apr 25, 2001 at 9:47 pm
    Apr 25, 2001 at 10:28 pm
  • i have done some cgi stuff like a guestbook and a script to display random images but i wanted to get deeper so i thought i would try this...im not in any classes...i guess you could call it personal ...
    Chris BrownChris Brown
    Apr 24, 2001 at 3:52 pm
    Apr 25, 2001 at 7:29 pm
  • Zysman, RoiyZysman, Roiy
    Apr 23, 2001 at 1:20 pm
    Apr 25, 2001 at 6:37 am
  • I had a pm that used to be working and is called using "use ABC::Test;". I deleted (for some stupid reasons) the perl directory and didn't realize I also deleted the ABC subdirectory below site\lib. ...
    Arante, SusanArante, Susan
    Apr 24, 2001 at 9:09 pm
    Apr 24, 2001 at 11:04 pm
  • Hi There What is mod_perl ? I have Apache Server installed on my system. Please can anybody mail me windows installable and its tutorials and other docs directly. Thanks Regards Joel ...
    Joel DivekarJoel Divekar
    Apr 24, 2001 at 10:34 am
    Apr 24, 2001 at 1:11 pm
  • I am trying to include a header file in each Perl package (files with .pm extension), but the constants declared in the header files are not recognized anymore. The only way I found to go around this ...
    Benothmane, MohamedBenothmane, Mohamed
    Apr 21, 2001 at 2:17 am
    Apr 24, 2001 at 12:45 am
  • Is there any lib/module I could use for data parsing? I has some data format that the grammar is known (quite simple actually), but I need to write some function/API such that I could read the data ...
    Pang, JosephPang, Joseph
    Apr 20, 2001 at 10:31 pm
    Apr 22, 2001 at 2:25 pm
  • Ok, I have exhausted all other options. This code used to work, and now, no matter what I use for a path, I always get an error opening the file... Does anyone see anything obvious here in this ...
    Apr 18, 2001 at 12:22 pm
    Apr 18, 2001 at 6:24 pm
  • Our site (www.dagl.net) has recently been given the task of beta testing a new statistics program for our Quake 3 game servers... This new program is called "GeigerCounter - RC5", in case any of you ...
    Apr 15, 2001 at 11:53 pm
    Apr 16, 2001 at 8:46 am
Group Navigation
period‹ top | Apr 2001 | next ›
Group Overview
groupbeginners @

169 users for April 2001

Paul: 39 posts King, Jason: 33 posts Casey West: 31 posts Sean O'Leary: 25 posts Timothy Kimball: 22 posts Dan Brown: 20 posts Kevin Meltzer: 19 posts Matt Cauthorn: 19 posts Michael Lamertz: 18 posts Peter Scott: 18 posts Paul Johnson: 17 posts Nutter, Mark: 15 posts Blowther: 13 posts Gary Stainburn: 11 posts M.W. Koskamp: 11 posts Johnathan Kupferer: 10 posts Collin Rogowski: 9 posts David H. Adler: 8 posts John Joseph Trammell: 8 posts Peter Lemus: 8 posts
show more