RE: There is virus attached : Re: Age Of Empires - Cheats

2003-06-10 Thread Charles K. Clarkson
Voodoo Raja <[EMAIL PROTECTED]> wrote: : : Hi all.. : just to get you updated .. : I recieved a email: : : : I bet the mailing list@ perl.org.. is down the drain with bubear... : : Please be careful on this.. : : It has already cost me my network.. Yeah, I got that too. It got past my sp

References...

2003-06-10 Thread Hamish Whittal
Hi All, I'm still a little confused... What is the difference between %{$config_file->{$key}} and %$config_file->{$key} Thanks in advance. H -- Hamish Whittal <[EMAIL PROTECTED]> QED Technologies cc -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: References...

2003-06-10 Thread Rob Anderson
Hi Hamish, You might well ask, "what's the difference between... print 1 + 2 * 3; ...or... print 1 + (2 * 3); ...?" The answer to this, and to your question is, not a lot. Sometimes you do need to add parenthesis to resolve ambiguities over what's dereferencing waht, but in your case you, m

RE: References...

2003-06-10 Thread Rai,Dharmender
They may behave sometimes (depending on the value part of the referenced hash) but still they are different. > -- > From: Rob Anderson[SMTP:[EMAIL PROTECTED] > Sent: Tuesday, June 10, 2003 5:58 PM > To: [EMAIL PROTECTED] > Subject: Re: References... > > Hi Hamish, >

Re: SQL vs MySql?

2003-06-10 Thread Rob Dixon
Josh Berkus wrote: > Rob, Snag, > > > MySQL will accept nearly all of the same standard syntax as SQL Server, > > but if the database is running under SQL Server then you have no choice > > but to use a SQL Server database driver to access it. Copy all the data > > over to a MySQL database and you

Re: References...

2003-06-10 Thread Rob Dixon
Hamish Whittal wrote: > Hi All, > > I'm still a little confused... > What is the difference between > %{$config_file->{$key}} Here, $config_file is a hash reference. If you print it it will display something like HASH(0x12345678) The hash it refers to is accessed by the value in $key, so if y

Re: References...

2003-06-10 Thread scott . e . robinson
Hey, Rob, thanks! That was really useful. Just from sitting in the background, reading these posts, I learn a lot. Thanks, Scott Scott E. Robinson SWAT Team UTC Onsite User Support RR-690 -- 281-654-5169 EMB-2813N -- 713-656-3629

using pack/unpack

2003-06-10 Thread Corey M. Ellis
Hi everyone, I have a question about using pack/unpack. I am packing a structure using the following code (It will be at the end of the mail). I am basically packing the following template: "A2A50la*" within the a* is all the data that I read from $file1, after reading this data I want to p

RE: Displaying Connections Or sessions to a Web site on NT/2000 Mach ines

2003-06-10 Thread Federico, Chris
Hi Mark , I haven't used a module like that either ... That would be a nice module to have also . So far no one else has replied to me :( ... I will keep searching ... Thanks Chris Federico Systems Engineer (AITS) Reuters 88 Parkway Drive South Hauppauge, NY 11788 Office :631-233-6647 Vis

pattern matching

2003-06-10 Thread Leaw, Chern Jian
HI, I have a text file below which is simply an output from the UNIX utility rpcinfo: 181 udp 55734 walld program 18 version 1 ready and waiting 1073741 udp 64018 rpcinfo: RPC: Timed out 181 tcp 55684 sprayd program 18 version 1 sleeping I

Re: References...

2003-06-10 Thread Rob Dixon
Scott E Robinson wrote: > Hey, Rob, thanks! That was really useful. Just from sitting in the > background, reading these posts, I learn a lot. Great. That's the way it's supposed to work! Cheers, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: typing files quickly

2003-06-10 Thread Harry Putnam
Steve Grazzini <[EMAIL PROTECTED]> writes: > Harry Putnam <[EMAIL PROTECTED]> wrote: >> "Janek Schleicher" <[EMAIL PROTECTED]> writes: >>> >>> The underscore _ holds the results of the last stat call >>> (implicitly called by the -f operator), so no unnecessary >>> work needs to be done. >> >>

Re: pattern matching

2003-06-10 Thread Rob Dixon
Chern Jian Leaw wrote: > HI, > > I have a text file below which is simply an output from the UNIX utility > rpcinfo: > > 181 udp 55734 walld program 18 version 1 ready and > waiting > 1073741 udp 64018 rpcinfo: RPC: Timed out > 181 tcp 55684 sprayd

Re: SQL vs MySql?

2003-06-10 Thread Josh Berkus
Rob, > Except that I believe the similarities are more numerous, more useful and > more appropriate to this non-SQL list that the differences. The majority of > SQL code is something like Not the majority of *my* SQL code . > That is simply an alternative syntax for > > UPDATE table1, table2

Re: typing files quickly

2003-06-10 Thread Rob Dixon
Harry Putnam wrote: > Steve Grazzini <[EMAIL PROTECTED]> writes: > > > Harry Putnam <[EMAIL PROTECTED]> wrote: > > > "Janek Schleicher" <[EMAIL PROTECTED]> writes: > > > > > > > > The underscore _ holds the results of the last stat call > > > > (implicitly called by the -f operator), so no unnecess

Re: References...

2003-06-10 Thread Saurabh Singhvi
hey rob thanks from me too :-) u shore did a great job of teaching Regards Saurabh --- [EMAIL PROTECTED] wrote: > > Hey, Rob, thanks! That was really useful. Just > from sitting in the > background, reading these posts, I learn a lot. > > Thanks, > > Scott > > Scott E. Robinson > SWAT Team

Sales Tax modules/scripts/resources?

2003-06-10 Thread K Old
Hello everyone, I've been faced with the task of upgrading our shopping cart software(Interchange - http://www.icdevgroup.org) from dealing only with State Sales taxes to dealing with State & Local taxes. I've scoured the Internet looking for reliable resources to query, and have only found each

Re: typing files quickly

2003-06-10 Thread Mark G
hmm this misterious { _ } operand ?!? Is it sometype of a bitflag in the stat code it self, perhaps some magical referance to return structure. Anyhow here is a bit of code that utilizes it, run it in a directory with about 10 files, HTH, Mark <~~~ CuT use Benchmark::Timer; use Fcntl ':mode'; $

Re: typing files quickly

2003-06-10 Thread Steve Grazzini
Harry Putnam <[EMAIL PROTECTED]> wrote: > Steve Grazzini <[EMAIL PROTECTED]> writes: >> Harry Putnam <[EMAIL PROTECTED]> wrote: >>> >>> I've seen that `_' crop up before >>> I don't understand what this means. >> >> It's documented in perlfunc: > > Yes, I saw it there too. I must be having a par

generating array names from a variable

2003-06-10 Thread Paul Branston
I need to fill a number of arrays of arrays with data from a data file. I would like to give the arrays a name which is generated from a variable which comes out of the datafile. My code at the moment sets a variable $trunkname then I tried doing push @$trunkname, $row[1]; but it is not making an

Re: Why "Can't locate auto/Heap/add.al"?

2003-06-10 Thread Ying Liu
On Thu, 5 Jun 2003, Ying Liu wrote: > I finally install the Heap module. But I run the example of the CPAN: > foreach $i ( 1..100 ) >{ >$elem = NumElem($i); >$heap->add($elem); >} > > It told me: > Can't locate auto/Heap/add.al in @INC In Heap-0.50, when use it to new a

regexp example

2003-06-10 Thread Oleg
Hi, Could anybody help me with the following task: Need to write a script that will convert "\text_or_digits [digits] " (begins with the backslash and there is one space before "[") in the text into "text_or_digits[digits]" (no backslash and no space). For Example: Word1 word2 any othe(34)r2

How can I find the module version?

2003-06-10 Thread Rick Ressegger
If I want to know what version of a module is already installed on a system, how can I disclose this? Can multiple versions of a module exist in a library or does one get superceded by another that is installed later? Rick Ressegger Fairmont WV -- To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

DNS Lookup

2003-06-10 Thread Airman
Does anyone know how to reference different DNS servers when using gethostbyname. I want to check up to three different nameserver for consistency checking. Thanks, Glen

RE: Illegal seek

2003-06-10 Thread Gupta, Sharad
Somebody pointed me out that the cmd below may very well be printing to stderr and not to stdout, thus die. Infact doing: my $out = qx($cmd 2>&1) or die "..."; solved the problem. Thanx all for helps!! -Sharad -Original Message- From: R. Joseph Newton [mailto

Re: regexp example

2003-06-10 Thread James Edward Gray II
On Wednesday, May 28, 2003, at 04:10 AM, Oleg wrote: Hi, Howdy. Could anybody help me with the following task: Need to write a script that will convert "\text_or_digits [digits] " (begins with the backslash and there is one space before "[") in the text into "text_or_digits[digits]" (no ba

RE: regexp example

2003-06-10 Thread Bob Showalter
Oleg wrote: > Hi, > > Could anybody help me with the following task: > > Need to write a script that will convert "\text_or_digits [digits] " > (begins with the backslash and > there is one space before "[") in the text into > "text_or_digits[digits]" > (no backslash and no space). > For Examp

Re: using pack/unpack

2003-06-10 Thread John W. Krahn
"Corey M. Ellis" wrote: > > Hi everyone, Hello, > I have a question about using pack/unpack. I am packing a structure > using the following code (It will be at the end of the mail). I am > basically packing the following template: "A2A50la*" > > within the a* is all the data that I read from

Re: typing files quickly

2003-06-10 Thread Harry Putnam
"Rob Dixon" <[EMAIL PROTECTED]> writes: > No. I wrote the code to derive the file type from an 'lstat' > call in a previous post and thought you were happy with that. Yes, I was happy with it. It does all I need. Further ponderings weren't really related to what I'm doing with it. You've solved

Printing to a glob variable

2003-06-10 Thread James Edward Gray II
I'm trying to print call print with a variable I'm sure holds a typeglob with an open file handle. I know the variable is a hash lookup, so I expected print to complain, however, I thought adding the parenthesis was all that I had to do to clarify what I meant. Doesn't look like it though, be

Re: generating array names from a variable

2003-06-10 Thread Jenda Krynicky
From: Paul Branston <[EMAIL PROTECTED]> > I need to fill a number of arrays of arrays with data from a data > file. I would like to give the arrays a name which is generated from a > variable which comes out of the datafile. My code at the moment sets a > variable $trunkname then I tried doing > >

Re: Printing to a glob variable

2003-06-10 Thread Jenda Krynicky
From: James Edward Gray II <[EMAIL PROTECTED]> > I'm trying to print call print with a variable I'm sure holds a > typeglob with an open file handle. I know the variable is a hash > lookup, so I expected print to complain, however, I thought adding the > parenthesis was all that I had to do to c

Re: Printing to a glob variable

2003-06-10 Thread John W. Krahn
James Edward Gray II wrote: > > I'm trying to print call print with a variable I'm sure holds a > typeglob with an open file handle. I know the variable is a hash > lookup, so I expected print to complain, however, I thought adding the > parenthesis was all that I had to do to clarify what I mean

Re: Printing to a glob variable

2003-06-10 Thread royce . wells
Try printf FILEHANDLE, "Message"; "The right word may be effective, but no word was ever as effective as a rightly timed pause." --Mark Twain

Re: using pack/unpack

2003-06-10 Thread Corey M. Ellis
John, Thanks very much that worked. - Original Message - From: "John W. Krahn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 10, 2003 5:12 PM Subject: Re: using pack/unpack > "Corey M. Ellis" wrote: > > > > Hi everyone, > > Hello, > > > I have a question about using p

RE: DNS Lookup

2003-06-10 Thread Dan Muey
I think gethostbyname uses the nameservers listed in /etc/resolv.conf but what does that have to do with perl? try man gethostbyname HTH > -Original Message- > From: Airman [mailto:[EMAIL PROTECTED] > Sent: Monday, June 09, 2003 6:34 PM > To: [EMAIL PROTECTED] > Subject: DNS Lookup >

Re: How can I find the module version?

2003-06-10 Thread Janek Schleicher
Rick Ressegger wrote at Tue, 10 Jun 2003 09:32:53 -0400: > If I want to know what version of a module is already installed on a system, > how can I disclose this? A simple way that works often is perl -MModule::Name -e 'print $Module::Name::VERSION' Another way would be e.g. to use the CPAN modu

RE: pattern matching

2003-06-10 Thread Leaw, Chern Jian
HI Rob, >From the output generated below, I would like to obtain the string from "RPC: Timed out" onwards. This string corresponds to the response attribute. Another example of the response attribute is the "program 18 version 1 sleeping". 107374 / 1 / udp / 64018 / rpcinfo / RPC: Timed out 10

Re: How can I find the module version?

2003-06-10 Thread Tassilo von Parseval
On Tue, Jun 10, 2003 at 09:32:53AM -0400 Rick Ressegger wrote: > If I want to know what version of a module is already installed on a system, > how can I disclose this? Either use Janek's suggestion or ask for the value of $VERSION for the module in question: perl -MSome::Module -e 'warn Som

Find regex in Start/Stop segments

2003-06-10 Thread Harry Putnam
I use a homeboy data base technique to keep info about the scripts I write and other typse of stuff too. Here I'm just dealing with scripts. Its a simple format to enter key information about what a script does. Looks like: # Keywords: SOME WORDS # body # body # DATE # && I've written various