From robertl1 at home.com Tue Jul 4 00:41:21 2000 From: robertl1 at home.com (Bob La Quey) Date: Thu Aug 5 00:20:07 2004 Subject: Perl vs Pike Message-ID: <3.0.6.32.20000703224121.01d7fc40@mail.dt1.sdca.home.com> ~sdpm~ Ok guys we are coming to another LPSG Meeting. This Thursday, July 6, 2000 at SDCOE. Lets try to get this Perl versus Pike discussion going. Who will speak for Pike? Who will speak for Perl? I will moderate if the fight gets to terrible, but I promise to provoke all parties until there is at least a little blood flowing. Doooowah, Bob La Quey ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From smeier1 at san.rr.com Tue Jul 4 19:03:35 2000 From: smeier1 at san.rr.com (Steve Meier) Date: Thu Aug 5 00:20:07 2004 Subject: split problem Message-ID: <001201bfe614$775a3c40$e9c91918@san.rr.com> I am so close to formatting this data but it's just not behaving the way I'm expecting. This is a sample of the output of what I'm formatting: [ ID] Interval Transfer Bandwidth [ 4] 0.0-25.0 sec 188 MBytes 60.2 Mbits/sec [ 6] 0.0-25.0 sec 277 MBytes 88.5 Mbits/sec [ 5] 0.0-25.0 sec 112 MBytes 35.7 Mbits/sec [ 3] 0.0-25.0 sec 195 MBytes 62.4 Mbits/sec [ 5] 25.0-50.0 sec 196 MBytes 62.7 Mbits/sec My split function is this: ($id, $interval, $transfer, $bandwidth) = split (/\s+/, $_); What I'm doing is breaking this up to out put it into a html table. Everything is good except for the first line "[ ID] Interval Transfer Bandwidth" What happens is "Interval and Transfer" end up in the same collumn and "Bandwidth" ends up in the column that "Transfer" should be in. I've tried everything I can think of!!!! If anyone has any sugestions it would most appreciated!! Happy 4th, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/san-diego-pm/attachments/20000704/e62c93bf/attachment.htm From cabney at cyberpass.net Tue Jul 4 20:44:13 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:07 2004 Subject: split problem In-Reply-To: <001201bfe614$775a3c40$e9c91918@san.rr.com> Message-ID: ~sdpm~ On Tue, 4 Jul 2000, Steve Meier wrote: > [ ID] Interval Transfer Bandwidth > [ 4] 0.0-25.0 sec 188 MBytes 60.2 Mbits/sec > ($id, $interval, $transfer, $bandwidth) = split (/\s+/, $_); > Everything is good except for the first line "[ ID] Interval Transfer Bandwidth" > > What happens is "Interval and Transfer" end up in the same collumn and > "Bandwidth" ends up in the column that "Transfer" should be in. You sure about that? looks to me like you must have more 'columns' in all but the first row. And even the first row has an extraneous "[" as the first entry. The units aren't accounted for, either. You might also get more mileage using a 'magic' split. Your list doesn't look at all like your data split. CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Tue Jul 4 20:46:27 2000 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:07 2004 Subject: split problem In-Reply-To: <001201bfe614$775a3c40$e9c91918@san.rr.com>; from smeier1@san.rr.com on Tue, Jul 04, 2000 at 05:03:35PM -0700 References: <001201bfe614$775a3c40$e9c91918@san.rr.com> Message-ID: <20000704184627.A12566@securityarchitects.com> ~sdpm~ On Tue, Jul 04, 2000 at 05:03:35PM -0700, Steve Meier wrote: > > I am so close to formatting this data but it's just not behaving the way I'm expecting. This is a sample of the output of what I'm formatting: > > [ ID] Interval Transfer Bandwidth > [ 4] 0.0-25.0 sec 188 MBytes 60.2 Mbits/sec > [ 6] 0.0-25.0 sec 277 MBytes 88.5 Mbits/sec > [ 5] 0.0-25.0 sec 112 MBytes 35.7 Mbits/sec > [ 3] 0.0-25.0 sec 195 MBytes 62.4 Mbits/sec > [ 5] 25.0-50.0 sec 196 MBytes 62.7 Mbits/sec > > My split function is this: > > ($id, $interval, $transfer, $bandwidth) = split (/\s+/, $_); perldoc -f split > What I'm doing is breaking this up to out put it into a html table. > > Everything is good except for the first line "[ ID] Interval Transfer Bandwidth" > > What happens is "Interval and Transfer" end up in the same collumn and "Bandwidth" ends up in the column that "Transfer" should be in. > > I've tried everything I can think of!!!! If anyone has any sugestions it would most appreciated!! using split in your case is not a very good idea since you have way too much extra whitespace in your string. try using a regex instead.. smth like $ perl -wle '$,=", "; $_="[ 5] 25.0-50.0 sec 196 MBytes 62.7 Mbits/sec"; print m!\[\s+(\d+)\] (.*?) sec\s+(\d+) MBytes\s+(.*?) !' 5, 25.0-50.0, 196, 62.7 for info on regular expressions see perldoc perlre on -wle part see perldoc perlrun and on $, see perldoc perlvar ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From smeier1 at san.rr.com Tue Jul 4 21:12:18 2000 From: smeier1 at san.rr.com (Steve Meier) Date: Thu Aug 5 00:20:07 2004 Subject: split problem Message-ID: <002301bfe626$72679540$e9c91918@san.rr.com> Whoops, you're right. I had copied that from a version that I was trying earlier. ($space, $id, $interval, $sec, $transfer, $mbytes, $bandwidth, $mbits) = split (/\s+/, $_); Here is the split I am using. I have never heard of 'Magic' split? Is there documentation on it somewhere? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/san-diego-pm/attachments/20000704/c8b7c581/attachment.htm From taa0 at cris.com Wed Jul 5 01:11:50 2000 From: taa0 at cris.com (taa0@cris.com) Date: Thu Aug 5 00:20:07 2004 Subject: split problem References: <001201bfe614$775a3c40$e9c91918@san.rr.com> Message-ID: <3962D1A6.9EB624A9@cris.com> Skipped content of type multipart/alternative-------------- next part -------------- #!/usr/local/bin/perl -w my($id,$interval,$transfer,$bandwidth); while() { undef $id; undef $interval; undef $transfer; undef $bandwidth; /\[\s*(ID)\]\s*(Interval)\s*(Transfer)\s*(Bandwidth)/ && do { $id = $1; $interval = $2; $transfer = $3; $bandwidth = $4; }; /\[\s*([0-9]*)\]\s*([^\s]*\s*sec)\s*([^\s]*\s*MBytes)\s*([^\s]*\s*Mbits\/sec)/ && do { $id = $1; $interval = $2; $transfer = $3; $bandwidth = $4; }; print "id=<$id> interval=<$interval> transfer=<$transfer> bandwidth=<$bandwidth>\n"; } __END__ [ ID] Interval Transfer Bandwidth [ 4] 0.0-25.0 sec 188 MBytes 60.2 Mbits/sec [ 6] 0.0-25.0 sec 277 MBytes 88.5 Mbits/sec [ 5] 0.0-25.0 sec 112 MBytes 35.7 Mbits/sec [ 3] 0.0-25.0 sec 195 MBytes 62.4 Mbits/sec [ 5] 25.0-50.0 sec 196 MBytes 62.7 Mbits/sec From robertl1 at home.com Wed Jul 5 03:23:21 2000 From: robertl1 at home.com (Bob La Quey) Date: Thu Aug 5 00:20:07 2004 Subject: split problem In-Reply-To: <001201bfe614$775a3c40$e9c91918@san.rr.com> Message-ID: <3.0.6.32.20000705012321.0162aea0@mail.dt1.sdca.home.com> ~sdpm~ If in fact your data always looks like [ ID] Interval Transfer Bandwidth [ 4] 0.0-25.0 sec 188 MBytes 60.2 Mbits/sec [ 6] 0.0-25.0 sec 277 MBytes 88.5 Mbits/sec [ 5] 0.0-25.0 sec 112 MBytes 35.7 Mbits/sec [ 3] 0.0-25.0 sec 195 MBytes 62.4 Mbits/sec [ 5] 25.0-50.0 sec 196 MBytes 62.7 Mbits/sec Then you should blow of any complex splits or regexes, which Perl gurus become fixated upon and, 1) Just parse the columns by character widths and 2) then clean up fore and aft extra spaces, if that is important. The resulting code will be 1) Obvious and 2) fast Check out the standard C function scanf http://www-ccs.ucsd.edu/c/stdio.html#scanf for a model of how to do this. Then translate to Perl. Or simpler yet just treat the lines as char arrays and slice off the relevant pieces. Please don't make your problem more complicated than it is. taa0@cris.com wrote: Here's one more way. Not very pretty, but it illustrates some ideas from the "Mastering Regular Expressions" book: There has to be a better way. I can only agree with the author taa0@cris.com when I look at the code he provided, "not very pretty". There are many reasons to write code. I would be quite surprised if illustrating ideas from the "Mastering Regular Expressions" book. is why Steve Meier is writing this code. I suspect he has a simple and pragmatic reason to do so. Why not give him a simple and pragmatic solution? I would do so but it is past 1:00 AM in the morning, and I am 58 years old and have been writing code way too long (nearly 40 years) to do this for you. Pardon me if this sounds arrogant but I am a bit tired and feeling like a curmudgeon. Now I shall sleep and leave others to pick up the rant. Exercise for the students, get to work, Bob La Quey ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From mbaehr at email.archlab.tuwien.ac.at Wed Jul 5 16:35:06 2000 From: mbaehr at email.archlab.tuwien.ac.at (Martin Baehr) Date: Thu Aug 5 00:20:07 2004 Subject: [lpsg] Perl vs Pike In-Reply-To: <3.0.6.32.20000703224121.01d7fc40@mail.dt1.sdca.home.com>; from robertl1@home.com on Mon, Jul 03, 2000 at 10:41:21PM -0700 References: <3.0.6.32.20000703224121.01d7fc40@mail.dt1.sdca.home.com> Message-ID: <20000705233506.B1710@email.archlab.tuwien.ac.at> ~sdpm~ On Mon, Jul 03, 2000 at 10:41:21PM -0700, Bob La Quey wrote: > Lets try to get this Perl versus Pike discussion going. > Who will speak for Pike? i am game. > I will moderate if the fight gets to terrible, > but I promise to provoke all parties until there > is at least a little blood flowing. could we arrange for internet access so we can choose proper weapons? what about python and php? greetings, martin. -- pike programmer On The Verge | www.hb2.tuwien.ac.at San Diego | db.hb2.tuwien.ac.at unix systemadministrator iaeste.or.at iaeste.tuwien.ac.at www.archlab.tuwien.ac.at black.linux-m68k.org Martin B"ahr stuts.org bahai.at mud.at http://www.iaeste.or.at/~mbaehr/ ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From robertl1 at home.com Thu Jul 6 08:07:08 2000 From: robertl1 at home.com (Bob La Quey) Date: Thu Aug 5 00:20:07 2004 Subject: LPSG Meeting Thursday Evening Message-ID: <3.0.6.32.20000706060708.02064650@mail.dt1.sdca.home.com> ~sdpm~ It is that time again. First Thursday of the month, July 6, 2000. Linux Programmers Study Group (LPSG) meeting tonight. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The physical meeting of the LPSG will be held at San Diego County Office of Education 6401 Linda Vista Road 6:30-9:00 PM Room 310 this Thursday July 6, 2000. Nominal Agenda: 6:30-7:00 PM Free for all 7:00-9:00 PM Pike vs Perl vs PHP Hope some Perlmongers show up. We need a Perl expert/advocate to make this interesting. And Lan, if you are in town you can boost tcl/tk ... This is shaping up to be like WWF event for scripting languages. Bob La Quey ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From comeaujr at sd.conexant.com Thu Jul 6 12:59:33 2000 From: comeaujr at sd.conexant.com (John R. Comeau) Date: Thu Aug 5 00:20:07 2004 Subject: Perl regexp-based Web search portal References: <3.0.6.32.20000703224121.01d7fc40@mail.dt1.sdca.home.com> <20000705233506.B1710@email.archlab.tuwien.ac.at> Message-ID: <200007061759.KAA25656@narom.sd.conexant.com> ~sdpm~ Does anyone know of a Web search portal (like Yahoo or AltaVista) in which the search syntax is based on Perl regular expressions, or any regular expressions, for that matter? On Yahoo, I always get pages of matches for things I don't want because I'm not able to enter the search the way I want. Ideally, such a portal would allow regexp searches on the following fields, selected individually: * URL * page title * page content Page content seems to be the default behavior for Yahoo and AltaVista, and that leads to too many matches most of the time. Please excuse my ignorance in this matter; I'm not much of a webhead. -- John Comeau (john.comeau@conexant.com) 858-713-3593 (W) ------------------------------------------------------- Um eine freche Antwort war sie nie verlegen. She was never at a loss for a cheeky answer. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From chris at velocigen.com Thu Jul 6 13:35:08 2000 From: chris at velocigen.com (Chris Radcliff) Date: Thu Aug 5 00:20:07 2004 Subject: Perl regexp-based Web search portal References: <3.0.6.32.20000703224121.01d7fc40@mail.dt1.sdca.home.com> <20000705233506.B1710@email.archlab.tuwien.ac.at> <200007061759.KAA25656@narom.sd.conexant.com> Message-ID: <3964D15C.1044E27C@velocigen.com> ~sdpm~ "John R. Comeau" wrote: > Does anyone know of a Web search portal (like Yahoo or AltaVista) in > which the search syntax is based on Perl regular expressions, or any > regular expressions, for that matter? On Yahoo, I always get pages of > matches for things I don't want because I'm not able to enter the > search the way I want. > I don't know of one that's based on Perl regex, but it's a good idea. It would take some doing, though; Perl regex doesn't generally assume ranking millions of documents, and most Web search engines use hash tables and such to improve search performance. (A hash table is like an index in that it stores which pages contain a word (fnord, for example) rather than searching through them all each time.) While it's easy to build hash tables from documents -- just yank out all the words from a document and create an entry for each one -- it would be hard to do the same thing for a regex. The document "The quick brown fox." is true for /fox/ and /brown/, but it's also true for /\w+\sf\w+/ and a zillion others. An intermediate way of doing it is the way AltaVista works, where you can specify queries with the hash table in mind. For instance, +url:globalspin +perl will find only those pages with 'globalspin' in the URL and 'perl' on the page or in the description somewhere. Similarly, +url:.pl -host:.pl will find pages that have .pl in the URL (good for finding perl CGI) but not pages with .pl in the hostname (good for weeding out sites in Poland.) It's not regex, but it's something. ~chris ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From comeaujr at sd.conexant.com Thu Jul 6 14:53:12 2000 From: comeaujr at sd.conexant.com (John R. Comeau) Date: Thu Aug 5 00:20:07 2004 Subject: Perl regexp-based Web search portal In-Reply-To: <3964D15C.1044E27C@velocigen.com> (message from Chris Radcliff on Thu, 06 Jul 2000 11:35:08 -0700) References: <3.0.6.32.20000703224121.01d7fc40@mail.dt1.sdca.home.com> <20000705233506.B1710@email.archlab.tuwien.ac.at> <200007061759.KAA25656@narom.sd.conexant.com> <3964D15C.1044E27C@velocigen.com> Message-ID: <200007061953.MAA26203@narom.sd.conexant.com> ~sdpm~ Chris> it stores which pages contain a word (fnord, for example) Chris> rather than searching through them all each time.) What's a "fnord"? Is that similar to a fjord? I looked at http://www.fnord.org and found some very artsy porn, but I'm still not sure what a fnord is. Hey Chris, when are those Velocigen free passes to that convention going to be mailed? We signed up for them at a SDPM meeting. -- John Comeau (john.comeau@conexant.com) 858-713-3593 (W) ------------------------------------------------------- Ich mag es, mich mit ihm zu unterhalten, da wir auf gleicher Wellenlnge liegen. I enjoy taiking to him because we are on the same wavelength. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From Xinghai.Chen at ca.com Thu Jul 6 15:33:36 2000 From: Xinghai.Chen at ca.com (Chen, Xinghai) Date: Thu Aug 5 00:20:07 2004 Subject: what's a fnord Message-ID: ~sdpm~ http://www.whatis.com/ has a very good explanation of what a 'fnord' is. Visit also http://www.gurunet.com/. GuruNet is linked against the database at whatis.com, among many other internet sources. --Xinghai -----Original Message----- From: John R. Comeau [mailto:comeaujr@sd.conexant.com] Sent: Thursday, July 06, 2000 12:53 PM To: chris@velocigen.com Cc: san-diego-pm-list@happyfunball.pm.org Subject: Re: Perl regexp-based Web search portal ~sdpm~ Chris> it stores which pages contain a word (fnord, for example) Chris> rather than searching through them all each time.) What's a "fnord"? Is that similar to a fjord? I looked at http://www.fnord.org and found some very artsy porn, but I'm still not sure what a fnord is. Hey Chris, when are those Velocigen free passes to that convention going to be mailed? We signed up for them at a SDPM meeting. -- John Comeau (john.comeau@conexant.com) 858-713-3593 (W) ------------------------------------------------------- Ich mag es, mich mit ihm zu unterhalten, da wir auf gleicher Wellenlnge liegen. I enjoy taiking to him because we are on the same wavelength. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From chris at velocigen.com Thu Jul 6 15:37:57 2000 From: chris at velocigen.com (Chris Radcliff) Date: Thu Aug 5 00:20:07 2004 Subject: Perl regexp-based Web search portal References: <3.0.6.32.20000703224121.01d7fc40@mail.dt1.sdca.home.com> <20000705233506.B1710@email.archlab.tuwien.ac.at> <200007061759.KAA25656@narom.sd.conexant.com> <3964D15C.1044E27C@velocigen.com> <200007061953.MAA26203@narom.sd.conexant.com> Message-ID: <3964EE25.CAB03857@velocigen.com> ~sdpm~ "John R. Comeau" wrote: > What's a "fnord"? > See http://www-swiss.ai.mit.edu/~boogles/Illuminati/fnord.text ; I use it as a placeholder word like "foo" or "thingy". > Hey Chris, when are those Velocigen free passes to that convention > going to be mailed? We signed up for them at a SDPM meeting. > Erp. Sorry! I seem to have forgotten those entirely. I was in Ireland for two weeks as the conference (USENIX 2000 in San Diego) came and went. Profuse apologies. ~chris ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From jcastagnetto at zkey.com Thu Jul 6 18:25:43 2000 From: jcastagnetto at zkey.com (Jesus Castagnetto) Date: Thu Aug 5 00:20:07 2004 Subject: [lpsg] Scripts for meeting (in PHP) Message-ID: <20000706232543.1B1AA1892E@web1.zkey.com> Sorry for not sending this before. The net connection from my machine in the lab was slow and flaky, a problem somewhere in the building. I made some files (attached): convert.php, takes a CSV file (data.csv) and outputs an XML file with the data (data.xml). This shows how PHP can be run from the command line. readxml.php read data.xml and creates an array of "EmailEntry" objects, and prints out an HTML table. The class definition is in class.emailentry.php querymdb.php sends a POST query to a script I have in the MDB, and just prints out the response (data coming back is in WDDX format). This shows how to use sockets. That's it for now. These are simple scripts I came out on short notice. --- Jesus M. Castagnetto ------------------------------------------------- Created by Zkey.com - http://www.zkey.com Awarded PCMagazine's Editors' Choice -------------- next part -------------- A non-text attachment was scrubbed... Name: data.csv Type: application/octet-stream Size: 257 bytes Desc: not available Url : http://mail.pm.org/archives/san-diego-pm/attachments/20000706/8c6db22c/data.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: data.xml Type: application/octet-stream Size: 675 bytes Desc: not available Url : http://mail.pm.org/archives/san-diego-pm/attachments/20000706/8c6db22c/data-0001.obj -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/san-diego-pm/attachments/20000706/8c6db22c/data.html -------------- next part -------------- A non-text attachment was scrubbed... Name: convert.php Type: application/octet-stream Size: 520 bytes Desc: not available Url : http://mail.pm.org/archives/san-diego-pm/attachments/20000706/8c6db22c/convert.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: class.emailentry.php Type: application/octet-stream Size: 630 bytes Desc: not available Url : http://mail.pm.org/archives/san-diego-pm/attachments/20000706/8c6db22c/class.emailentry.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: readxml.php Type: application/octet-stream Size: 1456 bytes Desc: not available Url : http://mail.pm.org/archives/san-diego-pm/attachments/20000706/8c6db22c/readxml.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: querymdb.php Type: application/octet-stream Size: 817 bytes Desc: not available Url : http://mail.pm.org/archives/san-diego-pm/attachments/20000706/8c6db22c/querymdb.obj -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/san-diego-pm/attachments/20000706/8c6db22c/querymdb.html From webtemp at ucsd-pps.ucsd.edu Thu Jul 13 10:29:35 2000 From: webtemp at ucsd-pps.ucsd.edu (Michael DeVicariis) Date: Thu Aug 5 00:20:07 2004 Subject: Web server Message-ID: <000101bfecdf$261c1520$edc3ef84@pps195-237.ucsd.edu> ~sdpm~ The web server is back up and running. Sorry about the delay. Michael DeVicariis Web Administrator/Developer Programmer/Analyst UCSD Auxiliary & Plant Services (858) 534-0700 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at cts.com Sat Jul 15 15:05:57 2000 From: joel at cts.com (Joel Fentin) Date: Thu Aug 5 00:20:07 2004 Subject: CGI & looping Message-ID: <3.0.4.32.20000715130557.007c3a90@crash.cts.com> ~sdpm~ The question is about looping; not about printing the data. I have tried print statements of various types, and I can't get anything to work. Even if I leave the "{}" empty, the program still bombs. NEW CGI OBJECT ORIENTED========================== #!/perl/bin/perl -w use CGI; my $co = new CGI; my @Data=("AAAA","BBBB","CCCC","DDDD"); print $co->header, $co->start_html(-title=>'Hello Mother'), $co->start_form(), $co->p,@Data, #foreach $_ (@Data){$co->p,"$_\n",}, #INTERNAL SERVER ERROR $co->end_form(), $co->end_html; STANDARD CGI==================================== #!/perl/bin/perl -w #use CGI qw/:standard/; #OK use CGI qw(:standard); #OK my @Data=("AAAA","BBBB","CCCC","DDDD"); print header, start_html('Hello Mother'), start_form, p,"@Data\n", #for(@Data){}, #INTERNAL SERVER ERROR #for(@Data){}; #INTERNAL SERVER ERROR #foreach $_(@Data){}, #INTERNAL SERVER ERROR #foreach $_(@Data){}; #INTERNAL SERVER ERROR end_form, end_html; -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@cts.com web: Fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From jeff at planetoid.net Sat Jul 15 17:59:30 2000 From: jeff at planetoid.net (jeff) Date: Thu Aug 5 00:20:07 2004 Subject: CGI & looping References: <3.0.4.32.20000715130557.007c3a90@crash.cts.com> Message-ID: <3970ECD1.766D14A5@planetoid.net> ~sdpm~ for one thing you don't need to specify the iterator $_ in the foreach loop. it's used by default. and i dont think you can use a foreach as a paramter to the print statement. try using join {map} to print the data list if it has to be a paramter, or otherwise, print it separately. Joel Fentin wrote: > ~sdpm~ > The question is about looping; not about printing the data. > > I have tried print statements of various types, and I can't get > anything to work. Even if I leave the "{}" empty, the program > still bombs. > > NEW CGI OBJECT ORIENTED========================== > > #!/perl/bin/perl -w > use CGI; > my $co = new CGI; > my @Data=("AAAA","BBBB","CCCC","DDDD"); > print $co->header, > $co->start_html(-title=>'Hello Mother'), > $co->start_form(), > $co->p,@Data, > #foreach $_ (@Data){$co->p,"$_\n",}, #INTERNAL SERVER ERROR > $co->end_form(), > $co->end_html; > > STANDARD CGI==================================== > #!/perl/bin/perl -w > #use CGI qw/:standard/; #OK > use CGI qw(:standard); #OK > my @Data=("AAAA","BBBB","CCCC","DDDD"); > print header, > start_html('Hello Mother'), > start_form, > p,"@Data\n", > #for(@Data){}, #INTERNAL SERVER ERROR > #for(@Data){}; #INTERNAL SERVER ERROR > #foreach $_(@Data){}, #INTERNAL SERVER ERROR > #foreach $_(@Data){}; #INTERNAL SERVER ERROR > end_form, > end_html; > > -- > Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 > > email: joel@cts.com web: Fentin.com > ~sdpm~ > > The posting address is: san-diego-pm-list@hfb.pm.org > > List requests should be sent to: majordomo@hfb.pm.org > > If you ever want to remove yourself from this mailing list, > you can send mail to with the following > command in the body of your email message: > > unsubscribe san-diego-pm-list > > If you ever need to get in contact with the owner of the list, > (if you have trouble unsubscribing, or have questions about the > list itself) send email to . > This is the general rule for most mailing lists when you need > to contact a human. -- Jeff Saenz jeff@planetoid.net ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Sun Jul 16 01:05:58 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes In-Reply-To: <3970ECD1.766D14A5@planetoid.net> Message-ID: ~sdpm~ This is just plain wierd. Why should adding an integer and a float be faster than adding two integers? The only difference betweeen sub randint1 and randint2 below is that int() is applied after 1 is added to the output of rand() in randint1, but int is applied to rand() before the addition in randint2. This behavior is specific to hashes (not arrays) so I think there's some heavy magic going on in the background. Someone mentioned to me that floats used as array indexes will be automagically truncated by Perl, and it's possible this perk has masked a bug revealed in the hash example? Anybody have any ideas (sorry about the labeling problem, below)? BM: [cabney@annelidia integer]$ ./rand_int-bench.pl Benchmark: timing 500000 iterations of exclusive_a, exclusive_h, inclusive_a, inclusive_h... exclusive_a: 4 wallclock secs ( 3.41 usr + 0.00 sys = 3.41 CPU) exclusive_h: 14 wallclock secs (12.90 usr + 0.01 sys = 12.91 CPU) inclusive_a: 2 wallclock secs ( 2.71 usr + 0.00 sys = 2.71 CPU) inclusive_h: 4 wallclock secs ( 4.25 usr + 0.00 sys = 4.25 CPU) =8<=========== rand_int.pl ============== #! /usr/bin/perl -w use strict; use Benchmark; my ($r1, %h1, $r2, %h2 ); my ($r3, @a1, $r4, @a2 ); sub randint1 { $r1 = int( rand(4) + 1 ); $h1{$r1}++; } sub randint2 { $r2 = int( rand(4) ) + 1; $h2{$r2}++; } sub randint3 { $r3 = int( rand(4) + 1 ); $a1[$r3]++; } sub randint4 { $r4 = int( rand(4) ) + 1; $a2[$r4]++; } timethese (500000, { 'inclusive_h' => \&randint1, 'exclusive_h' => \&randint2, 'inclusive_a' => \&randint3, 'exclusive_a' => \&randint4, }); #print "Using a hash:\n"; #print "int inclusive:\n"; #print "$_: $h1{$_}\n" for (keys %h1); #print "\nint exclusive?:\n"; #print "$_: $h2{$_}\n" for (keys %h2); #print "Using an array:\n"; #print "int inclusive:\n"; #print "$_: $a1[$_]\n" for (1..4); #print "\nint exclusive?:\n"; #print "$_: $a2[$_]\n" for (1..4); =8<=========== rand_int.pl ============== Any thoughts appreciated. CA (thinking of typing 'which perlbug') -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Sun Jul 16 02:30:58 2000 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes In-Reply-To: ; from cabney@cyberpass.net on Sat, Jul 15, 2000 at 11:05:58PM -0700 References: <3970ECD1.766D14A5@planetoid.net> Message-ID: <20000716003057.Q30925@securityarchitects.com> ~sdpm~ On Sat, Jul 15, 2000 at 11:05:58PM -0700, C. Abney wrote: > ~sdpm~ > This is just plain wierd. Why should adding an integer and a float be faster > than adding two integers? The only difference betweeen sub randint1 and > randint2 below is that int() is applied after 1 is added to the output of > rand() in randint1, but int is applied to rand() before the addition in > randint2. This behavior is specific to hashes (not arrays) so I think there's > some heavy magic going on in the background. Someone mentioned to me that > floats used as array indexes will be automagically truncated by Perl, and > it's possible this perk has masked a bug revealed in the hash example? > > Anybody have any ideas (sorry about the labeling problem, below)? $ perl -wle '$h{1.005}=1; $,=" - "; print each %h' 1.005 - 1 A floating number 1.005 is converted into a string and is used as a hash key. Converting a floating number to a string is obviously much slower than converting an int what's so surprising? bash-2.03# perl -wle 'use Devel::Peek; $a=5; Dump($a)' SV = IV(0xf40c) at 0x6f18 REFCNT = 1 FLAGS = (IOK,pIOK) IV = 5 bash-2.03# perl -wle 'use Devel::Peek; $a="5"; Dump($a)' SV = PV(0x640c) at 0x6f18 REFCNT = 1 FLAGS = (POK,pPOK) PV = 0x50a0 "5"\0 CUR = 1 LEN = 2 bash-2.03# perl -wle 'use Devel::Peek; $h{1.005}=1; Dump +(keys %h)[0]' SV = PV(0x640c) at 0x6ee8 REFCNT = 1 FLAGS = (TEMP,POK,pPOK) PV = 0x5c20 "1.005"\0 CUR = 5 LEN = 6 bash-2.03# perl -wle 'use Devel::Peek; $h{1.005}=1; Dump +(values %h)[0]' SV = IV(0xf404) at 0x6ee8 REFCNT = 1 FLAGS = (TEMP,IOK,pIOK) IV = 1 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Sun Jul 16 02:55:16 2000 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes In-Reply-To: <20000716003057.Q30925@securityarchitects.com>; from eugene@securityarchitects.com on Sun, Jul 16, 2000 at 12:30:58AM -0700 References: <3970ECD1.766D14A5@planetoid.net> <20000716003057.Q30925@securityarchitects.com> Message-ID: <20000716005516.R30925@securityarchitects.com> ~sdpm~ > bash-2.03# perl -wle 'use Devel::Peek; $a=5; Dump($a)' > SV = IV(0xf40c) at 0x6f18 > REFCNT = 1 > FLAGS = (IOK,pIOK) > IV = 5 > bash-2.03# perl -wle 'use Devel::Peek; $a="5"; Dump($a)' > SV = PV(0x640c) at 0x6f18 > REFCNT = 1 > FLAGS = (POK,pPOK) > PV = 0x50a0 "5"\0 > CUR = 1 > LEN = 2 > bash-2.03# perl -wle 'use Devel::Peek; $h{1.005}=1; Dump +(keys %h)[0]' > SV = PV(0x640c) at 0x6ee8 > REFCNT = 1 > FLAGS = (TEMP,POK,pPOK) > PV = 0x5c20 "1.005"\0 > CUR = 5 > LEN = 6 > bash-2.03# perl -wle 'use Devel::Peek; $h{1.005}=1; Dump +(values %h)[0]' > SV = IV(0xf404) at 0x6ee8 > REFCNT = 1 > FLAGS = (TEMP,IOK,pIOK) > IV = 1 to make sense out of the above check out man perlguts here is another example that might help (or confuse you even more :) bash-2.03# cat a.pl #!/usr/bin/perl $a=5; $a=5.0; $a="5"; bash-2.03# perl -MO=Terse a.pl a.pl syntax OK LISTOP (0xea80) pp_leave OP (0x92260) pp_enter COP (0xea40) pp_nextstate BINOP (0x10260) pp_sassign SVOP (0x10240) pp_const IV (0x61c8) 5 <- int value UNOP (0x10220) pp_null [15] GVOP (0x101e0) pp_gvsv GV (0x6f78) *a COP (0xeac0) pp_nextstate BINOP (0x102e0) pp_sassign SVOP (0x102c0) pp_const NV (0x6f18) 5 <- floating point value UNOP (0x102a0) pp_null [15] GVOP (0x10280) pp_gvsv GV (0x6f78) *a COP (0xeb00) pp_nextstate BINOP (0x857a0) pp_sassign SVOP (0x210e0) pp_const PV (0x6f00) "5" <- string value UNOP (0x4380) pp_null [15] GVOP (0x10320) pp_gvsv GV (0x6f78) *a comments starting with <- were added by me hth, eugene ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rlssdpm at schnapp.org Sun Jul 16 09:35:25 2000 From: rlssdpm at schnapp.org (Russ Schnapp) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes Message-ID: <200007161430.KAA09306@happyfunball.pm.org> ~sdpm~ > A floating number 1.005 is converted into a string and is used as a hash key. > Converting a floating number to a string is obviously much slower than > converting an int > > what's so surprising? Okay, I'll bite. Here are the code samples again: > sub randint1 { > $r1 = int( rand(4) + 1 ); > $h1{$r1}++; > } > > sub randint2 { > $r2 = int( rand(4) ) + 1; > $h2{$r2}++; > } randint2() ran slower than randing1(), and you're saying that's because $r2 was a float while $r1 was an int? I need to understand this. How did adding an integer (1) to the result of an int() generate a floating result? ...Russ ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Sun Jul 16 10:08:35 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes In-Reply-To: <200007161430.KAA09306@happyfunball.pm.org> Message-ID: ~sdpm~ On Sun, 16 Jul 2000, Russ Schnapp wrote: > Okay, I'll bite. Here are the code samples again: > > > sub randint1 { > > $r1 = int( rand(4) + 1 ); > > $h1{$r1}++; > > } > > > > sub randint2 { > > $r2 = int( rand(4) ) + 1; > > $h2{$r2}++; > > } > > randint2() ran slower than randing1(), and you're saying that's > because $r2 was a float while $r1 was an int? I need to understand > this. How did adding an integer (1) to the result of an int() generate > a floating result? oh my, Eugene seems to've missed something in my post. $r1 and $r2 are both ints. It is in the assignment operation for each that the output of rand() is converted from float to int. This happens /before/ it's used as a hash key, of course. In one example it happens before adding 1, in the other example it happens after. That's the only difference other than speed. Things are only getting muddier. Both randint1 and randint2 use the hash, and the hash index has been converted from an int in both cases. But, in one case, rand() output was truncated to int before integer addition and assignment to $rx, whereas in the other it was added with an int /before/ truncation. The second case turns out to be much faster when the resulting int is used as a hash index. But it makes no difference in speed when the resulting ints are used as an array index! I want to get inside that anomaly and am hoping for some help... :) Maybe it would help to review the benchmark again, comparing the 2x2 matrix of algorithms? CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Sun Jul 16 11:15:52 2000 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes In-Reply-To: ; from cabney@cyberpass.net on Sun, Jul 16, 2000 at 08:08:35AM -0700 References: <200007161430.KAA09306@happyfunball.pm.org> Message-ID: <20000716091552.S30925@securityarchitects.com> ~sdpm~ On Sun, Jul 16, 2000 at 08:08:35AM -0700, C. Abney wrote: > ~sdpm~ > On Sun, 16 Jul 2000, Russ Schnapp wrote: > > > Okay, I'll bite. Here are the code samples again: > > > > > sub randint1 { > > > $r1 = int( rand(4) + 1 ); > > > $h1{$r1}++; > > > } > > > > > > sub randint2 { > > > $r2 = int( rand(4) ) + 1; > > > $h2{$r2}++; > > > } > > > > randint2() ran slower than randing1(), and you're saying that's > > because $r2 was a float while $r1 was an int? I need to understand > > this. How did adding an integer (1) to the result of an int() generate > > a floating result? > > oh my, Eugene seems to've missed something in my post. $r1 and $r2 are > both ints. It is in the assignment operation for each that the output > of rand() is converted from float to int. This happens /before/ it's > used as a hash key, of course. In one example it happens before adding > 1, in the other example it happens after. That's the only difference > other than speed. > > Things are only getting muddier. Both randint1 and randint2 use the > hash, and the hash index has been converted from an int in both cases. > > But, in one case, rand() output was truncated to int before integer > addition and assignment to $rx, whereas in the other it was added with > an int /before/ truncation. The second case turns out to be much faster > when the resulting int is used as a hash index. But it makes no difference > in speed when the resulting ints are used as an array index! > > I want to get inside that anomaly and am hoping for some help... :) > Maybe it would help to review the benchmark again, comparing the 2x2 > matrix of algorithms? bash-2.03# cat a.pl #!/usr/bin/perl use Devel::Peek; $a=int( rand(4) + 1); $b=int( rand(4) ) + 1; Dump($a); Dump($b); bash-2.03# perl a.pl SV = IV(0xf4b0) at 0x6ef4 REFCNT = 1 FLAGS = (IOK,pIOK) <- int value IV = 2 SV = NV(0x14820) at 0x6f24 REFCNT = 1 FLAGS = (NOK,pNOK) <- floating point value NV = 1 my argument still stands. doesn't make sense right? i mean both number are supposed to be integers.. here is another example for ya bash-2.03# cat a.pl #!/usr/bin/perl use Devel::Peek; $a = 1; $a += 1; Dump($a); bash-2.03# perl a.pl SV = PVNV(0x335e0) at 0x6ef4 REFCNT = 1 FLAGS = (NOK,pNOK) <- floating point IV = 1 NV = 2 PV = 0 perl converted our interger to a floating point before performing our arithmetic operation. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rlssdpm at schnapp.org Sun Jul 16 11:49:59 2000 From: rlssdpm at schnapp.org (Russ Schnapp) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes Message-ID: <200007161644.MAA09764@happyfunball.pm.org> ~sdpm~ > perl converted our interger to a floating point before performing > our arithmetic operation. Well, all I can say is that this is a VERY counter-intuitive result. So, what's the rule? All PERL arithmetic ops are carried out in floating point? Yikes! ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From joel at cts.com Sun Jul 16 12:30:33 2000 From: joel at cts.com (Joel Fentin) Date: Thu Aug 5 00:20:07 2004 Subject: CGI & looping In-Reply-To: <3970ECD1.766D14A5@planetoid.net> References: <3.0.4.32.20000715130557.007c3a90@crash.cts.com> Message-ID: <3.0.4.32.20000716103033.007ca220@crash.cts.com> ~sdpm~ >~sdpm~ >for one thing you don't need to specify the iterator $_ in the foreach loop. >it's used by default. and i dont think you can use a foreach as a paramter to >the print statement. >try using join {map} to print the data list if it has to be a paramter, or >otherwise, print it separately. In spite of the subject of the email, and in spite of my first sentence, you talked to me about printing. Nobody answered the looping issues. Those loops work fine and print fine when not used with CGI. Again, I ask: How do I loop? -- Joel Fentin tel: 760-749-8863 FAX: 760-749-8864 email: joel@cts.com web: Fentin.com ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Sun Jul 16 12:45:17 2000 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:07 2004 Subject: int operations Message-ID: <20000716104517.U30925@securityarchitects.com> ~sdpm~ Hello, I have a question regarding integer operations. According to $ perl -wle 'use Devel::Peek; $a=1; $a+=1; Dump($a)' SV = PVNV(0x31540) at 0x6f24 REFCNT = 1 FLAGS = (NOK,pNOK) IV = 1 NV = 2 PV = 0 an integer operation '$a += 1;' converts $a to a floating-point type (NV). I would expect perl to be able to figure out that $a+=1 should produce an integer result (IV) but obviosuly it doesn't. I have also noticed that PV type is created as well (with a null value). After playing with some more examples the only way i could get an IV value after an arithmetic operation was an explicit cast: $a = int($i + $i2); cheers, eugene p.s. i am not subscribed to clpm so copy me directly on your response ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Sun Jul 16 13:17:07 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes In-Reply-To: <20000716091552.S30925@securityarchitects.com> Message-ID: ~sdpm~ On Sun, 16 Jul 2000, Eugene Tsyrklevich wrote: > doesn't make sense right? i mean both number are supposed to be integers.. I think I'd hesitate before calling it a "feature", if that's what you mean by 'sense'. :) I admit my case was pretty marginal (int's as hash keys) but you've shown that it's a general feature of Perl with your $a+=1 example. Using a float as an array index is fairly common practice so the Perl Porters probably stuck in the auto-truncate rule in the compiler? I can't see doing this for hash keys though... too wierd. I think I'm learning too much about perl's internals (I'd rather be playing with Markov chains...) So for a weak-typed language like Perl maybe it is a 'feature'. I assumed arithmetic type rules were like C's. Thanks for the tip on Devel.pm! CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Sun Jul 16 13:19:42 2000 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:07 2004 Subject: mjd Message-ID: <20000716111942.W30925@securityarchitects.com> ~sdpm~ http://www.plover.com/~mjd/perl/ ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Sun Jul 16 13:38:00 2000 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:07 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes In-Reply-To: ; from cabney@cyberpass.net on Sun, Jul 16, 2000 at 11:17:07AM -0700 References: <20000716091552.S30925@securityarchitects.com> Message-ID: <20000716113800.X30925@securityarchitects.com> ~sdpm~ On Sun, Jul 16, 2000 at 11:17:07AM -0700, C. Abney wrote: > ~sdpm~ > On Sun, 16 Jul 2000, Eugene Tsyrklevich wrote: > > > doesn't make sense right? i mean both number are supposed to be integers.. > > I think I'd hesitate before calling it a "feature", if that's what you mean > by 'sense'. :) > > I admit my case was pretty marginal (int's as hash keys) but you've shown > that it's a general feature of Perl with your $a+=1 example. Using a float > as an array index is fairly common practice so the Perl Porters probably > stuck in the auto-truncate rule in the compiler? I can't see doing this for > hash keys though... too wierd. I think I'm learning too much about perl's hash keys are supposed to be strings (perl does the translation for you i.e. float -> string) > internals (I'd rather be playing with Markov chains...) combine the two :-) http://search.cpan.org/doc/ALANSZ/Decision-Markov-0.01/Markov.pm (not really markov chains but close enough :) > So for a weak-typed language like Perl maybe it is a 'feature'. I assumed > arithmetic type rules were like C's. it's not a feature. more like a bug. i talked to mjd and he asked me to post the question to comp.lang.perl.moderated. i did and i CC'd thist list as well. we will see what comes out of it > Thanks for the tip on Devel.pm! > > CA > -- > Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat > up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From astewart at spawar.navy.mil Sun Jul 16 13:59:49 2000 From: astewart at spawar.navy.mil (Alan Stewart) Date: Thu Aug 5 00:20:07 2004 Subject: CGI & looping In-Reply-To: <3.0.4.32.20000716103033.007ca220@crash.cts.com> References: <3970ECD1.766D14A5@planetoid.net> Message-ID: <20000716185949.IXHP4673.mail2.rdc1.sdca.home.com@cx465707-a> ~sdpm~ On 16 Jul 00, at 10:30, Joel Fentin wrote: > ~sdpm~ > >~sdpm~ > >for one thing you don't need to specify the iterator $_ in the > foreach loop. > >it's used by default. and i dont think you can use a foreach as > a paramter to > >the print statement. > >try using join {map} to print the data list if it has to be a > paramter, or > >otherwise, print it separately. > > In spite of the subject of the email, and in spite of my first > sentence, you talked to me about printing. Nobody answered the > looping issues. > > Those loops work fine and print fine when not used with CGI. > Again, I ask: How do I loop? Well, Jeff did answer your question, if very briefly. The magic loop word is "map". On the other hand, your problem IS with the print statement (not with CGI). Notice that in your example the foreach statement is preceded and followed by a comma. That means that it is trying to be a "parameter" in a list to the print statement and that's no good. You can use a single function that returns a single value or a list (like map), but the foreach code doesn't do that. You have (at least) two choices: Using map (and a join is not needed): #!/perl/bin/perl -w use CGI; my $co = new CGI; my @Data=("AAAA","BBBB","CCCC","DDDD"); print $co->header, $co->start_html(-title=>'Hello Mother'), $co->start_form(), $co->p,@Data, map {$co->p,"$_\n"} @Data, $co->end_form(), $co->end_html; This works if the loop is a simple one to one conversion. If you want to do arbitrary stuff in the loop, you need to break up the print statement: #!/perl/bin/perl -w use CGI; my $co = new CGI; my @Data=("AAAA","BBBB","CCCC","DDDD"); print $co->header, $co->start_html(-title=>'Hello Mother'), $co->start_form(), $co->p,@Data; # end this print foreach (@Data){print $co->p,"$_\n"} # print "inside" some arbitrary code print $co->end_form(), # finish printing $co->end_html; or stick a supporting subroutine in: #!/perl/bin/perl -w use CGI; my $co = new CGI; my @Data=("AAAA","BBBB","CCCC","DDDD"); print $co->header, $co->start_html(-title=>'Hello Mother'), $co->start_form(), $co->p,@Data, munge_stuff(@Data), $co->end_form(), $co->end_html; sub munge_stuff { my @array = @_; # do whatever you need to do return @array; } All of this is just print syntax, not CGI, which is the $co->xxx stuff. ------------------------------------------------------------- Alan Stewart )-[]-( Electronics Engineer Code D621 ~ ~ Network Operations SPAWARSYSCEN ~ ~ \ Satellite Communications 53560 Hull St ( ~ ~ ) tel (619)524-3625 San Diego,CA __|___ /| fax (619)524-2607 92152-5001 ^\____/^^^^^^\ __| |_ astewart@spawar.navy.mil -------------^^^^^^^^^^^^^^^\__|______|_------------------------- ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Sun Jul 16 14:05:08 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:08 2004 Subject: mjd In-Reply-To: <20000716111942.W30925@securityarchitects.com> Message-ID: ~sdpm~ On Sun, 16 Jul 2000, Eugene Tsyrklevich wrote: > http://www.plover.com/~mjd/perl/ Using regexes to solve the Traveling Salesman Problem? *BOGGLE* CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Sun Jul 16 14:20:17 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:08 2004 Subject: int(rand() + 1), int(rand()) +1, and hashes In-Reply-To: <20000716113800.X30925@securityarchitects.com> Message-ID: ~sdpm~ On Sun, 16 Jul 2000, Eugene Tsyrklevich wrote: > hash keys are supposed to be strings (perl does the translation for you > i.e. float -> string) And you might want those trailing significant digits... > combine the two :-) > http://search.cpan.org/doc/ALANSZ/Decision-Markov-0.01/Markov.pm Ok, maybe I'll see what happens when the Rogerian psychotherapist meets Shannon and Crick. I've already come up with a pretty fair (but severely whacked) simulacrum of Longfellow. CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From eugene at securityarchitects.com Sun Jul 16 18:45:04 2000 From: eugene at securityarchitects.com (Eugene Tsyrklevich) Date: Thu Aug 5 00:20:08 2004 Subject: perlguts illustrated In-Reply-To: <20000716111942.W30925@securityarchitects.com>; from eugene@securityarchitects.com on Sun, Jul 16, 2000 at 11:19:42AM -0700 References: <20000716111942.W30925@securityarchitects.com> Message-ID: <20000716164504.A30925@securityarchitects.com> ~sdpm~ http://gisle.aas.no/perl/illguts/ cheers ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rlssdpm at schnapp.org Sun Jul 16 21:37:52 2000 From: rlssdpm at schnapp.org (Russ Schnapp) Date: Thu Aug 5 00:20:08 2004 Subject: A spammer Message-ID: <200007170232.WAA11382@happyfunball.pm.org> ~sdpm~ It's sad to say, but there is a spammer on this list. I just received a spam mail via the address that I ONLY use for this list. I guess I shouldn't be surprised. There's often at least one sleaze in every good group. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rlssdpm at schnapp.org Sun Jul 16 21:40:06 2000 From: rlssdpm at schnapp.org (Russ Schnapp) Date: Thu Aug 5 00:20:08 2004 Subject: I take it back! Message-ID: <200007170234.WAA11400@happyfunball.pm.org> ~sdpm~ My face is red. I fooled myself. I don't actually know what address the spammer actually used, so it probably is NOT from this list. Dang, I have to learn not to jump the gun. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Mon Jul 17 22:15:01 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:08 2004 Subject: int operations In-Reply-To: <20000716104517.U30925@securityarchitects.com> Message-ID: ~sdpm~ On Sun, 16 Jul 2000, Eugene Tsyrklevich wrote: > After playing with some more examples the only way i could get an IV > value after an arithmetic operation was an explicit cast: > > $a = int($i + $i2); Whatever you do, DON'T 'use integer' like the respondant suggested in c.l.p.mod!!!!! That's a braindead maintenance nightmare. Go with the explicit int()... it's much more direct and doesn't !#$!$^% with the rest of your code. CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From todd.rockhold at ontogen.com Tue Jul 18 11:57:01 2000 From: todd.rockhold at ontogen.com (Todd Rockhold) Date: Thu Aug 5 00:20:08 2004 Subject: Host a publius node? Message-ID: <00Jul18.100733pdt.118082@gateway.ontogen.com> ~sdpm~ Publius is an experimental, distributed, anonymous web host. The server is claimed to be written in Perl 5. Two-month trial run is scheduled for 7/28 to 9/28 I believe. http://cs1.cs.nyu.edu/waldman/publius/ Do we want to volunteer our group's server to be one of the nodes? Interesting technology, but maybe some pretty rotten stuff will be published. If I undersand the concept correctly, we would have no idea which pieces of which content we would have on our server. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From canetguy at home.com Tue Jul 18 19:22:25 2000 From: canetguy at home.com (Garrett Casey) Date: Thu Aug 5 00:20:08 2004 Subject: Next Perl Mongers Meeting Message-ID: <200007181722250301.1AA4F060@mail> ~sdpm~ Well gang. We will be having our July Meeting tomorrow, July 19th 2000. It will basically be a "get together" meeting with no topic scheduled. We will just show up and talk perl. Bring some code that you want to discuss - or print out a cool Perl article that you might think the group may enjoy - etc. We will talk a little bit about our August meeting, which will be hosted my MusicMatch Inc. http://www.musicmatch.com Location: VelociGen Inc. 8380 Miramar Mall, San Diego CA 92121 Take I-805 to La Jolla Village Drive/Miramar Road. Head East. Turn left on Miramar Mall. Go into the main doors for the meeting (not any office doors). The meeting room is upstairs to the left. If you have any trouble, call 619-417-2136 -Garrett ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From webtemp at ucsd-pps.ucsd.edu Wed Jul 19 10:11:04 2000 From: webtemp at ucsd-pps.ucsd.edu (Michael DeVicariis) Date: Thu Aug 5 00:20:08 2004 Subject: New Microsoft Vulnerability Revealed and nearly everyone is vulnerable Message-ID: <000801bff193$8e8f3660$edc3ef84@pps195-237.ucsd.edu> ~sdpm~ New Microsoft Vulnerability Revealed The System Administration, Networking, and Security (SANS) Institute on Monday identified what it called "probably the most dangerous programming error" found in any workstation running Windows 95, 98, 2000, and NT 4.0. A security alert issued by the cooperative research and education group states that users running any of the affected operating systems are vulnerable to a total compromise when they preview or read an infected e-mail -- without having to open any attachments. They're also vulnerable if they have Microsoft Access 97 or 2000, or if they run any mail reader, like Outlook or Eudora, that uses Internet Explorer (4.0 and higher) to render HTML documents. According to the SANS advisory, a hacker could get into Microsoft Access using ActiveX controls without the victim knowing that it's happening. "This is a very serious problem," said Forrester Research analyst Frank Prince. "Anyone with Visual Basic knowledge could potentially send an e-mail -- that doesn't have to be opened -- and give the hacker complete access to the user's system." --George V. Hulme, InformationWeek Find out if you're at risk: http://www.internetwk.com/story/INW20000718S0001 Michael DeVicariis Web Administrator/Developer Programmer/Analyst UCSD Auxiliary & Plant Services (858) 534-0700 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at neta.com Wed Jul 19 15:23:12 2000 From: rkleeman at neta.com (Bobby Kleemann) Date: Thu Aug 5 00:20:08 2004 Subject: [Perl News] July 19, 2000 (fwd) Message-ID: ~sdpm~ We need to see what we can do to help this out! _ _ _ Bobby Kleemann http://www.neta.com/~rkleeman/ ---------- Forwarded message ---------- Date: Wed, 19 Jul 2000 15:14:51 -0400 (EDT) From: Perl News Proprietor Reply-To: news@perl.org To: Perl News List Subject: [Perl News] July 19, 2000 ------------------------------------------------------------------------ 19 July 2000 ------------ [...] Torkington then announced that the next Perl conference would be held in San Diego, CA on July 23-26, 2001, and noted that the call for papers is beginning now (we will post a link when we have it). # To unsubscribe, send to . # Send feedback and news ideas to . # For current news and archives, see . # See Perl News in The Perl Journal at . # Check out Perl news and discussion at . ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Wed Jul 19 23:11:45 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:08 2004 Subject: [Perl News] July 19, 2000 (fwd) In-Reply-To: Message-ID: ~sdpm~ On Wed, 19 Jul 2000, Bobby Kleemann wrote: > We need to see what we can do to help this out! > > Torkington then announced that the next Perl conference would be > held in San Diego, CA on July 23-26, 2001, and noted that the > call for papers is beginning now (we will post a link when we > have it). Damn, I really like the Pacific Hotel (Monterey) CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Wed Jul 19 23:11:45 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:08 2004 Subject: [Perl News] July 19, 2000 (fwd) In-Reply-To: Message-ID: ~sdpm~ On Wed, 19 Jul 2000, Bobby Kleemann wrote: > We need to see what we can do to help this out! > > Torkington then announced that the next Perl conference would be > held in San Diego, CA on July 23-26, 2001, and noted that the > call for papers is beginning now (we will post a link when we > have it). Damn, I really like the Pacific Hotel (Monterey) CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From scholarships at erols.com Thu Jul 20 15:09:52 2000 From: scholarships at erols.com (scholarships@erols.com) Date: Thu Aug 5 00:20:08 2004 Subject: Tuition-Free Computer and IT Training for Non-Profit Employees Message-ID: <850.652865.673223@yahoo.com> ~sdpm~ Tuition-Free Computer and IT Training for Non-Profit Employees Dear Non-Profit Employee, Most non-profit employees want to improve their computer skills. However, high cost of training and a busy schedule have held them back. Now, the National Education Foundation (NEF) CyberLearning, a non-profit organization, dedicated to bridging the "Digital Divide," offers the Nation's non-profit employees a unique opportunity. With the support of Microsoft and others, NEF CyberLearning is now able to offer full tuition scholarships of $2,000 to the first 10,000 applicants, thus enabling them to take any or all of the 400+ Internet-based online personal computing and computer professional courses from anywhere at any time. The high-quality, user-friendly courses are either self-study or instructor-led. They cover all levels and almost all topics, including Computer Basics, Internet Basics, Web Design Basics, Networking Basics, Programming Basics, A+, Network+, MCSE, CNE, Microsoft Office, MOUS, WordPerfect, Lotus, Operating Systems, Windows, Windows 2000, Linux, Unix, Networking, WAN, LAN, Programming, Java, C++, Visual Basics, Internet, Web Design, Web Applications, Web Master, E-commerce, Databases, Oracle and Cisco. To sign up, just visit www.cyberlearning.org, click on "Free IT Training," complete the application and pay a nominal registration fee of $75 with an organization/personal credit card. This $75 is your only cost, since the tuition is free for you. Many non-profit organizations reimburse the $75. You can receive immediate access to all 400+ online courses, an online library of the latest 1,000+ computer/information technology books, instructor assistance, course-specific chat areas and round the clock technical support. Please feel free to forward this information to interested colleagues and others in non-profit organizations. If your department or division wants to sign up a group of employees, please indicate so in your reply and provide contact information. If you received this e-mail, it is because you are listed as a contact person or employee of a non-profit organization. If you do not wish to receive any further scholarship information from us, please reply with the message, "remove" in the Subject line. Thank you. The non-profit National Education Foundation (NEF) CyberLearning has provided tuition-free IT training to thousands of students, teachers, government and non-profit employees and disadvantaged individuals. It has earned many distinctions including "The Ivy League of IT Training," "1995 Fairfax Human Rights Award Winner," and " A Leader in Bridging the Digital Divide." "You are helping to empower America. I salute you for your ongoing commitment to creating a better America," --- President Clinton "This is an awesome opportunity." --- Washingtonjobs.com "Microsoft is pleased to play a part ... NEF can make a positive difference in the lives of a great number of individuals." --- Microsoft "I have found the CyberLearning online courses to be extremely easy and useful. I liked pre-course self-assessment and IT books online and available 24/7. The course screens were interactive and made me feel as if I was in the application itself. The site looks and feels very professional. The list of courses is huge. It includes something for almost everyone. I find this to be a very worthy cause." --- Ken Horowitz, IT Training Coordinator. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From wwood at ucsd.edu Fri Jul 21 18:16:37 2000 From: wwood at ucsd.edu (Bill Wood) Date: Thu Aug 5 00:20:08 2004 Subject: DBI with OS/390 DB2 Message-ID: <4.1.20000721161014.00a1fc20@popmail.ucsd.edu> ~sdpm~ Does anyone have any experience accessing DB2 on the IBM OS/390 operating system from UNIX/cgi environment? There is a cpan module for DBI-DB2 but its for the UNIX version of DB2. I believe that you need a gateway product like DB2Connect. What kind of gateway software are you using? What pitfalls can you tell me about it. Any pointers are greatly appreciated. Thanks Bill Wood University of California at San Diego Administrative Computing and Telecommunications - 0929 10280 North Torrey Pines Rd. La Jolla, Ca 92093-0929 EMail: wwood@ucsd.edu Phone: 858/534-1291 Fax: 858/534-7656 ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From smeier at sdsc.edu Mon Jul 24 12:46:23 2000 From: smeier at sdsc.edu (Steve Meier) Date: Thu Aug 5 00:20:08 2004 Subject: sorting on time and date Message-ID: <397C80EF.96443D5@sdsc.edu> ~sdpm~ Hello all, I am trying to sort some files. When I collect my data, I name the files mm/dd/yy-hh/mm. (e.g. 7-24-00-9:40). I am using the standard sort function to try to achieve my results: @sorted = sort {$a <=> $b} @unsorted; However, it is not working as expected? After 10am, the files are sorted out of order. Does anyone know the right way to sort these files? Thanks, Steve ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at neta.com Mon Jul 24 13:17:35 2000 From: rkleeman at neta.com (Bobby Kleemann) Date: Thu Aug 5 00:20:08 2004 Subject: sorting on time and date In-Reply-To: <397C80EF.96443D5@sdsc.edu> Message-ID: ~sdpm~ Your problem is with sorting fixed length versus variable length fields. If you could rename all your files so they had the same length in all fields you'd be set with the standard alphabetical sort (almost, the month day year will mess you up. You may want to consider changing that to year month day if/when you rename the files). 7-24-00-9:40 -> 07-24-00-09:40 The other option is to split the fileds and sort in a sane way: sort { my @a = split /\W/, $a; my @b = split /\W/, $b; $a[2] <=> $b[2] or $a[0] <=> $b[0] or ... } If you are doing this much work you'll probably want to throw it into a Schwarzian transform to speed up the sorting if there are a lot of files. That involves changing your simple sort {} @data to a map {} sort {} map {} @data, which can get ugly until you are used to it. _ _ _ Bobby Kleemann http://www.neta.com/~rkleeman/ On Mon, 24 Jul 2000, Steve Meier wrote: > ~sdpm~ > > Hello all, > > I am trying to sort some files. When I collect my data, I name the files > mm/dd/yy-hh/mm. (e.g. 7-24-00-9:40). I am using the standard sort > function to try to achieve my results: > > @sorted = sort {$a <=> $b} @unsorted; > > However, it is not working as expected? After 10am, the files are sorted > out of order. Does anyone know the right way to sort these files? > > Thanks, > > Steve > > ~sdpm~ > > The posting address is: san-diego-pm-list@hfb.pm.org > > List requests should be sent to: majordomo@hfb.pm.org > > If you ever want to remove yourself from this mailing list, > you can send mail to with the following > command in the body of your email message: > > unsubscribe san-diego-pm-list > > If you ever need to get in contact with the owner of the list, > (if you have trouble unsubscribing, or have questions about the > list itself) send email to . > This is the general rule for most mailing lists when you need > to contact a human. > ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From astewart at spawar.navy.mil Mon Jul 24 15:25:55 2000 From: astewart at spawar.navy.mil (Alan Stewart) Date: Thu Aug 5 00:20:08 2004 Subject: sorting on time and date In-Reply-To: <397C80EF.96443D5@sdsc.edu> Message-ID: <200007242024.e6OKOgu21759@droid.nosc.mil> ~sdpm~ On 24 Jul 00, at 10:46, Steve Meier wrote: >~sdpm~ > >Hello all, > >I am trying to sort some files. When I collect my data, I name the files >mm/dd/yy-hh/mm. (e.g. 7-24-00-9:40). I am using the standard sort >function to try to achieve my results: Your example of 7-24-00-9:40 isn't in mm/dd/yy-hh/mm format. 07/24/00-09/40 would be. If you want to sort the whole string, the fields need to be fixed length. > >@sorted = sort {$a <=> $b} @unsorted; > I am surprised you are not getting a "non-numeric argument" error from using <=> instead of cmp with those alphabetic characters ( : or / ) in there. --------------------------------------------------------------- Alan Stewart )-[]-( Electronics Engineer Code D621 ~ ~ Network Operations SPAWARSYSCEN ~ ~ \ Satellite Communications 53560 Hull St ( ~ ~ ) tel (619)524-3625 San Diego,CA __|___ /| fax (619)524-2607 92152-5001 ^\____/^^^^^^\ __| |_ astewart@spawar.navy.mil ------------^^^^^^^^^^^^^^^\__|______|_------------------------ ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Mon Jul 24 21:05:03 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:08 2004 Subject: sorting on time and date In-Reply-To: <397C80EF.96443D5@sdsc.edu> Message-ID: ~sdpm~ On Mon, 24 Jul 2000, Steve Meier wrote: > I am trying to sort some files. When I collect my data, I name the files > mm/dd/yy-hh/mm. (e.g. 7-24-00-9:40). I am using the standard sort > function to try to achieve my results: That example does not look like it matches your naming convention at all. Has your mind wandered as you typed this? > @sorted = sort {$a <=> $b} @unsorted; well that's just a plain old character based sort, where you want to sort by time. You want a schwartzian transform. Didn't I post a little log sorting proggie awhile back? CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From astewart at spawar.navy.mil Tue Jul 25 01:12:39 2000 From: astewart at spawar.navy.mil (Alan Stewart) Date: Thu Aug 5 00:20:08 2004 Subject: sorting on time and date In-Reply-To: References: <397C80EF.96443D5@sdsc.edu> Message-ID: <20000725061240.DLWI4673.mail2.rdc1.sdca.home.com@cx465707-a> ~sdpm~ On 24 Jul 00, at 19:05, C. Abney wrote: [snipped] > Has > your mind wandered as you typed this? > > > @sorted = sort {$a <=> $b} @unsorted; > > well that's just a plain old character based sort Wandering? Well, that's a plain old numeric sort. Without the {$a <=> $b} it's a character (string) sort, which would work fine if the naming convention was yy-mm-dd-hh:mm (00-07-24-09:40). ------------------------------------------------------------- Alan Stewart )-[]-( Electronics Engineer Code D621 ~ ~ Network Operations SPAWARSYSCEN ~ ~ \ Satellite Communications 53560 Hull St ( ~ ~ ) tel (619)524-3625 San Diego,CA __|___ /| fax (619)524-2607 92152-5001 ^\____/^^^^^^\ __| |_ astewart@spawar.navy.mil -------------^^^^^^^^^^^^^^^\__|______|_------------------------- ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From cabney at cyberpass.net Tue Jul 25 09:29:56 2000 From: cabney at cyberpass.net (C. Abney) Date: Thu Aug 5 00:20:08 2004 Subject: sorting on time and date In-Reply-To: <20000725061240.DLWI4673.mail2.rdc1.sdca.home.com@cx465707-a> Message-ID: ~sdpm~ On Mon, 24 Jul 2000, Alan Stewart wrote: > On 24 Jul 00, at 19:05, C. Abney wrote: > > [snipped] > > Has > > your mind wandered as you typed this? > > > > > @sorted = sort {$a <=> $b} @unsorted; > > > > well that's just a plain old character based sort > > Wandering? Well, that's a plain old numeric sort. Without the {$a <=> $b} it's > a character (string) sort, which would work fine if the naming convention was > yy-mm-dd-hh:mm (00-07-24-09:40). ya got me... I had my mouth open on that one. Though I'm not sure what it is anymore if he tried applying it to an unmodified string... it prolly won't work as advertised. CA -- Mighty Mouse is a cartoon. Superman is a real guy. No way a cartoon could beat up a real guy! -- Teddy C. Abney ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From canetguy at home.com Wed Jul 26 11:59:46 2000 From: canetguy at home.com (Garrett Casey) Date: Thu Aug 5 00:20:08 2004 Subject: TPJ back issues. Message-ID: <200007260959460472.03CC6C10@mail> ~sdpm~ Hey everyone. I am ordering some back issues of The Perl Journal for our group (just have to pay shipping). If you would like me to order you some personal copies, please email me ASAP. > >San Diego Perl Mongers now has 65+ members. On average about 30-40 people >show up for the monthly meetings. I think issues of TPJ will be a great >addition to the group "library" we hope to start. > >We will take 3 copies of every issue you have! Just email back with the >total number of issues available and we will get the check out ASAP. > >Thanx a ton - > >-Garrett Casey > > > >Perl Mongers has several hundred issues to TPJ from various printings and > >i want to get rid of them. If your group wants some, all you have to do > >is pay my sphipping costs (see below). Let Nyna know how many you want > >and any requests for particular issues. We'll do our best to accomodate > >you. Just send your check to the address in my sig :) > > > > US Domestic: > > > > $3 for five issues > > $1 for each set of five issues after that > > > > International: > > > > ?? > > > >-- > >brian d foy > >Director of Technology, Smith Renaud, Inc. > >875 Avenue of the Americas, 2510, New York, NY 10001 > > V: (212) 239-8985 > > > > > >**Majordomo list services provided by PANIX ** > >**To Unsubscribe, send "unsubscribe groups" to majordomo@lists.pm.org** Garrett- We have 6 issues available right now, which would make 18 magazines we would be sending you altogether. The total shipping costs will be $8. We'll send out your issues as soon as we get your check. -nina- ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From canetguy at home.com Wed Jul 26 12:23:11 2000 From: canetguy at home.com (Garrett Casey) Date: Thu Aug 5 00:20:08 2004 Subject: TPJ back issues. In-Reply-To: <200007260959460472.03CC6C10@mail> References: <200007260959460472.03CC6C10@mail> Message-ID: <200007261023110371.03E1DC81@mail> ~sdpm~ Oh Yeah, If you do want some, the cost will be a HUGE $1 *********** REPLY SEPARATOR *********** On 7/26/00 at 9:59 AM Garrett Casey wrote: >~sdpm~ >Hey everyone. > >I am ordering some back issues of The Perl Journal for our group (just have to pay shipping). If you would like me to order you some personal copies, please email me ASAP. > >> >>San Diego Perl Mongers now has 65+ members. On average about 30-40 people >>show up for the monthly meetings. I think issues of TPJ will be a great >>addition to the group "library" we hope to start. >> >>We will take 3 copies of every issue you have! Just email back with the >>total number of issues available and we will get the check out ASAP. >> >>Thanx a ton - >> >>-Garrett Casey >> >> >> >Perl Mongers has several hundred issues to TPJ from various printings >and >> >i want to get rid of them. If your group wants some, all you have to do >> >is pay my sphipping costs (see below). Let Nyna know how many you want >> >and any requests for particular issues. We'll do our best to accomodate >> >you. Just send your check to the address in my sig :) >> > >> > US Domestic: >> > >> > $3 for five issues >> > $1 for each set of five issues after that >> > >> > International: >> > >> > ?? >> > >> >-- >> >brian d foy >> >Director of Technology, Smith Renaud, Inc. >> >875 Avenue of the Americas, 2510, New York, NY 10001 >> > V: (212) 239-8985 >> > >> > >> >**Majordomo list services provided by PANIX ** >> >**To Unsubscribe, send "unsubscribe groups" to majordomo@lists.pm.org** > >Garrett- >We have 6 issues available right now, which would make 18 magazines >we would be sending you altogether. The total shipping costs will be >$8. We'll send out your issues as soon as we get your check. > -nina- > > >~sdpm~ > >The posting address is: san-diego-pm-list@hfb.pm.org > >List requests should be sent to: majordomo@hfb.pm.org > >If you ever want to remove yourself from this mailing list, >you can send mail to with the following >command in the body of your email message: > > unsubscribe san-diego-pm-list > >If you ever need to get in contact with the owner of the list, >(if you have trouble unsubscribing, or have questions about the >list itself) send email to . >This is the general rule for most mailing lists when you need >to contact a human. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From canetguy at home.com Wed Jul 26 18:34:35 2000 From: canetguy at home.com (Garrett Casey) Date: Thu Aug 5 00:20:08 2004 Subject: Fwd: SDPM mailing has now an archive site. References: <200007260959460472.03CC6C10@mail> <397F6EE8.AE9CB01F@abac.com> Message-ID: <200007261634350034.0535EB04@mail> ~sdpm~ *********** BEGIN FORWARDED MESSAGE *********** On 7/26/00 at 4:06 PM Thierry de Villeneuve wrote: >Garrett, > >Please announce for me to the list that SDPM mailing list is now >archived at: > > http://www.faqchest.com/ > >Follow the link labled "SDPM" (of course) in the "programming section". > >The archive is fully searchable, combined with other PERL oriented >mailing list. > >John Cormeau has provided me with some archived mail to rebuild some history. > >If anyone knows about a miling list that could be interesting to archive >on FAQchest, please let me know. > >I'm not subscribed to post on the list (I have 2 read-only subscribtions >already with "special" e-mail acocunts). > >Thanks, be seeing you next time. >Thierry > > >-- >=== eom ============================================================= >Thierry de Villeneuve San Diego >http://www.tvnshack.com/ CA 92128 >http://www.faqchest.com/ mailto:thierryv@abac.com *********** END FORWARDED MESSAGE *********** ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From webtemp at ucsd-pps.ucsd.edu Mon Jul 31 11:46:49 2000 From: webtemp at ucsd-pps.ucsd.edu (Michael DeVicariis) Date: Thu Aug 5 00:20:08 2004 Subject: FW: SANS FLASH: New Trojan Sending Data To Russia Message-ID: <001201bffb0e$ebdce720$edc3ef84@pps195-237.ucsd.edu> ~sdpm~ This might be of interest to those of you who are network/web server administrators. Michael DeVicariis Web Administrator/Developer Programmer/Analyst UCSD Auxiliary & Plant Services (858) 534-0700 -----Original Message----- From: The SANS Institute [mailto:sans@sans.org] Sent: Friday, July 28, 2000 5:55 PM To: Michael DeVicariis Subject: SANS FLASH: New Trojan Sending Data To Russia SANS Flash Report: Trojans Sending More Data To Russia July 28, 2000, 6:20 pm, EDT This is preliminary information. The GIAC (Global Incident Analysis Center) has received several submissions showing large amounts of data being sent, illegitimately, from Windows 98 machines to a Russian IP address (194.87.6.X). The cause is most probably a Trojan, but whatever it is, it is moving fast. What you should do? 1. All sites should block network traffic from or to 194.87.6.X 2. If you see outgoing traffic from one of your machines to that address, you should pull it from the network until anti-virus signatures are available. This activity has been going on for a few days, but the correlations are just coming in. If you have information to share, please send it to intrusion@sans.org. The remainder of this message is fairly technical and meant to help system administrators and firewall administrators protect their systems. Thank you! Stephen Northcutt, Director Global Incident Analysis Center The SANS Institute > From SANS GIAC Report 00/07/28 >(dhoelzer) > This one came in at about 20:16 on July 26. The 194.87.6.201 machine interestingly enough, resolves back to .ru. There is no other traffic to or from this network (194.87.6.X) for the last two months of live data that I have online. It's hard to make a guess on this one. Perhaps the machine that recorded this is on a proxy list somewhere, but then, this machine is a brand new honeypot on an IP address that hasn't been populated for at least 7 years, and has never been used as a proxy server. If this is just a random stab, it's interesting that there is no record of any network mapping from this network/host. Perhaps there was some coordinated mapping here, or perhaps there is someone out there who has mapped us already who was willing to share (or moved to a new network). > > bash# cat 8080 > Initializing server socket...Binding to port 8080...Done. > Starting listener...Listening. > Connection from: 194.87.6.201 > 0| 47 45 54 20 68 74 74 70 3a 2f 2f 77 77 77 2e 63 > 16| 6f 6d 6d 69 73 73 69 6f 6e 2d 6a 75 6e 63 74 69 > 32| 6f 6e 2e 63 6f 6d 2f 20 48 54 54 50 2f 31 2e 31 > 48| 0d 0a 48 6f 73 74 3a 20 77 77 77 2e 63 6f 6d 6d > 64| 69 73 73 69 6f 6e 2d 6a 75 6e 63 74 69 6f 6e 2e > 80| 63 6f 6d 0d 0a 41 63 63 65 70 74 3a 20 2a 2f 2a > 96| 0d 0a 50 72 61 67 6d 61 3a 20 6e 6f 2d 63 61 63 > 112| 68 65 0d 0a 55 73 65 72 2d 41 67 65 6e 74 3a 20 > +------------------------------------------------- > 0| G E T h t t p : / / w w w . c > 16| o m m i s s i o n - j u n c t i > 32| o n . c o m / H T T P / 1 . 1 > 48| . . H o s t : w w w . c o m m > 64| i s s i o n - j u n c t i o n . > 80| c o m . . A c c e p t : * / * > 96| . . P r a g m a : n o - c a c > 112| h e . . U s e r - A g e n t : > 128| M o z i l l a / 4 . 0 ( c o m > 144| p a t i b l e ; M S I E 4 . > 160| 0 1 ; W i n d o w s 9 8 ) . > 176| . . . > +------------------------------------------------- > 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 > Connection Terminated > bash# nslookup 194.87.6.201 > Server: midgaard.smsc.com > Address: 170.129.53.52 > Name: 201.6.87.194.dynamic.dol.ru > Address: 194.87.6.201 +++ Correlation to Laurie's post to GIAC Report 00/07/28, (http://www.sans.org/y2k/072800.htm): > (Laurie@.edu) > > =-=-=-=-=-=-=-=-=-=-= > > 194.87.6.201 == 201.6.87.194.dynamic.dol.ru > > RU-DEMOS-940901 > > Included this because of the Russian source address. > > Jul 26 22:26:23 hostka snort[20224]: MISC-WinGate-8080- Attempt: > 194.87.6.201:3344 -> a.b.c.32:8080 http and Wingate connection attempts from the same `dynamic.dol.ru' domain: Name: 27.6.87.194.dynamic.dol.ru Address: 194.87.6.27 Jul 27 19:30:08 foo /kernel: Connection attempt to TCP a.b.c.8:80 from 194.87.6.27:4156 Name: 147.6.87.194.dynamic.dol.ru Address: 194.87.6.147 [**] WinGate 8080 Attempt [**] 07/24-23:04:39.418351 194.87.6.147:3185 -> a.b.c.8:8080 TCP TTL:120 TOS:0x0 ID:12966 DF **S***** Seq: 0x540140 Ack: 0x0 Win: 0x2000 TCP Options => MSS: 536 NOP NOP SackOK [**] WinGate 8080 Attempt [**] 07/24-23:04:40.502718 194.87.6.147:3185 -> a.b.c.8:8080 TCP TTL:120 TOS:0x0 ID:17318 DF **S***** Seq: 0x540140 Ack: 0x0 Win: 0x2000 TCP Options => MSS: 536 NOP NOP SackOK [**] WinGate 8080 Attempt [**] 07/24-23:04:41.521379 194.87.6.147:3185 -> a.b.c.8:8080 TCP TTL:120 TOS:0x0 ID:27302 DF **S***** Seq: 0x540140 Ack: 0x0 Win: 0x2000 TCP Options => MSS: 536 NOP NOP SackOK The system trace below was found by a conseal firewall: 2000/07/27 9:15:19 PM GMT -0400: NDC 10/100 Fast E..[0001][No matching rule] Blocking outgoing TCP: src=24.114.my.ip, dst=194.87.6.27, sport=8080, dport=2418. 2000/07/27 9:15:22 PM GMT -0400: NDC 10/100 Fast E..[0001][Ref# 181] Blocking incoming connection attempt: src=194.87.6.27, local port 8080. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From canetguy at home.com Mon Jul 31 17:00:40 2000 From: canetguy at home.com (Garrett Casey) Date: Thu Aug 5 00:20:08 2004 Subject: August San Diego Perl Mongers Meeting Message-ID: <200007311500400245.1EA06563@mail> ~sdpm~ cc: comp.lang.perl.misc Well, August is just around the corner. Per our Web Page http://SanDiego.pm.org our next meeting is on August 16, 2000. It will be hosted by MusicMatch http://www.musicmatch.com Here is the tentative schedule for the meeting: Pizza, salad, and beer should be available (yummy) At around 7:00PM the meeting will begin with normal starting talk (info on next meeting, any announcements, etc). 7:30-8ish - Bill Caid will talk about MusicMatch, the Jukebox, and the system behind them. After Mr. Caid, Ted Dunning will talk for about 30-45 minutes about a new concept called Active Logging and how it can help aid in debugging systems, creating test scripts for future systems, and assist in decreasing the number of errors in programs. Our own Bobby Kleemann will follow Mr. Dunning for about 45-60 minutes. He will talk about his experiences with Perl and MusicMatch, and explain how Perl was the best solution for some problems that MusicMatch has encounterd. After Bobby talks, we will break. This will be you opportunity to talk and network with other Mongers (we have about 65+ members). Also, I just order Programming Perl, 3rd Edition, which I will be bringing to the meeting. Hopefully, several of you have picked up the book and will bring it too, so everyone else will have an opportunity to skim it. Our September meeting will focus on reviewing this current version of the "Bible." If you plan to attend the meeting, please RSVP by sending an email to canetguy@home.com or adms1@cts.com More information will be posted on http://SanDiego.pm.org when it becomes available. **** The San Diego Perl Mongers welcome all new members, at all programming levels. We meet every month. Each member is given a FREE shell account on our server and access to our FRIENDLY mailing list. Visit http://SanDiego.pm.org for more information. ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From canetguy at home.com Mon Jul 31 17:41:52 2000 From: canetguy at home.com (Garrett Casey) Date: Thu Aug 5 00:20:08 2004 Subject: Perl Mongers Driving Directions References: Message-ID: <200007311541520768.1EC620AB@mail> ~sdpm~ Driving Directions They have been posted on http://SanDiego.pm.org > >MusicMatch >16935 W. Bernardo Drive >San Diego, CA 92127 > >Take the 15 to Rancho Bernardo Rd, exit heading west. At the second >light (West Bernardo Dr), turn left. MusicMatch is the first left turn >after the Texaco. Drive up and park in the left parking lot. The meeting >will take place in the Auditorium. > >Traffic may be an issue, so carpooling is recommended (especially with >someone who has a FastTrack). > ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human. From rkleeman at neta.com Mon Jul 31 18:15:53 2000 From: rkleeman at neta.com (Bobby Kleemann) Date: Thu Aug 5 00:20:08 2004 Subject: Can anyone digitize a video? Message-ID: ~sdpm~ Can anyone digitize a video? I know someone that's interested in watching the Perl Mongers meeting in Aug, and I can videotape the presentation, but can anyone digitize the video so we could put it up for people to watch? _ _ _ Bobby Kleemann http://www.neta.com/~rkleeman/ ~sdpm~ The posting address is: san-diego-pm-list@hfb.pm.org List requests should be sent to: majordomo@hfb.pm.org If you ever want to remove yourself from this mailing list, you can send mail to with the following command in the body of your email message: unsubscribe san-diego-pm-list If you ever need to get in contact with the owner of the list, (if you have trouble unsubscribing, or have questions about the list itself) send email to . This is the general rule for most mailing lists when you need to contact a human.