Re: what is this?

2002-12-05 Thread simran
>From the docs... -S makes perl use the PATH environment variable to search for the script (unless the name of the script starts with a slash). Typically this is used to emulate #! startup on machines that don't support #!, in the fol- lowing m

what is this?

2002-12-05 Thread Tom Allison
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if 0; # not running under some shell - What does this do and why? -- mummy, n.: An Egyptian who was pressed for time. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Compare script fails

2002-12-05 Thread Patel, SamirX K
Could there be extra, non-visible characters attached to the subject coming back? You might want to try using a regular expression to do the comparison. It'll give you more control to pass or ignore stuff. Something the following will ignore extra leading or trailing characters, and ignore case

Issues with CPAN

2002-12-05 Thread John Burski
I've a fresh install of Red Hat 8.0 with Perl 5.8.0 and I need to install some code to facilitate barcoding, specifically Code 128. Using CPAN I was able to install the Barcode::Code128 module. However, the documentation for the Barcode::Code128 module indicates that the GD module is necessar

command execution & timeout in Windows

2002-12-05 Thread Venkatesan.Saranatha
Hello List, I am trying to a write a simple subroutine in perl to take a command as argument, execute the command, if the command does not complete with in specified timeout interval, kill the process. If the program get completed within timeout interval, then return its output to the calling rou

Re: Newest Version

2002-12-05 Thread Mystik Gotan
ftp://ftp.cpan.org/pub/CPAN/src/perl-5.8.0.tar.gz -- Bob Erinkveld (Webmaster Insane Hosts) www.insane-hosts.net MSN: [EMAIL PROTECTED] From: "Paul Kraus" <[EMAIL PROTECTED]> To: "Perl" <[EMAIL PROTECTED]> Subject: Newest Version Date: Thu, 5 Dec 2002 14:40:46 -0500 I see that

acFTP

2002-12-05 Thread jason.pan
Hi, I am using a FTP server which is from http://acFTP.sourceforge.net/ . But, the Microsoft NT user logon not working. Does anybody use this product. Please give me some configuration samples in the files of "OnLogin.rules.txt" and "OnRequest.rules.txt" in order to setup different

Compare script fails

2002-12-05 Thread Michael Weber
I am writing a script to check email functionality by sending a test message to an account that forwards it back to a pop account. I cannot seem to get the script to match the expected subject lines with what was received. No matter what I do, it never shows a match. Any ideas? Here's the subro

Newest Version

2002-12-05 Thread Paul Kraus
I see that the newest version of Perl 5.8.0 is out. But when I follow the links to get it for my sco open server box it takes me to 5.0005. Where can I get version 5.8 for sco? Paul Kraus Network Administrator PEL Supply Company 216.267.5775 Voice 216-267-6176 Fax www.pelsupply.com -- To

Re: Snagging the last page of a report

2002-12-05 Thread stelid-6
perldoc -f seek /Stefan Lidman Paul Kraus wrote: > > How do I look up info for a fuction like seek. I tried perldoc seek and > perldoc Seek to no avail. > > Thanks. > > > -Original Message- > > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 05, 2002 2:14 P

RE: Snagging the last page of a report

2002-12-05 Thread Paul Kraus
How do I look up info for a fuction like seek. I tried perldoc seek and perldoc Seek to no avail. Thanks. > -Original Message- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 2:14 PM > To: 'Paul Kraus'; Perl > Subject: RE: Snagging the last page of a

RE: Snagging the last page of a report

2002-12-05 Thread Bob Showalter
> -Original Message- > From: Paul Kraus [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 05, 2002 2:00 PM > To: Perl > Subject: Snagging the last page of a report > > > Every month I have several reports I print to disk. They are > hundreds of > pages long. I only need the last page

Snagging the last page of a report

2002-12-05 Thread Paul Kraus
Every month I have several reports I print to disk. They are hundreds of pages long. I only need the last page of each. As it is now I open it in a text editor scroll down and copy the last page to a new text document. This is irritating and I want to play with the Perl I have been learning. How c

Re: Auto refresh

2002-12-05 Thread LRMK
thanks actually when i was learning from a book(Mastering perl 5 by Eric Herman) that book doesn't say anything about cgi module. so i got to reinvent the weal again - Original Message - From: "Gary Stainburn" <[EMAIL PROTECTED]> To: "LRMK" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Th

Re: < a very novice > file location

2002-12-05 Thread Jenda Krynicky
Date sent: Thu, 05 Dec 2002 12:56:14 -0500 From: "Sam Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject:< a very novice > file location > I m very new to perl, please notice the errors I am including and tell > me how sim

Re: < a very novice > file location

2002-12-05 Thread Rob Dixon
Look at the values in array @INC. This is a list of the paths where Perl expects to find modules included with 'use'. Your .pm files need to be beneath one of these, but note that the path needs to include the full module name. Suppose one of the elements of @INC is /usr/perl5/5.00503/lib th

< a very novice > file location

2002-12-05 Thread Sam Harris
I m very new to perl, please notice the errors I am including and tell me how simple it is to correct them :) I have MD5.pm and Std.pm to be used in a directory above the one where perl is, my script gives me an error that says # ./net_watch ../net_watch[2]: use: not found ../net_watch[3]: u

check system integrity

2002-12-05 Thread Johnson, Shaunn
Howdy: Are there any perl-related scripts / apps to check a Linux system for attempted break-ins, password cracking, general hacking, ip spoofing, etc? Thanks! -X

Re: Auto refresh

2002-12-05 Thread LRMK
thanks actually when i was learning from a book(Mastering perl 5 by Eric Herman) that book doesn't say anything about cgi module. so i got to reinvent the weal again - Original Message - From: "Gary Stainburn" <[EMAIL PROTECTED]> To: "LRMK" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Th

Re: simple date compare need to do now(); on Date:Calc

2002-12-05 Thread rob
[EMAIL PROTECTED] wrote: On Thu, 05 Dec 2002 09:53:14 -0600, rob <[EMAIL PROTECTED]> wrote: Hello All Ive been away from this list for a while and am very rusty... I need to know how to pass now(); or today(); to my date compare These ne

RE: simple date compare need to do now(); on Date:Calc

2002-12-05 Thread wiggins
On Thu, 05 Dec 2002 09:53:14 -0600, rob <[EMAIL PROTECTED]> wrote: > Hello All Ive been away from this list for a while and am very rusty... > I need to know how to pass now(); or today(); to my date compare These need to be Now() and Today() (no

Re: Auto refresh

2002-12-05 Thread Gary Stainburn
On Thursday 05 Dec 2002 4:29 pm, LRMK wrote: > I'm not using CGI module for writing cgis > so i have to print html headers manualy > what should i print to make the html page refresh evary 10 Hi LRMK, (Love the name) Firstly, why not use CGI? Re-inventing the wheel may be great fun but I would

Auto refresh

2002-12-05 Thread LRMK
I'm not using CGI module for writing cgis so i have to print html headers manualy what should i print to make the html page refresh evary 10

RE: trouble with case-sensitivity

2002-12-05 Thread Timothy Johnson
If you are going to do an equality comparison, you can leave out the regex. if(lc($again) eq 'y'){ should work. -Original Message- From: Andrew F. [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 05, 2002 7:40 AM To: [EMAIL PROTECTED] Subject: trouble with case-sensitivity I

RE: trouble with case-sensitivity

2002-12-05 Thread Paul Kraus
If ($again =~ m/^y$/i) If $agian matches y at the begging and end. /i setting it to ignore case. I think that's what you where going for. ^match at begging of string $match at end of string. Paul > -Original Message- > From: Andrew F. [mailto:[EMAIL PROTECTED]] > Sent: Thursday, Decemb

trouble with case-sensitivity

2002-12-05 Thread Andrew F.
I wrote a simple program, and I decided to put a piece at the end which would allow the user to start the program over. I did it like this: print "\n\n" . 'Do you want to do another comparison (Y or N)?' . "\n"; $again = ; if ($again == /'y'/i) {; goto compare; };

Re: Help with merging

2002-12-05 Thread mk46
Pete Emerson wrote: if ACTION1 is a subset of (killed chopped smooshed knifed) etc.etc and ACTION2 is a subset of (with by for from) etc. etc. (or even better, is ACTION2 always the word "by" ??) then here is my sample program: #!/usr/bin/perl -w use strict; my $text='^7Kore^7Adam killed BEST

simple date compare need to do now(); on Date:Calc

2002-12-05 Thread rob
Hello All Ive been away from this list for a while and am very rusty... I need to know how to pass now(); or today(); to my date compare the following works and returns the expected days ## # use strict ; -w ; use Date::Calc qw( Date_to_Days ) ; my $y

RE: printing hash

2002-12-05 Thread Beau E. Cox
Hi Durate - I've never used these, but I'll bet one of them works for you: Tie-InsertOrderHash-0.01: insert-order-preserving tied hash [ download / quickinstall ] CPAN directory: B/BI/BINKLEY (B. K. Oxley (binkley)) Category >> Data Type Utilities >> Tie --

RE: Help with Auto Refresh

2002-12-05 Thread Kipp, James
woops, i meant to send this post to the cgi list. yes, i tried that in the cgi head method, but i got an error. thanks -Original Message- From: Danny Miller [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:21 PM To: 'Kipp, James'; [EMAIL PROTECTED] Subject: RE: Help with Aut

printing hash

2002-12-05 Thread Duarte Cordeiro
Hi, I have some data in a hash table, and I would like to print it in the same order as I created it. According to the user manual, "the result of foreach $key (keys %hash) is random-like". I tried it, and :) its true. Any way I can print it like I want ? Example: I need to print in the same or

RE: Umount / mnt

2002-12-05 Thread Paul Kraus
inline > How much data are you writing to /mnt/backup whilst it's mounted? When it completed a lot. Some machines have 20 some gigs worth of information. However right now all that I am is about 115 mb. But even then its just the first time. All the following times its just looking for newer file

Weekly list FAQ posting

2002-12-05 Thread casey
NAME beginners-faq - FAQ for the beginners mailing list 1 - Administriva 1.1 - I'm not subscribed - how do I subscribe? Send mail to <[EMAIL PROTECTED]> You can also specify your subscription email address by sending email to (assuming [EMAIL PROTECTED] is your email address):

Re: Substitute a word in a file

2002-12-05 Thread George P.
Hi, Thanks Tanton and Beau for replying. I wanted to replace the word with another of different length, but I guess that's not possible. The reason I wanted to do it this way, was because I thought it would be faster if I could directly alter the file, But I doesn't matter now, The method I'm u

RE: Help with Auto Refresh

2002-12-05 Thread Danny Miller
Did you try putting in your header? 120 = 2 minutes...i.e. the number is in seconds. Regards, Danny -Original Message- From: Kipp, James [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 4:16 PM To: [EMAIL PROTECTED] Subject: Help with Auto Refresh Hi I have a simple