Search Discussions

314 discussions - 1,512 posts

  • Hi folks, I'm after peoples opinions on my (beginner's) slant objects in perl. In much of what I've read, there seems to be the implied rule that Package Name == Class == Object Type, specifically ...
    Gary StainburnGary Stainburn
    Jan 12, 2004 at 11:26 am
    Jan 15, 2004 at 9:16 am
  • So this may be wishful thinking, but I would be kicking myself later if I didn't ask. Is there a function in perl where you give the function exact line numbers and it would only read the data in the ...
    Trina EspinozaTrina Espinoza
    Jan 28, 2004 at 2:59 am
    Feb 1, 2004 at 6:12 pm
  • Most of the scripts I see end in an extension like .jsp, .asp, .dll, or something which says that they aren't perl. Is there a reason more businesses and online companies don't use perl? -Dan
    Dan AndersonDan Anderson
    Jan 17, 2004 at 7:43 pm
    Jan 19, 2004 at 8:10 pm
  • Hi All! I am running a multithread program and threads may stuck. I need to be able to terminate those threads after some defined period of time. I can't use a detach because I don't want to leave ...
    Igor RyaboyIgor Ryaboy
    Jan 13, 2004 at 3:17 pm
    Jan 25, 2004 at 5:50 pm
  • There are always comments like "you can slurp the file as long as it's not too big" or "becareful not to slurp a really big file or you'll be in trouble". So what I'd like to survey is what would be ...
    Dan MueyDan Muey
    Jan 22, 2004 at 6:21 pm
    Jan 22, 2004 at 11:48 pm
  • Hi folks, I'm working for the first time with object, my $self being a ref to an anonymous hash, i.e. sub new { my $this=shift; # allow for CLASS- new() my $class=ref($this) || $this; # or $obj- ...
    Gary StainburnGary Stainburn
    Jan 5, 2004 at 1:12 pm
    Feb 25, 2004 at 2:40 pm
  • Hi Friends, I am presently working on an Automation project where I am using Active state perl as the programming language on windows platform. For the above mentioned project I am using Perl/Tk for ...
    Vinesh VargheseVinesh Varghese
    Jan 29, 2004 at 4:23 pm
    Feb 14, 2004 at 10:02 pm
  • Howdy list. I'm trying to one lineify this: my $guts = $firstchoice || ''; if(!$guts && $use_second_choice_if_first_is_empty) { $guts = $secondchoice; } Basically my $guts = $firstchoice || ...
    Dan MueyDan Muey
    Jan 7, 2004 at 10:21 pm
    Jan 8, 2004 at 7:24 pm
  • As I understand it, < operator will open all items in @ARGV allowing one to do a shell command line of perl.script file1 file2 file3 and inside perl.script you only need while (< ) { ... syntax to ...
    Jan 6, 2004 at 5:44 pm
    Jan 7, 2004 at 9:08 pm
  • 14


    I've requested 50 times to be taken off your mailing list, but you still send me this unwanted mail. I will now report all mail sent to me by you as SPAM.................... Stop sending me spam.
    David KappDavid Kapp
    Jan 7, 2004 at 7:31 pm
    Feb 26, 2004 at 5:25 pm
  • Is there a way to easily have emacs comment out xnumber of lines. If something{ Then do Else Do } Alt 5 Ctrl - somecoolsequence I don't know #If something{ # Then do #Else # Do #} Sort of perl ...
    Paul KrausPaul Kraus
    Jan 14, 2004 at 4:08 pm
    Jan 15, 2004 at 5:03 pm
  • Hi folks, My first forrey into Perl objects sees me trying to model a railway. I've got a hash of named blocks of track, which is added to when I create a new block object. My problem is one of ...
    Gary StainburnGary Stainburn
    Jan 5, 2004 at 2:05 pm
    Jan 7, 2004 at 9:45 am
  • Hi all: I'm trying to put a variable value into a text file. I've tried a few things with no success. Anyone know how to do this ? Is it doable ? I'm pretty sure I read how to do this somewhere, so ...
    Jan 25, 2004 at 7:42 pm
    Feb 1, 2004 at 1:27 pm
  • To start, let me say this: 1) I have both "Learning Perl 3rd Ed" and "Programming Perl 3rd Ed" 2) I have read "Learning Perl 3rd Ed", and I use "Programming Perl 3rd Ed" as reference. 3) I have ...
    Jan 30, 2004 at 10:02 pm
    Feb 1, 2004 at 1:08 am
  • # Print lines (or not) until a blank line is found (or not) # This function works fine. But in the spirit of learning...read on. sub print_lines_ok { my ($output, $blank_lines) = @_; if ...
    Jan 27, 2004 at 5:43 pm
    Jan 29, 2004 at 3:31 pm
  • Greetings, I've created a hash from an INPUT file and I'm trying to search for each key from the hash in a DATA file. However, I can't get my script to iteratively loop through the DATA file for each ...
    David ByrneDavid Byrne
    Jan 2, 2004 at 3:33 pm
    Jan 2, 2004 at 6:59 pm
  • let say that the file contains these items (every item is seperated with a tab) one title state name code1 number two title2 state2 name2 code2 number2 one title3 state3 name3 code3 number3 four ...
    Bjorn Van BlanckenbergBjorn Van Blanckenberg
    Jan 23, 2004 at 8:36 am
    Mar 10, 2004 at 3:11 pm
  • Hi, I'm new to Perl and I'm trying to excute/call a perl program from Perl Script in an ASP page. I've loaded ActivePerl v5.6 on my Microsoft Win2000 webserver and I can execute lots of Perl code in ...
    PerlDiscuss - Perl Newsgroups andPerlDiscuss - Perl Newsgroups and
    Jan 25, 2004 at 4:35 pm
    Jan 30, 2004 at 6:03 am
  • Is their a way in PERL to covert a date to a week number Cheers Neill ******************** IMPORTANT NOTICE This email (including any attachments) is meant only for the intended recipient. It may ...
    Neill TaylorNeill Taylor
    Jan 22, 2004 at 7:29 pm
    Jan 24, 2004 at 1:55 am
  • Can someone explain to me how to do multiline matching? I am trying to extract three consecutive lines from a datafile containing multiple records like this: Name: Bob City: Austin State: Texas ...
    Jose MalacaraJose Malacara
    Jan 15, 2004 at 1:23 am
    Jan 16, 2004 at 2:55 pm
  • Hello List, I've made a funtion to calculate the Fresnal zone for wireless connections. What I'd like to do is generate an image based on that. Something like the example at: ...
    Dan MueyDan Muey
    Jan 2, 2004 at 10:24 pm
    Jan 8, 2004 at 10:15 pm
  • Are there any free PERL debuggers? I once came across pvdb (a vi-aware front-end for the PERL debugger developed by Tom Christainsen), but I never got it to work. William Ampeh (x3939) Federal ...
    William AmpehWilliam Ampeh
    Jan 7, 2004 at 8:17 pm
    Jan 8, 2004 at 4:54 pm
  • Hi, We have a perl/cgi script (ActivePerl 5.8) which calls a executable (C code) using the system command. Ex: ..... @args = ("C:\\perlcode\\sample.pl", "arg1", "arg2"); system(@args); $exit_value = ...
    Atul VohraAtul Vohra
    Jan 6, 2004 at 6:47 pm
    Jan 6, 2004 at 10:54 pm
  • Hi, I don't know how to work with this data structure: my @array = ((a = 'appple'), (b = 'tree'), (c = 'chair')); when I do: print @array; I get no output. when I do: use Data::Dumper; print ...
    Jack ChenJack Chen
    Jan 16, 2004 at 4:03 pm
    Feb 6, 2004 at 5:49 am
  • Dear Perl Gurus, What is the difference between Use and Require. Thanks, Malliks
    Jan 29, 2004 at 6:05 pm
    Feb 1, 2004 at 2:24 am
  • Hi all, I tried to stuff the following two lines into one, but did not succeed: my($teilnehmer) = $eingabe =~ m/(?<=Teilnehmer:\n\n)(.+)/s; my(@teilzeilen) = split /\n/, $teilnehmer; This does not ...
    Jan EdenJan Eden
    Jan 29, 2004 at 12:34 am
    Jan 30, 2004 at 9:16 am
  • I there, I need to write a web database application using perl, and i need a way that when the users logs into the system i download all the information regarding to the user to its local computer ...
    Joe EchavarriaJoe Echavarria
    Jan 23, 2004 at 10:07 pm
    Jan 28, 2004 at 2:01 pm
  • Hello, Is it possible to dump the values of all the vars in a perl script easily? I want to have a sub called Error that when called will tell me the current value of all the vars in the script. ...
    Jan 14, 2004 at 7:41 pm
    Jan 15, 2004 at 11:19 pm
  • Hi, I have a file that appears to be somewhat sorted, but is not sorted according to the traditional unix sort. I'll give some examples, and if anyone recgonizes the way in which the file is sorted, ...
    Dan LaFlammeDan LaFlamme
    Jan 14, 2004 at 12:14 am
    Jan 15, 2004 at 5:13 pm
  • Hello, I have been able to use redirects with cgi.pm as long as the redirect is the only thing in the script. i.e. #!/usr/bin/perl use CGI qw(:standard); print redirect('http://google.com/'); but ...
    Jan 13, 2004 at 10:59 pm
    Jan 14, 2004 at 5:40 pm
  • Hello folks, How do I send the file name used by the client so that the server uses the same file name When it is writing it own file. thank you. --------------------------------here's the client: ...
    Tino ArellanoTino Arellano
    Jan 7, 2004 at 10:31 pm
    Jan 12, 2004 at 7:04 pm
  • Hi, this is not so much a technical as a stilistic question: How do you indent here-quoted parts? When writing code like this: foreach $letter ('a'..'z') { my $upletter = uc $letter; print ALPHAINDEX ...
    Jan EdenJan Eden
    Jan 9, 2004 at 1:10 pm
    Jan 9, 2004 at 4:56 pm
  • I am reading through a book on Objects and References and I don't understand this statement: $sum += $_ for split //; I thought a FOR statement needed to be in braces. How is it being used in this ...
    Paul HarwoodPaul Harwood
    Jan 8, 2004 at 1:40 am
    Jan 9, 2004 at 3:40 pm
  • Hello, The start of another year means new projects and hence more questions. Are there any tools with the capabilities of (SFU 3.0) that allow users to transparently run ?[ULi]nix-based applications ...
    William AmpehWilliam Ampeh
    Jan 5, 2004 at 5:32 pm
    Jan 6, 2004 at 4:31 pm
  • Hi, May I ask how could I list a file contents backward in a new file? Regards, Norman
    Norman ZhangNorman Zhang
    Jan 2, 2004 at 7:10 am
    Jan 3, 2004 at 6:20 am
  • Hi, I want to write a perl script to do something like this Abc 12.8 8 "left" 1 15.7 Def 13.8 9 "top" 0 19.7 gef 14.8 9 "left" 0 19.7 Dgf 12.3 9 "right" 4 99.6 cef 16.8 4 "right" 0 89.7 baf 32.8 7 ...
    Boon Chong AngBoon Chong Ang
    Jan 30, 2004 at 12:39 am
    Feb 6, 2004 at 10:07 pm
  • Hi All I have this little memory blockage again. If I 'push' data from a database into an array to look/manipulate the data and then using the same array name, 'push' data into the array from another ...
    Jan 12, 2004 at 9:20 am
    Jan 29, 2004 at 1:07 am
  • How come when I push a variable to an array it puts one whitespace before the variables on all the lines except the first one? I would except all the lines not to have the extra white space. Is there ...
    Anthony J SegelhorstAnthony J Segelhorst
    Jan 26, 2004 at 4:17 pm
    Jan 28, 2004 at 8:11 pm
  • What is the difference. The only I see is that printf can take a filehandle? But what use would that be. Paul Kraus ----------------------- PEL Supply Company Network Administrator ...
    Paul KrausPaul Kraus
    Jan 8, 2004 at 4:08 pm
    Jan 9, 2004 at 7:34 pm
  • Hello all, I am trying empty a directory with over 4000 files with a script, and do not understand why I can only delete half at a time. I am guessing that the directory handle has a size ...
    Charles HarveyCharles Harvey
    Jan 5, 2004 at 4:56 am
    Jan 6, 2004 at 4:27 am
  • Hi all, the following structure does not work as intended: sub read_index { my $gedicht_path = shift; my (%author_indexlines, %author_headlines, %gedicht_lines, @author_letters, @gedicht_letters, ...
    Jan EdenJan Eden
    Jan 28, 2004 at 2:53 pm
    Jan 29, 2004 at 4:37 pm
  • Hi all: I'm trying to determine how long an system operation takes. Anyone know of a simple way to do this ? I wanted to establish the start time. Then run the operation. Then mark the finish time. ...
    Jan 28, 2004 at 1:44 am
    Jan 29, 2004 at 1:07 pm
  • I have some code I want to add a package in the same file. I already have some _DATA_ in the file. Currently, the code is not seeing the _DATA_. How can I add a package in the same file then. Thanks ...
    Eric WalkerEric Walker
    Jan 23, 2004 at 9:27 pm
    Jan 23, 2004 at 10:59 pm
  • I have a small script that does some admin work for me. What I need to do now is not only have is display information to STDERR and STDOUT but also write the same information I see when I run the ...
    Larry GuestLarry Guest
    Jan 17, 2004 at 1:03 am
    Jan 20, 2004 at 10:43 am
  • Thanks Ron, will give that a try.. One more for everyone... In my perl script, I did a quick cheat by using the systems grep command... I tried: `/usr/bin/grep -v "BLAH" | /usr/bin/grep -v "COW" | ...
    Lewick, TaylorLewick, Taylor
    Jan 16, 2004 at 2:24 pm
    Jan 16, 2004 at 11:23 pm
  • Hello i wanna know what Perl module can I use and what commands to do the folowing: 1-Check to see if the file is a valid jpg file 2-Check the file size Thanks in advance
    Andre Chaves MascarenhasAndre Chaves Mascarenhas
    Jan 15, 2004 at 7:03 pm
    Jan 16, 2004 at 3:30 pm
  • Hi, could anyone recommend a good program to write code, currently using notepad. Thanks a lot in advance. Marcelo
    Jan 21, 2004 at 10:31 pm
    Feb 4, 2004 at 9:22 pm
  • Hey there, what is a nice way of doing what this looks like it should do: @a=([1,2,3],[5,5,5],[9,8,7]); @b=([5,5,5],[1,2,3]); @c=@a-@b; and have @c == ([1,2,3]); Is there a good way of doing this? ...
    Robin SheatRobin Sheat
    Jan 30, 2004 at 5:07 am
    Feb 1, 2004 at 4:19 am
  • I am attempting to write a Perl script that can login to my account at capitalone.com, grab my balance and available credit and email them to me. I did this successfully with my online banking, but ...
    Andrew GaffneyAndrew Gaffney
    Jan 28, 2004 at 7:55 am
    Jan 30, 2004 at 6:10 pm
  • Hi, this question has to do with importing names from one package into another. In my case, both packages reside in the same file, and I simply want to import all the package-global symbols from the ...
    Jan 28, 2004 at 6:42 pm
    Jan 29, 2004 at 4:47 pm
Group Navigation
period‹ prev | Jan 2004 | next ›
Group Overview
groupbeginners @

244 users for January 2004

Rob Dixon: 83 posts James Edward Gray II: 76 posts Dan Muey: 70 posts Wiggins d'Anconia: 67 posts Drieux: 64 posts Dan Anderson: 61 posts R. Joseph Newton: 51 posts Jan Eden: 46 posts John W. Krahn: 42 posts Paul Kraus: 42 posts Tim Johnson: 29 posts Gary Stainburn: 28 posts Owen Cook: 26 posts Zentara: 26 posts Charles K. Clarkson: 25 posts Jeff 'japhy' Pinyan: 24 posts Randal L. Schwartz: 24 posts John McKown: 20 posts Wolf blaum: 20 posts Jenda Krynicky: 18 posts
show more