something awry

2002-09-11 Thread Mike Singleton
I am doing something awry here, the first part of the script doesn't seem to replace all the spaces with commas and strip everything before the date my @files = glob('3D2*.log'); my @f = split /s+/,$_,9; print OUTF join(',',@f)."\n"; close (OUTF); open(OUTF,">myfile.csv"); local @ARGV =

new output error

2002-09-11 Thread Mike Singleton
The output file (myfile.csv) is blank... any ideas out there? Thanks! === Start=== use strict; my $JOBSTART = 'JOBSTART'; my $CONDSTART = 'CONDSTART'; my $JOBEND = 'JOBEND'; my $CONDEND = 'CONDEND'; my $JOBCANC = 'JOBCANC'; my $XFER = 'XFER'; my $VOLUSED = 'VOLUSED'; opendir DIR, '.' or die "ope

Re: new output error

2002-09-11 Thread George P.
On Tue, 10 Sep 2002, Mike Singleton wrote: > The output file (myfile.csv) is blank... any ideas out there? Thanks! > > === Start=== > use strict; > my $JOBSTART = 'JOBSTART'; > my $CONDSTART = 'CONDSTART'; > my $JOBEND = 'JOBEND'; > my $CONDEND = 'CONDEND'; > my $JOBCANC = 'JOBCANC'; > my $XFER

RE: new output error

2002-09-11 Thread Jeff AA
> -Original Message- > From: Mike Singleton [mailto:[EMAIL PROTECTED]] > Sent: 11 September 2002 04:40 > To: [EMAIL PROTECTED] > Subject: new output error > > > The output file (myfile.csv) is blank... any ideas out there? Thanks! > > print OUT join (',', @f) . "\n" if >/$JOBST

Windows /dev/null device

2002-09-11 Thread Mohd Salman
Hi , How I can send my errors to a null device under windows environment(winxp). I tried $myoutput= `anycommand 2>null ` , but always this command create a file called null . Thanks. _ Join the world’s largest e-mail service with

Re: how to release memory

2002-09-11 Thread Jean-Luc BEAUDET
Paul Johnson wrote: > On Tue, Sep 10, 2002 at 10:33:34AM -0400, Chad Kellerman wrote: > > > Hello, > >I have a subroutine that declares a variable from standard out. If I > > just undef that variable will that free up the memory that it used? Or > > is there another command that frees up m

Re: Windows /dev/null device

2002-09-11 Thread Andy George
maybe $myoutput= `anycommand 2> c:\winnt\wherever\recycle\bin\is\kept ` might work for ya... - Original Message - From: "Mohd Salman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 11, 2002 8:13 PM Subject: Windows /dev/null device > > > Hi , > How I can send

perl and Oracle

2002-09-11 Thread Angelo Marcos Rigo
Hi! I have a oracle database in a windows 2000 machine and other machine with linux/apache webserver, i want to acess that oracle/windows machine from this linux webserver let my users authenthicate and then see their data stored at this oracle,

Re: perl and Oracle

2002-09-11 Thread rob
Angelo Marcos Rigo wrote: > Hi! > > I have a oracle database in a windows 2000 machine > and other machine with linux/apache webserver, > > i want to acess that oracle/windows machine from this linux webserver > let my users authenthicate and then see their

RE: Storing complex Data structures ?

2002-09-11 Thread NYIMI Jose (BMB)
You can also store your complexe data structures in a xml file by using XML::Simple module. http://search.cpan.org/author/GRANTM/XML-Simple-1.08/Simple.pm José. -Original Message- From: Rowan Reid [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 8:39 PM To: 'Perl beginner

Re: something awry

2002-09-11 Thread Felix Geerinckx
on Tue, 10 Sep 2002 17:39:25 GMT, [EMAIL PROTECTED] (Mike Singleton) wrote: > my @files = glob('3D2*.log'); > > my @f = split /s+/,$_,9; What's in $_? Did you mean /\s+/ ? > > print OUTF join(',',@f)."\n"; Never openend OUTF -- felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

RE: perl and Oracle

2002-09-11 Thread Angelo Marcos Rigo
Angelo Marcos Rigo wrote: >that´s great > this line has the information that is neede to acess the other machine? > (the oracle /windows from linux?) > thereis a way to check if i have DBI? > > If you get an error Or you can use perl -MDBI -le "print(DBI->VERSION)" // t

Help regarding the perl safe module

2002-09-11 Thread Basavaraj Bendigeri
Hi , I am relatively new to perl. I have a question regarding the Safe module in perl . I understand that this module is used to run perl scripts in a safe mode wherein one can restrict the script to use some certain perl operators/functions only . I did try out a sample script and found out

RE: perl and Oracle

2002-09-11 Thread Angelo Marcos Rigo
there is no need to point the hostname or ip adress of the windows/oracle machine? Ângelo Marcos Rigo Webmaster Colégio Anchieta http://www.colegioanchieta.g12.br -Original Message- From: rob [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 11 de setembro de 2002 9:04 Cc: [EMAIL PROTECTED

RE: How to send stdout to printer in Windows?

2002-09-11 Thread Kipp, James
if you are using windows 2000, you can use the 'lpr' command. on the unix side, a named pipe would be nice for this, but i don't think it will work in windows. try making a pipe for printing then redirecting STDOUT, again, not sure if these things work in win32: open PRINTER, "| lpr -S printser

RE: perl and Oracle

2002-09-11 Thread Joe Raube
> there is no need to point the hostname or ip adress of the > windows/oracle machine? > my $dbh = DBI->connect( > 'dbi:Oracle:testdb','USERNAME','PASSWORD',) >|| die "Database connection not made: $DBI::errstr"; The connect does this via the tnsnames.ora file, which has an alia

perl and Oracle

2002-09-11 Thread Angelo Marcos Rigo
So i am thinking that my linux will display the perl script and that will be located by the windows/oracle tnsnames.ora that´s it? The tnsnames.ora is stored on the windows/oracle? if he does not exists how can i create it? thank´s in advance Ângelo Marcos Rigo Webmaster Colégio Anchieta http

RE: Windows /dev/null device

2002-09-11 Thread Bob Showalter
> -Original Message- > From: Mohd Salman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 4:14 AM > To: [EMAIL PROTECTED] > Subject: Windows /dev/null device > > > > > Hi , > How I can send my errors to a null device under windows > environment(winxp). > I tried $myout

RE: perl and Oracle

2002-09-11 Thread Joe Raube
Before your perl script can run on Linux and connect to the database on Windows, you need to have the Oracle client software successfully installed on the Linux box - and verify that it works by using the sql*plus utility, which means you need a tnsnames.ora file on the Linux box. The perl/dbi co

printing hash of a hash

2002-09-11 Thread Marija Silajev
Hi, I create a hash like following: $Data{$KEYS} = { key1 => [@array1], key2 => [@array2], }; with: foreach $KEYS ( keys %Data){ print "Key1 data : @{$Data{$KEYS}{key1}}\n"; } I manage to print the whole @array1 in one line like: Key1 data : 4321 432 76

RE: perl and Oracle

2002-09-11 Thread Bob Showalter
> -Original Message- > From: Angelo Marcos Rigo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 6:46 AM > To: [EMAIL PROTECTED] > Subject: perl and Oracle > > > Hi! > > I have a oracle database in a windows 2000 machine > and other machine with linux/a

RE: perl and Oracle

2002-09-11 Thread Joe Raube
I assume you mean: "there is no way to do it without having the Oracle client installed on my linux?" That is correct - you need the Oracle client libraries installed so that the DBD::Oracle drivers can talk to the Oracle server via the SQL*Net network protocol. The only other way of doing this

RE: perl and Oracle

2002-09-11 Thread Angelo Marcos Rigo
Please tell me more about DBD::Proxy that´s exactly my case! how it works? how can i get it? how can i see if i have it? how do i write a script using this feature? what this require? do i have install what proxy on the windows/oracle machine? do i have install a webserver in the windows/oracle m

Re: printing hash of a hash

2002-09-11 Thread Sudarshan Raghavan
On Wed, 11 Sep 2002, Marija Silajev wrote: > Hi, > > I create a hash like following: > > > $Data{$KEYS} = { key1 => [@array1], > key2 => [@array2], > }; > > > with: > foreach $KEYS ( keys %Data){ > print "Key1 data : @{$Data{$KEYS}{key1}}\n"; > } > > I

RE: perl and Oracle

2002-09-11 Thread Bob Showalter
> -Original Message- > From: Angelo Marcos Rigo [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 8:52 AM > To: Bob Showalter; [EMAIL PROTECTED] > Subject: RE: perl and Oracle > > > Please tell me more about DBD::Proxy > that´s exactly my case! > how it works? > how can i

RE: printing hash of a hash

2002-09-11 Thread NYIMI Jose (BMB)
A second loop: foreach $KEYS ( keys %Data){ print "Key1 data :\n"; map{ print $_,"\n" } @{$Data{$KEYS}{key1}}; } José. -Original Message- From: Marija Silajev [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 2:43 PM To: Perl Subject: printing hash of a has

RE: perl and Oracle

2002-09-11 Thread Angelo Marcos Rigo
that´s the answer for my prays, thank´s for your attention What you say about the performance of your aplicattion? what i want to do was done before using a delphy dll on other windows with iis (that´s was not done by me!) acessing this oracle windows. The performance still remain bad until t

OT: Company Name

2002-09-11 Thread FlashGuy
Hi, I'm planning on starting up a company just for extra cash to put food on the table. I would be doing web development, Publishing print and electronic, data conversion, font development etc. I'm finding it difficult to come up with a company name that has the word "media" in it and having

Perl installation on isolated network.

2002-09-11 Thread Meidling, Keith, CTR, OSD-C3I
I would like to install perl and the modules I've installed on a server on an isolated network. This network is not connected to the internet. I'm using Activestate Perl 5.6.1 build 633 on Windows 2K and NT machines. What I was thinking was to run the msi from activestate to install the base p

RE: Perl installation on isolated network.

2002-09-11 Thread Timothy Johnson
Yes, that would work. -Original Message- From: Meidling, Keith, CTR, OSD-C3I [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 7:06 AM To: [EMAIL PROTECTED] Subject: Perl installation on isolated network. Importance: Low I would like to install perl and the modules I've

Simple RegEx Question

2002-09-11 Thread RTO RTO
Here is a RegEx that I am using to check if the given string is Hexadecimal or not. /[^0-9a-fA-F]+/ #if this evals to true string is NOT hex I am having a trailing "+" to make sure at least one permissible character is present. Yet, it matches an empty string as a hex string. a) What am I mis

RE: Simple RegEx Question

2002-09-11 Thread Nikola Janceski
see below /^[^0-9a-fA-F]+$/ #if this evals to true string is NOT ## start of string ^ and end of string $ -Original Message- From: RTO RTO [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 11:00 AM To: [EMAIL PROTECTED] Subject: Simple RegEx Question Here is a RegEx tha

RE: Simple RegEx Question

2002-09-11 Thread RTO RTO
I am afraid, your suggestion is even breaking for already working ones! i.e., it says HEXADECIMAL NUMBER for an invalid string like "f4dx" and also says HEXADECIMAL NUMBER for invalid empty strings. The one I had posited,without the leading "^" and "$" matched for all the cases correctly, except

RE: Simple RegEx Question

2002-09-11 Thread Nikola Janceski
give us a snippet of your code. you made a mistake somewhere. and give us examples of what the variables contain. -Original Message- From: RTO RTO [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 11:09 AM To: Nikola Janceski; [EMAIL PROTECTED] Subject: RE: Simple RegEx Quest

regular expression help....

2002-09-11 Thread Steve
I have the following line in a log file: 09-07-2002 11:39:25.95 - Microsoft Dial Up Adapter log opened. The date and time will always change but the after that it's always consistent (well opened will sometimes be closed) I need to get the entire date in a variable and the entire time in a va

RE: Simple RegEx Question

2002-09-11 Thread Bob Showalter
> -Original Message- > From: RTO RTO [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 11, 2002 11:00 AM > To: [EMAIL PROTECTED] > Subject: Simple RegEx Question > > > Here is a RegEx that I am using to check if the given > string is Hexadecimal or not. > > /[^0-9a-fA-F]+/ #if t

RE: Simple RegEx Question

2002-09-11 Thread RTO RTO
use strict; while(){ chomp; if(/[^0-9a-fA-F]+/){ print("$_ is not a hexadecimal number!\n"); }else{ print("$_ is a hexadecimal number!\n"); } } __DATA__ f4dxf ffaa99 gxad 2832 2842da --- Nikola Janceski <[EMAIL PROTECTED]> wrote: > give us a snippet of your code. you made a mist

RE: Simple RegEx Question

2002-09-11 Thread Nikola Janceski
# should be if(/^[0-9A-F]+\z/i){ print("$_ is a hexadecimal number!\n"); }else{ print("$_ is not a hexadecimal number!\n"); ## even blanks } -Original Message- From: RTO RTO [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 11:20 AM To: Nikola Janceski; [EMAIL P

RE: regular expression help....

2002-09-11 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Your log shows a space between the time and hyphen and hyphen and Micro. You dont' have that in the regex and even more so, there is no hyphen before Adapter log. You might want: /^(\d\d-\d\d-\d{4})\s+(\d\d:\d\d:\d\d\.\d\d).+Adapter log\s+(opened|closed)/i

RE: Simple RegEx Question

2002-09-11 Thread RTO RTO
Thanks Nikola and Bob. Would "anchoring with \z" tantamount to having a trailing "$"? In other words, are the following expressions one and the same? /^[0-9a-fA-F]+\z/ /^[0-9a-fA-F]+$/ __ Yahoo! - We Remember 9-11: A tribute to the more than 3

RE: Simple RegEx Question

2002-09-11 Thread Timothy Johnson
No. the $ anchor assumes that you might have a "\n" at the end of your string and doesn't include it in the match, so "zzqg" and "zzqg\n"; would both match. -Original Message- From: RTO RTO [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 8:26 AM To: Bob Showalter; [EMAIL

a small forking problem.

2002-09-11 Thread Chad Kellerman
Hey, I got a script that I use Parallel::ForkManager, which works great... the only problem is that I want a child to fork another process and Parallel::ForkManager does not allow that. So for my first fork I use it but in the child I am trying to use the normal oreilly FORK but I am missi

Large files

2002-09-11 Thread Rob
Hi, I'm parsing a 16 meg file and my program dies 111 lines from the bottom. The record that it stops isn't any different from the ones that make it through. If I delete from there down it works ok and if I delete 111 lines from the top it works ok. Is there a limit to how big a file can be in P

password style text widget for perl/tk

2002-09-11 Thread Balint, Jess
Hey all. Does anyone know how to create a password style text widget in tk? I have tried a few things, but can't seem to figure it out. Thanks. Jess -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Large files

2002-09-11 Thread Joe Raube
When it dies, what error do you get? --- Rob <[EMAIL PROTECTED]> wrote: > Hi, I'm parsing a 16 meg file and my program dies 111 lines from > the > bottom. The record that it stops isn't any different from the ones > that > make it through. If I delete from there down it works ok and if I > dele

Re: Large files

2002-09-11 Thread Rob
If I take 111 lines off from the top of the file it does make it through that line and finishes without a problem. Rob Good judgement comes from experience, and experience - well, that comes from poor judgement. On Wed, 11 Sep 2002, Frank Wiles wrote: > .--[ Rob wrote (2002/09/11 at 12:

Re: Large files

2002-09-11 Thread Frank Wiles
.--[ Rob wrote (2002/09/11 at 12:56:10) ]-- | | Hi, I'm parsing a 16 meg file and my program dies 111 lines from the | bottom. The record that it stops isn't any different from the ones that | make it through. If I delete from there down it works ok and if I delete | 111 lines

Re: new output error

2002-09-11 Thread Mike Singleton
Does this script only output on the condition that ALL the variables after the 'if' are met?? == Start === use strict; my $JOBSTART = 'SNBJH_3203J'; my $CONDSTART = 'CONDSTART'; my $JOBEND = 'SNBJH_3211J'; my $CONDEND = 'SNBJH_3045E'; my $JOBCANC = 'SNBJH_3258J'; my $XFER = 'SNBJH_3710J'; my $VOL

Loading hash from DBI

2002-09-11 Thread Scott Taylor
Hello, I have an SQL table with 2 fields, ID and Descr and I want to load these into an array and a hash. First the array @SecID should be just the first field and then the hash %Sections should be ID=>Descr All I get is garbage This is the code that doesn't work, I know I'm missing somethi

how to link to libwww-perl-5.65

2002-09-11 Thread Larry Steinberg
I searched the FAQ but the reference I got, I didn't get, if you know what I mean. Can someone show me the code to link to the library mentioned in the subject line? Running SunOS 5.8. I got this from perl -V: Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE

RE: how to link to libwww-perl-5.65

2002-09-11 Thread Gordon Cabaniss
Larry to you install a new version of perl? perhaps you should invoke #!/usr/local/bin/perl instead of #!/usr/bin/perl. -gordon -Original Message- From: Larry Steinberg [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 1:06 PM To: [EMAIL PROTECTED] Subject: how to link to

RE: how to link to libwww-perl-5.65

2002-09-11 Thread Larry Steinberg
I tried that as well as /tools/perl/bin/perl, which is 'which perl'. No go. -Larry -Original Message- From: Gordon Cabaniss [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 2:16 PM To: Larry Steinberg; [EMAIL PROTECTED] Subject: RE: how to link to libwww-perl-5.65 Larry t

Re: Loading hash from DBI

2002-09-11 Thread Frank Wiles
.--[ Scott Taylor wrote (2002/09/11 at 11:07:21) ]-- | | Hello, | | I have an SQL table with 2 fields, ID and Descr and I want to load these | into an array and a hash. | | First the array @SecID should be just the first field and then the hash | %Sections should be ID

RE: bareword error

2002-09-11 Thread crogers3
> fopen(OUTFILE,">>myfile.csv"); Try open(OUTFILE,">>myfile.csv"); instead. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: OT: Company Name

2002-09-11 Thread Paul Johnson
On Wed, Sep 11, 2002 at 09:44:06AM -0400, FlashGuy wrote: > I'm finding it difficult to come up with a company name that has the word "media" in >it and having the same URL. > > Media.com > > Any ideas? something-media.com seems to be free. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjc

Re: a small forking problem.

2002-09-11 Thread Paul Johnson
On Wed, Sep 11, 2002 at 12:17:55PM -0400, Chad Kellerman wrote: > Hey, > > I got a script that I use Parallel::ForkManager, which works > great... > the only problem is that I want a child to fork another process and > Parallel::ForkManager does not allow that. I've never used this module.

Re: how to link to libwww-perl-5.65

2002-09-11 Thread Michael Fowler
On Wed, Sep 11, 2002 at 02:06:22PM -0400, Larry Steinberg wrote: > I searched the FAQ but the reference I got, I didn't get, if you know what > I mean. Can someone show me the code to link to the library mentioned in > the subject line? Running SunOS 5.8. I got this from perl -V: I don't understa

Re: password style text widget for perl/tk

2002-09-11 Thread Paul Johnson
On Wed, Sep 11, 2002 at 12:41:25PM -0400, Balint, Jess wrote: > Hey all. Does anyone know how to create a password style text widget in tk? > I have tried a few things, but can't seem to figure it out. Thanks. Take a look at the show option in Tk::Entry. -- Paul Johnson - [EMAIL PROTECTED] htt

Re: hiding a URL

2002-09-11 Thread Michael Fowler
On Tue, Sep 10, 2002 at 09:07:59PM -0400, George Gunderson wrote: > > On Tuesday, Sep 10, 2002, at 18:45 US/Eastern, Michael Fowler wrote: > >What is the purpose of trying to "hide" the URL from a user? However you > >obscure the URL the user must still be able to access the CGI script. > For m

Re: a small forking problem.

2002-09-11 Thread Michael Fowler
On Wed, Sep 11, 2002 at 12:17:55PM -0400, Chad Kellerman wrote: > my @list = "bla, bla, bla, bla, bla"; You probably meant @list = ("bla", "bla", "bla", "bla", "bla"); > foreach my $item(@list) { > my $pid; > FORK: { > if ($pid=fork) { >print"$pid

Re: Large files

2002-09-11 Thread Paul Johnson
On Wed, Sep 11, 2002 at 11:58:12AM -0500, Frank Wiles wrote: > There aren't any limits in Perl on the size of the file, except of > course your operating system limits. Well, that's not strictly true. Large file support (>2Gb) came in 5.6.0. Now the limit is bigger ;-) -- Paul Johns

RE: how to link to libwww-perl-5.65

2002-09-11 Thread Larry Steinberg
I'm trying to run print.cgi, which allows me to create print-friendly pages. When the link is accessed, the page currently in the browser is used as the object to be transformed. Anyway, it's not my script but I'm trying to understand it. It uses LWP as seen in the line, "use LWP::UserAgent;". Fro

Re: Loading hash from DBI

2002-09-11 Thread Scott Taylor
Hello Frank, Thanks for the great answer. I'll be sure to try to understand those PerlRefs a little better. Cheers. At 11:31 AM 11/09/2002, Frank Wiles wrote: > .--[ Scott Taylor wrote (2002/09/11 at 11:07:21) ]-- > | > | Hello, > | > | I have an SQL table with 2 fields, ID an

Re: hiding a URL

2002-09-11 Thread Jose Malacara
I realize this is not protecting me from anything really. It originally started out as a question of curiosity..._That's all_. - Original Message - From: "Michael Fowler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 11, 2002 1:26 PM Subject: Re: hiding a URL >

Re: how to link to libwww-perl-5.65

2002-09-11 Thread drieux
larry, first off there may be a language problem about 'link to' that we will need to over come On Wednesday, Sep 11, 2002, at 11:06 US/Pacific, Larry Steinberg wrote: > I searched the FAQ but the reference I got, I didn't get, if you know > what I > mean. Can someone show me the code to

RE: how to link to libwww-perl-5.65

2002-09-11 Thread Larry Steinberg
I just figured it out. I have to add the path to LWP to my .tcshrc @INC. What a knucklehead! Thanks. Larry Steinberg [EMAIL PROTECTED] (781) 466-2811 -Original Message- From: Michael Fowler [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 3:20 PM To: [EMAIL PROTECTED] Subj

Re: a small forking problem.

2002-09-11 Thread Chad Kellerman
Hi all, First thanks for the responses. And sorry for being so vague. But let me explain what I have done and why. I wrote a backup script that logs progress/errors/ and any other useful information under the sun to a mysql database. The script runs from a central backup server and back

Re: sessionID 2

2002-09-11 Thread Michael Fowler
On Wed, Sep 11, 2002 at 07:28:48PM +, Mariusz K wrote: > $digest = md5($data); > > Can I use md5 without submitting $data? No. An MD5 digest is for determining a fingerprint for a given set of data, it's not for generating unique IDs. Please review perldoc Digest::MD5. > I want to simply

Possible technical problems w/ e-mail from this group

2002-09-11 Thread John
All, I'm submitting this to the group looking for useful feedback. I have been getting e-mails "stuck" during downloads from beginners-perl list, of late. When my e-mail client, Outlook 98, sees the offending e-mail, it crashes. I have to do a re-boot to recover control of my system and then plac

RE: how to link to libwww-perl-5.65

2002-09-11 Thread Gordon Cabaniss
ahh I see. So question is do you even have it installed to begin with, can you verify with admin of that machine that it is infact installed in /tools/perl/lib/5.6.0 keep in mind that is not the standard directory for perl modules. It looks like your setup is unique. Unless you specified i

Re: a small forking problem.

2002-09-11 Thread Michael Fowler
On Wed, Sep 11, 2002 at 03:56:42PM -0400, Chad Kellerman wrote: >But if I was tarred 5 large users from 5 different servers, I ran out > of memory on the backup server and crashed the server. I have found > that perl, once it uses memory it does not release it until the script > dies. Well t

Re: Possible technical problems w/ e-mail from this group

2002-09-11 Thread Mat Harris
i would be more inclined to believe that your os and mail client is at fault. no-one else on the list (to my knowledge) has had these sort of problems. also, if the mail client crashes because of the content of the email while it is still downloading, then get rid of the client because it is very

RE: Possible technical problems w/ e-mail from this group

2002-09-11 Thread Kessler, Ben
I would tend to agree with Mr. Harris that the problem is probably local to you. I've seen a problem similar to your description in the past related to PGP on a workstation. The problem was on a Win2K box running Office2K and everytime the user received a PGP-signed message their Outlook crashed

RE: Possible technical problems w/ e-mail from this group

2002-09-11 Thread John
Matt, Good points, but why do just *some* of the e-mails crash it; and then only with this particular e-mail account? My "beginners-perl..." e-mail address is an alias in a pool of aliases under one master account. I receive many e-mails daily in most of those other aliases with no problem. I als

RE: Possible technical problems w/ e-mail from this group

2002-09-11 Thread John
Ben, I'm not running PGP on my box, but I understand what you're getting at. I do get PGP-headed messages from time-to-time, but they've never caused this problem -- or any problem, actually. I also would not be surprised to learn that this is indeed something I've done to myself and it, in comb

RE: Possible technical problems w/ e-mail from this group

2002-09-11 Thread Daniel Kelley
A piece of email, even if malformed, should *never* crash an email client. If it does, consider the client to be buggy, and find a better one. When you get right down to it, your problem has nothing to do with this mailing list. Dan > Good points, but why do just *some* of the e-mails cras

RE: converting a list into array

2002-09-11 Thread eric-perl
On Wed, 4 Sep 2002, Bob Showalter wrote: >chomp(@list = ); >print join(',', map "'$_'", @list), "\n"; >__DATA__ >AAPL >AMCO >IBM >ORCL What is the __DATA__? Please explain. -- Eric P. Sunnyvale, CA -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: perlcc boot_File__Glob error (solution)

2002-09-11 Thread Tony
Paul, Do you know of a way to reverse the output of perlcc back to the source code? Because I've searched for a way and I'm under the impression it is not reversable. Also, I figure why not try my best to hide all evidence of what language I'm using. I try to make it as difficult as possible to

Re: perlcc boot_File__Glob error (solution)

2002-09-11 Thread Tony
PS. I don't believe compiling perl source code is a good Idea if you are distributing to consumers though! Since it's compiled and it fancies the machine it was compiled on, moving it means having to ensure that the staticly linked libaries are all in the same places on the users machice as they

go to next file

2002-09-11 Thread Harry Putnam
I know its possible to force perl to read the next file but have forgotten how to do it. The simple script below is supposed to read message files that are on disk one message per file. I want to go to the next file when the first blank line is seen. I don't see how $cnt can equal one more than

Re: A better way to list variable names in report format?

2002-09-11 Thread chris
Oops. $$ @$myStuff{qw/column1 column2 column3/}; is definitely an improvement but my list is very long. I think I will have to assign new variables just to make the listing in multiple lines. Horizontal scrolling to read off-page code is not nice. On Wed, 11 Sep 2002 16:42:10 -0700, [EM

Re: GD library

2002-09-11 Thread Dharmender Rai
Hi Ebdaad, You might be doing some mistake on the command line. When you write "perl patch_gd.pl" on command line, the shell will read 'perl' as the command and the rest as the arguments. Now in arguments parts also it read each argument until whitespace is not encountered so there is no way i

Re: go to next file

2002-09-11 Thread Dharmender Rai
you are not reading the files properly. use 2 "while loops". the outer for traversing the command line args while the inner for reading and checking the file contents. use "break" in the inner "while loop" when you get a blank line to go to the outer "while loop". cheers --- Harry Putnam <[EMA

Re: go to next file

2002-09-11 Thread George Schlossnagle
> use "break" in the inner > "while loop" when you get a blank line to go to the > outer "while loop". I think you need to stop programming C. :) 'last' is the token you want to use for breaking out of a loop in perl. George -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma