[12580] in Perl-Users-Digest
Perl-Users Digest, Issue: 6180 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Jun 30 14:07:29 1999
Date: Wed, 30 Jun 99 11:02:27 -0700
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Wed, 30 Jun 1999 Volume: 8 Number: 6180
Today's topics:
CGI.pm module, subroutines, can't call method. <jasonl@rand.org>
Cross Reference Listing of Perl Script jtubaugh@my-deja.com
Re: DBI/Mysql help newbie <perlguy@technologist.com>
Re: hiring perl programmers <dgris@moiraine.dimensional.com>
Re: hiring perl programmers <tchrist@mox.perl.com>
Re: How To Do EBCDIC Transfer using PERL kkmmperl@my-deja.com
Inserting @ in a string??? <dan@multicorpora.ca>
Re: Inserting @ in a string??? <craig@mathworks.com>
Re: killing subprocess ==> reproducible core dump <jay@rgrs.com>
Re: Large Volume sites using perl? <mike@crusaders.no>
Re: Large Volume sites using perl? <tchrist@mox.perl.com>
Net Use in Perl under NT <Peter.Skyttegaard@Image.dk>
Re: Perl or PNP...which is better? <calciii@my-deja.com>
Re: Robot email/poster for this group (John Stanley)
Re: Robot email/poster for this group <jcreed@cyclone.jprc.com>
Re: Tied hash not scaling - advice? (John Cochran)
TOOLS USA '99 - Conference Program & Registration Infor <tools@tools.com>
Re: Unlinking a list of files (Tad McClellan)
Re: What is First line in Perl5 in Sun Micro... <jay@rgrs.com>
Re: win32 file access <jdsv@hotmailSpAmSuX.com>
Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 30 Jun 1999 09:38:23 -0700
From: Jason Lingel <jasonl@rand.org>
Subject: CGI.pm module, subroutines, can't call method.
Message-Id: <377A47F9.12B0D191@rand.org>
This is the error message I get:
Can't call method "header" on an undefined value at Guestbook.pm line
31.
The top of my file looks like this:
#!/usr/bin/perl
use CGI;
use CGI::Carp qw/fatalsToBrowser/;
use Guestbook;
$query = new CGI;
$title="Experimental Evil";
$head="Your powers are useless here.";
&GBheader($title, $head);
etc ...
##########
The GBheader subroutine is in my Guestbook module and it looks like
this:
sub GBheader {
my ($title, $head) = @_;
print $query->header;
print $query->start_html($title);
print $query->h1($header);
}
Any ideas? Thanks in advance.
--
Jason Lingel
Microcomputer Consultant
RAND
email: jasonl@rand.org
(310) 393-0411, ext. 7990
Please note: Chain emails will not be responded to.
------------------------------
Date: Wed, 30 Jun 1999 17:07:31 GMT
From: jtubaugh@my-deja.com
Subject: Cross Reference Listing of Perl Script
Message-Id: <7ldis9$jt1$1@nnrp1.deja.com>
I seem to remember reading somewhere that there was a utility that would
read a Perl script and create a cross-reference listing. By
"cross-reference listing" I mean something that identifies the
functions, and variables used in the script.
For very large Perl programs this kind of utility would be very useful
to help in analysis of a script and/or debugging with a printed script.
Maybe I'm showing my age a bit, but back when I used to code COBOL
programs (gee, I haven't heard "COBOL" in a long time! - am I allowed
to use that word here?), one of the compile options was to produce a
cross reference report. The report was a printout of the program with
line numbers, and would show all the variables, and sections and
paragraphs in the program with the line number they were on. Then you
could trace a variable, or a paragraph or section (which in Perl would
sorta translate - though not exactly - to a "function") throughout the
program.
While its probably a good idea to keep scripts as small as possible, the
fact is that some can get pretty large.
I realize that a utility like this would not be a trivial task to code,
but has anybody ever heard of such a utility for Perl programs?
Thanks!
Jeff
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Wed, 30 Jun 1999 11:48:34 -0500
From: Brent Michalski <perlguy@technologist.com>
Subject: Re: DBI/Mysql help newbie
Message-Id: <377A4A62.A195E80@technologist.com>
i have some information up at:
http://www.inlink.com/~perlguy/sql
it isn't perfect, but it works. there are also some links that will
help you out...
brent
Camp Camel - Geek Camping!
http://www.inlink.com/~perlguy/campcamel
Pat Traynor wrote:
>
> I've written several programs in 'C' that access the databases that I've
> created in MySQL. I'd like to start doing the same thing using Perl,
> but I can't find any basic information about this. The MySQL docs gave
> straightforward information on how the 'C' interface worked, what
> library routines were available, and the correct syntax to use them.
>
> I've searched through dejanews.com for information about this, but
> people invariably just point the requestors to CPAN. I found that many
> of the CPAN links were broken or forwarded elsewhere, and the ones that
> did work were very obtuse.
>
> All I want is a list of perl commands and correct syntax. How do I
> connect to the database? How do I perform a query? How do I extract
> the rows and fields resulting from the query? That sort of thing.
>
> Is that sort of information out there, or should I just stick with 'C'?
>
> Thanks in advance.
>
> --pat--
> --
> Pat Traynor
> pat@ssih.com
------------------------------
Date: 30 Jun 1999 10:24:04 -0600
From: Daniel Grisinger <dgris@moiraine.dimensional.com>
Subject: Re: hiring perl programmers
Message-Id: <m37lolr717.fsf@moiraine.dimensional.com>
"Philip 'Yes, that's my address' Newton" <nospam.newton@gmx.net> writes:
> charliemcelfresh@my-deja.com wrote:
> >
> > Expect to submit samples of your code
>
> What does this mean?
It appears to mean that they don't want to hire anyone without
having had a chance to evaluate their code. Seems reasonable to
me.
> Do programmers have to have a portfolio of code
> snippets, the way artists do, these days?
How could you program for any length of time and not have accumulated
a portfolio of code? Do you not write yourself miscellaneous little
tools, libraries, modules, and other support code to help you out
day to day?
For example, I have a fairly large body of code that I tote with me
from job to job. My personal perl library provides things like
dgris_open($file, $mode) that handles error checking and exception
handling (saves me from typing C<|| die "uh-oh: $!">), it provides
standard command line options that I almost always use, it provides
some nice debugging hooks for that inevitable moment when I fire
off perl -d some_prog.
I have similar libraries that I use when coding in C or Java, all of
these are suitable to show a prospective employer. And, of course,
this neglects the myriad one-off scripts, simple web toys, and other
oddities in my toolbox that I can trot out when appropriate.
dgris
- I had a boss once who insisted that the best way to judge a
prospective employee's unix skills was to look at his .zshrc
(or the appropriate equivalent), his .emacs (or .exrc), and
his .procmailrc. The theory is that you can tell someone's
unix ability by the extent to which he customizes his environment.
--
Daniel Grisinger dgris@moiraine.dimensional.com
perl -Mre=eval -e'$_=shift;;@[=split//;;$,=qq;\n;;;print
m;(.{$-}(?{$-++}));,q;;while$-<=@[;;' 'Just Another Perl Hacker'
------------------------------
Date: 30 Jun 1999 11:31:14 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: hiring perl programmers
Message-Id: <377a5462@cs.colorado.edu>
In comp.lang.perl.misc,
Daniel Grisinger <dgris@perrin.dimensional.com> writes:
:- I had a boss once who insisted that the best way to judge a
: prospective employee's unix skills was to look at his .zshrc
: (or the appropriate equivalent), his .emacs (or .exrc), and
: his .procmailrc. The theory is that you can tell someone's
: unix ability by the extent to which he customizes his environment.
Interesting perspective; since Unix is of course an "IDE", this would
reflect just much "I" the programmer has applied, and consequently,
a measure of their savvy.
Rather tangential to your point, but not to the grandparent
article, standard programming problems we made the interviewee write
extemporanously, although in any programming language they cared to use,
often included these:
1) You have an array of non-negative integers. Move all the
zero-valued elements to the front of that array.
2) You have the head node of a doubly linked list and a target value.
Delete the first node in the list whose value matches your target.
Furthermore, they were told to pay especial attention to the space and
time complexities of their algorithms. It's remarkable how many made
it through paper and phone screening, but who completely crashed and
burned horrendously on these simple programming problems. It was also
a bit sad how few came up with optimal solutions.
--tom
--
PS/2 -- Half a computer
OS/2 -- Half an operating system
PS/2: Yesterday's hardware today. OS/2: Yesterday's software tomorrow
------------------------------
Date: Wed, 30 Jun 1999 16:41:46 GMT
From: kkmmperl@my-deja.com
Subject: Re: How To Do EBCDIC Transfer using PERL
Message-Id: <7ldhc7$j73$1@nnrp1.deja.com>
In article <7k94to$45f$1@nntp1.atl.mindspring.net>,
vcuya@mindspring.com wrote:
> Kalil,
>
> you can use Convert::EBCDIC to do it. You can download it from CPAN.
>
> Good Luck
>
Thanks
Kalil
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: Wed, 30 Jun 1999 12:45:02 -0400
From: "Dan Gervais" <dan@multicorpora.ca>
Subject: Inserting @ in a string???
Message-Id: <EPre3.2859$G7.117203@weber.videotron.net>
How can I insert a @ in a string in a perl script???
if I do it as so:
# print MAIL "sales@multicorpora.ca\n\n;
The script doesn't want to run. Is there a special way of inserting a @???
Thanks,
--
Dan Gervais
Product Manager
MultiCorpora Inc
dan@multicorpora.ca
www.multicorpora.ca
Tel: 819-595-5884
Fax: 819-595-5859
------------------------------
Date: Wed, 30 Jun 1999 12:56:56 -0400
From: Craig Ciquera <craig@mathworks.com>
Subject: Re: Inserting @ in a string???
Message-Id: <377A4C58.31431E58@mathworks.com>
Dan Gervais wrote:
> How can I insert a @ in a string in a perl script???
> if I do it as so:
>
> # print MAIL "sales@multicorpora.ca\n\n;
>
print MAIL "sales\@multicorpora.ca\n\n";
Craig
------------------------------
Date: 30 Jun 1999 13:47:59 -0400
From: Jay Rogers <jay@rgrs.com>
Subject: Re: killing subprocess ==> reproducible core dump
Message-Id: <82oghxshps.fsf@shell2.shore.net>
Jamie Zawinski <jwz@jwz.org> writes:
> The attached program will make perl dump core on Irix 6.2.
> On Linux 2.0.36, it causes perl to exit with "out of memory" instead.
>
> What I am trying to do is, run a subprocess, and if it doesn't complete
> in a few seconds, kill it and move on.
>
> In this example, the part of the non-terminating sub-process will be
> played by ""perl -e '1 while 1;'" in order to make it nice and
> self-contained. (In my actual program, the sub-process in question is
> "giftopnm", which sometimes gets stuck in a loop when fed bad data.)
>
> The call to "kill" apparently does nothing.
>
> If you un-comment the call to waitpid, perl doesn't die -- but waitpid
> never returns, because the pid hasn't actually died.
>
> It dumps core the second time through the loop, as soon as it tries to
> launch the second sub-process.
>
> Any suggestions on how I can do what I'm trying to do?
Instead of alarm(), I'd use select() to time-out the child
process.
Create a pipe for reading in the parent and writing in the child.
This pipe will be used stricting for the parent to read EOF from
the child. Fork the child, do whatever dup(), close(), and
exec() that need to be done.
In the parent, select() on the read end of the pipe for your
timeout period.
--
Jay Rogers
jay@rgrs.com
------------------------------
Date: Wed, 30 Jun 1999 18:26:18 +0200
From: "Trond Michelsen" <mike@crusaders.no>
Subject: Re: Large Volume sites using perl?
Message-Id: <kAre3.319$Gx.2578@news1.online.no>
Jack Gardner <jjack100@yahoo.com> wrote in message
news:37799ffc.27650128@news.earthlink.net...
>
> I'm interested to know which LARGE volume web sites people have heard
> of/know of using perl. I work for a development company that has
> implemented CGI/database functionality using perl, asp & active X, and
> Java. The choice of language is often dependent on existing platforms
> that the client has already implemented (in an intranet scenario).
> But I have noticed that many large volume sites are using ASP (which,
> granted, technically means that they could still be using perl).
http://www.imdb.com/ uses Apache with perl and mod_perl
--
Trond Michelsen
------------------------------
Date: 30 Jun 1999 11:42:31 -0700
From: Tom Christiansen <tchrist@mox.perl.com>
Subject: Re: Large Volume sites using perl?
Message-Id: <377a5707@cs.colorado.edu>
In comp.lang.perl.misc, "Trond Michelsen" <mike@crusaders.no> writes:
:http://www.imdb.com/ uses Apache with perl and mod_perl
So does Slashdot -- same thing.
Also, I know Yahoo that uses Perl a great deal,
but I don't know in what capacities.
--tom
--
Though in my opinion, Emacs just goes a teeny bit too far when it includes a
web browser, directory editor, e-mail reader and news reader, and a version
of othello! It ain't an editor it is a bloody kitchen sink.
-- Nathan Hand, in comp.os.linux.development.apps
------------------------------
Date: Wed, 30 Jun 1999 18:11:47 +0200
From: Peter Skyttegaard Andreasen <Peter.Skyttegaard@Image.dk>
Subject: Net Use in Perl under NT
Message-Id: <377A41C3.427A1EE3@Image.dk>
I'm writing a small Perl script to collect data from a number of servers
in an NT network.
The data to be collected will be stored in a shared directory having the
same name on all servers - in this case share.
The list of servers will be stored in a seperate file servers.txt and
the perl script will go though a loop for each line (server) in this
list. Sofar no problem.
Usually I would map the drive using a System call on the NT NetBios
command:
net use k: \\server\share
However, since the server name is a variable $server, the system command
has to be in double quotes and then the back slashes are interpreted as
escapes.
Admittedly, that can be solved by adding extra back slashes, but I end
up with a line looking like this:
system ("net use k: \\\\\\\\$server\\\\share");
which is rather clumsy to put it mildly.
My question is then whether it is possible to use a file handle or
directory handle - open(something....); or opendir(somethingelse....); -
directly on the network share to avoid the clumsy use of net use.
Hope someone can help.
- Peter -
------------------------------
Date: Wed, 30 Jun 1999 16:22:05 GMT
From: girish deodhar <calciii@my-deja.com>
Subject: Re: Perl or PNP...which is better?
Message-Id: <7ldg6u$in2$1@nnrp1.deja.com>
In article <377a333d.738657192@news.mindspring.com>,
tnguru@termnetinc.com (Ben Coleman) wrote:
> On Tue, 29 Jun 1999 12:20:03 -0400, tadmc@metronet.com (Tad McClellan)
> wrote:
>
> > What is PNP?
>
> PNP is a type of transistor(anyone remember discrete components?).
Which
> makes the question on the subject line an "apple and walnut"
comparison.
>
> Ben
> --
> Ben Coleman
> Senior Systems Analyst
> TermNet Merchant Services, Inc.
> Atlanta, GA
>
i am just speculating but does PNP mean "PNP is not Perl" ?
~girish
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Date: 30 Jun 1999 17:01:11 GMT
From: stanley@skyking.OCE.ORST.EDU (John Stanley)
Subject: Re: Robot email/poster for this group
Message-Id: <7ldign$9af$1@news.NERO.NET>
In article <377af885.853997@enews.newsguy.com>,
Marcel Grunauer <marcel.grunauer@lovely.net> wrote:
>As I followed in another post about 30 seconds after the first one, I
>missed John's posting in moderated, and have already apologised for
>being too hasty.
Cancel and Supersede are your friends.
>transfer the discussion to .misc. As it was done, I believe the John's
>post didn't exactly paint the right picture.
"The John's post"? Excuse me?
I pointed people to a discussion that was taking place in another group.
If that picture was too drab for you, you are free to move on to the
next picture. This is USENET. The gallery is full of pictures for you to
browse.
>There are already some people who give helpful answers, and usually
>pretty standard-like answers, to such posts. So the bot could do that.
If this were not USENET, I would agree with you.
>If someone wanted to do something malicious, I'm sure they could have
>made Eliza into an autoresponder by now. That is not the intent.
Intent is not relevant. Doing it in the correct place is. Mother Teresa
could suggest a bot for this group and I would tell her the same thing.
>But of course, if too many people in this group are against it, the
>idea should probably be reconsidered.
No, if this is a USENET group the idea should be canned.
------------------------------
Date: 30 Jun 1999 13:45:48 -0400
From: Jason Reed <jcreed@cyclone.jprc.com>
Subject: Re: Robot email/poster for this group
Message-Id: <a1u2rpeg4z.fsf@cyclone.jprc.com>
stanley@skyking.OCE.ORST.EDU (John Stanley) writes:
> >But of course, if too many people in this group are against it, the
> >idea should probably be reconsidered.
> No, if this is a USENET group the idea should be canned.
Where is the validity of this `all bots on Usenet are inherently
a bad idea' argument coming from?
Assume, for the sake of argument, the bot is capable of perfectly
discriminating between questions and non-questions, and FAQs and
non-FAQs, etc. so that the only effect it has is to make all of the
trivial 'see perldoc perlfoo' followups instead of various humans
making them. The noise level is exactly the same (reduced if responses
are emailed, though with antispam-funged addresses that's dubiously
feasible) and less effort is wasted by human posters answering trivial
questions.
So, in this utopia of strong AI, it's a *good thing*, isn't it?
Isn't it at least *possible*, then, that effort in this direction
might save some effort answering FAQs day after day, without adding
much (if any non-negligible) noise?
Hell, if it's just one bot making all the replies instead of a group
of people (who also make other posts), it's all that much easier to
killfile it.
---Jason
------------------------------
Date: Wed, 30 Jun 1999 13:35:04 -0400
From: jdc@johnc.connectionsusa.com (John Cochran)
Subject: Re: Tied hash not scaling - advice?
Message-Id: <8gkdl7.kb3.ln@johnc.connectionsusa.com>
In article <cqhe3.2509$Ig3.95690@typhoon-sf.snfc21.pbi.net>,
Benjamin Franz <snowhare@long-lake.nihongo.org> wrote:
[snip...]
>At a guess, you are using Berkeley DB 1.x. I've provoked core dumps
>using 1.x and code similiar to the lines above - in addition to having
>it swallow the disk wholesale (and wastefully). That was just
>doing something like
>
> for (my $count=1;$count<10000;$count++) {
> my $value = ' ' x $count;
> $hash{'0'} = $value;
> }
>
>It exploded into the tens of megabytes and core dumped at slightly over
>5000 on my machine. Berkeley 1.x *DOESN'T LIKE* progressively extending
>the length of values. The same program on 2.x only ran in to a few dozen
>Kbytes of storage and ran perfectly.
>
>The best fix is to get Berkeley DB 2.x installed. Work arounds could
>include 'pre-allocating' large records or making *two* passes - one
>to determine the size of the needed records and the second to actually
>do the load with the storage being pre-allocated to the final size
>and using 'substr' to slot in each record.
>
>Another possibility is to use 'Search::InvertedIndex' from CPAN.
>Its 'preload' methods *don't* progressively grow the records and
>so shouldn't tickle the bug in Berkley DB 1.x. And it runs in NlogN
>time for loads where your approach runs in N^2 time during loads.
I've recently encountered the bug in Berkley DB 1.x and the bug is
actually tickled by *deleting* overflow records where overflow records
can be created by either having a key/data pair too large to fit in
the current record, or having a large number of keys with the same hash.
Unfortunantely, updating a record with the same key consists internally
of a delete followed by an add (look inside the function hash_access()
inside the file hash.c). This means that it's just a matter of time
whenever you deal with a large Berkley DB 1.x file for the bug to be
tickled. They only work-around I've seen for 1.x is to only write new
records and to never delete or update any existing records. Ok if
you create DB files from flat files for speed of access and always
recreate the DB file whenever the flat file is changed. Useless for more
general purposes. I strongly urge you to upgrade to Berkley DB 2.x or
GNU gdbm.
Later,
John Cochran
------------------------------
Date: Wed, 30 Jun 1999 09:48:13 -0700
From: "TOOLS Conferences" <tools@tools.com>
Subject: TOOLS USA '99 - Conference Program & Registration Information
Message-Id: <7ldhn6$nnv$1@news.rain.org>
**************************************************************
C O N F E R E N C E A N N O U N C E M E N T
TOOLS USA '99
Technology of Object-Oriented Languages and Systems
30 Int'l Conference & Exhibition
"DELIVERING QUALITY SOFTWARE - THE WAY AHEAD"
Santa Barbara, Calif., August 1-5, 1999
Fess Parker's Double Tree Resort
HELD IN COOPERATION WITH
Regional Small Business Innovation Research (SBIR)
Workshop - August 4, 1999
&
National Defense Planning And Analysis Society (DPAAS)
Annual Symposium - August 5, 1999
http://www.tools.com/usa
**************************************************************
CONFERENCE PROGRAM
~~~~~~~~~~~~~~~~~~~~
* Keynote presentations by world-class visionaries:
David Parnas, McMaster University, Canada
Bertrand Meyer, ISE, USA
Don Box, DevelopMentor, USA
Tucker Taft, AverStar, USA
* Hands-on tutorials by recognized experts:
30 tutorials, in six tracks: Quality, Languages,
Technology, Methodology, Experience, and Management
TUTORIAL PROGRAM
Systematic Techniques for Inspecting Critical Software
David L. Parnas, McMaster University, USA
The Development and Verification of Safety Critical Software
George Romanski, Aonix, USA
Managing By Contract
Bertrand Meyer, Interactive Software Engineering, USA
Verification and Validation of Object-Oriented Software Systems
Kasi Periyasamy, University of Manitoba, Canada
Mastering JFC 'Look and Feel' and UI Delegation
Mitchell Goldstein, Modis Inc., USA
Quality Component Development: Making the Most of JavaBeans and
Enterprise JavaBeans Features
Gilda Pour, San Jose State University, USA
Ada and the Objects
Benjamin Brosgol, Aonix, USA
Programming with C++ Exceptions
Angelika Langer, Germany
Behind the Beans
Michael Stal, Siemens AG, Germany
Java, Eiffel and C++: The Language Comparison
Ian Joyner, Microsoft Research Institute, Australia
Mastering the Windows Eiffel Library
Glenn Maughan, Westernport Group Pty Ltd, Australia & Raphael Simon, ISE,
USA
Distributed Objects from a Patterns Perspective
Michael Stal, Siemens AG, Germany
Building Scalable ODBMS Applications
Matt BenDaniel, Object Design, USA
Real-Time Object-Oriented Distributed Systems: RT CORBA and RMA
Antonios Broumas, Tri-Pacific Software, USA
System Design: Architectures and Archetypes
Stephen J. Mellor, Project Technology, USA
A Short Use Case Writing Workshop
Alistair Cockburn, Humans & Technology, USA
Modularization Revisited: Aspects in the Design and Evolution of Software
Systems
Cristina Videira Lopes, Xerox Research Center, USA
Advanced Visual Modelling: Beyond UML
Stuart Kent, University of Kent, UK; Joseph Gil, Technion, Israel;
and John Howse, University of Brighton, UK
Advanced OO Modelling: Metamodels and Notations for the Next Millenium
Brian Henderson-Sellers, University of Technology, Sydney, Australia
Analysis by Contract: An Introduction to Precise OO Modeling with UML and
OCL
Richard Mitchell, University of Brighton, UK
Design of Commercial Object-Oriented Applications - The Patterns
Frieder Monninger, Object Tools GmbH, Germany
Octopus/UML: An Object-Oriented Method Used in Industry
Rallis Farfarakis, Nokia Research Center, Finland
Analysis, Design and Implementation of Distributed Java Business
Frameworks using Domain Patterns
Ali Arsanjani, IBM Enterprise Java Services, USA
Requirement Patterns
Christopher Creel, Technical Resource Connection, TRC
Introduction to the OPEN Method with UML
Brian Henderson-Sellers, University of Technology, Sydney, Australia
Effective Strategies and Techniques for Rapid Object-Oriented Application
Development
Michael P. Anton, Financial Technology Solutions, USA
Software Development "in the Zone"
Todd Lauinger, Reliastar Inc., USA
Creating Social Agents with Reusable Components: A Practitioner's Guide
Dana Moore, AT&T Labs., USA
Features of UML Tools (live demo)
Tony Wasserman, Software Methods and Tools, USA
* Interactive workshops on the most innovative issues
* Lively panel discussions:
including the famous "Great Language Debate"
* 37 Technical paper presentations:
selected by the international program committee
* Eiffel Summit '99
annual Eiffel users forum
* Symposium on Teaching Object Technology (STOT)
"Using Information Technology to Teach Object Technology"
* Special pre-conference session:
"Object Technology: An Executive Overview"
* Regional Small Business Innovation Research (SBIR)
Workshop
Sponsored by Frontier Technology, Inc.
* National Defense Planning And Analysis Society (DPAAS)
Annual Symposium
Sponsored by Frontier Technology, Inc.
* Exhibition of the latest products, services, and research
only a few booths left...
* Complementary events:
user meetings, working group discussions, BOFs, etc.
* An attractive social program in the superb Santa Barbara area.
********************************************************************
FULL CONFERENCE PROGRAM & REGISTRATION INFORMATION
at http://www.tools.com/usa
(also see registration from below)
If you wish to obtain your own copy of the conference program,
please send your mailing information to tools@tools.com
TOOLSthe major international events entirely devoted
to the applications of object-oriented technology
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FOR MORE INFORMATION ON TOOLS USA '99 OR ANY OTHER
EVENTS IN THE TOOLS CONFERENCE SERIES,
VISIT OUR WEB SITE AT http://www.tools.com
OR CONTACT US AT tools@tools.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
T O O L S U S A ' 9 9
R E G I S T R A T I O N F O R M
email form to tools@tools.com
print and fax to 805-685-6869
phone us at 805-685-1006
or register online at
http://www.tools.com/usa
1. PERSONAL INFORMATION
First Name:
Last Name:
Job Title:
Company:
Address:
City:
State:
Zip:
Country:
Phone:
Fax:
Email:
2. REGISTRATION PACKAGES
|_| 1 day ($495): August __
|_| 2 consecutive days ($795): August __-__
|_| 3 consecutive days ($1045): August __-__
|_| 4 consecutive days ($1295): August 2-5
|_| SBIR ($195): Wednesday, August 4
|_| DPAAS ($195): Thursday, August 5
|_| Eiffel Summit '99 ($495): Tuesday, August 3
|_| Introduction to Object Technology : Sunday, August 1
($395 with conference registration*; $495 on its own)
|_| Symposium on Teaching Object Technology (STOT): Sunday, August 1
($300 with conference registration*; $395 on its own)
|_| Free Exhibit-only Pass (free)
*if registered for at least two TOOLS conference days
NOTE:
- Rates shown above are for regular registrations
- Academic and Group Discounts available
- Early-Bird prices shown above are valid until July 2
See details online at http://www.tools.com/usa/reg.html
I PLAN TO ATTEND:
(list TOOLS sessions by code; e.g. LANG1, METH2)
3. MEAL TICKETS AND ACTIVITIES
Full registrations include lunches, BBQ dinner, and conference dinner.
Academic Participants must purchase meal tickets separately
|_| __ Conference lunches ($20 each)
|_| __ Beach Barbecue ($30): Monday, August 2
|_| __ Conference Dinner ($60): Wednesday, August 4
|_| I am a vegetarian.
|_| __ Golf Tournament ($95)
4. PAYMENT
Registration Total $________
I wish to pay by:
|_| Check or International Money Order #___________ enclosed
|_| Inter-bank wire transfer ($15 additional charge)
|_| Credit Card: __ Visa __ Mastercard __ American Express
Credit card #:
Expiration date:
Cardholder Name:
5. HOW DID YOU FIND OUT ABOUT TOOLS?
------------------------------
Date: Wed, 30 Jun 1999 08:36:15 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: Unlinking a list of files
Message-Id: <vv2dl7.b41.ln@magna.metronet.com>
Thomas Klinger (t.klinger@mobilkom.at) wrote:
: A small problem, I think the syntax is right, but won't work:
^^^^^^^^^^^^^^^
You think incorrectly.
: unlink '$viewdir/$file' || die "Cannot unlink $viewdir/$file: $!";
See if adding this statement clears things up any:
print '$viewdir/$file';
Then review the "Quote and Quote-like Operators" section in perlop.pod
Once you get that fixed, then try to delete a non-existent file,
or one that you do not have permission to delete.
The die() will *not* execute.
Then review the precedence of the "||" and "or" operators,
also in perlop.pod.
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: 30 Jun 1999 13:01:19 -0400
From: Jay Rogers <jay@rgrs.com>
Subject: Re: What is First line in Perl5 in Sun Micro...
Message-Id: <82wvwlsjvk.fsf@shell2.shore.net>
lhorn@lucent.com (139af0000-HornL(DR9127)1w81) writes:
> Along the lines of the first line shebang question,
> Is there any way to use an environment variable on the
> first line? For example:
>
> #!$MY_PERL_PATH/perl5
>
> Or possibly some other syntax using ENV?
There's a couple of tricks you can do if you don't mind an extra
exec.
Most people doing this type of thing would set their PATH to find
"MY_PERL_PATH" first and then put this at the top of the script:
#!/usr/bin/env perl5
Or you could get really obscure and do this:
#!/bin/sh -- # -*- perl -*-
eval 'exec $MY_PERL_PATH/perl5 $0 -S ${1+"$@"}'
if $running_under_some_shell;
The comment on the first line is so emacs doesn't get faked into
thinking it's a shell script.
--
Jay Rogers
jay@rgrs.com
------------------------------
Date: Wed, 30 Jun 1999 11:17:54 -0600
From: "Jeremy" <jdsv@hotmailSpAmSuX.com>
Subject: Re: win32 file access
Message-Id: <8jse3.113$3s.14285@news.uswest.net>
Kenneth Massey <kmassey@mratings.com> wrote in message
news:377A18DF.BA1F37F0@mratings.com...
> That works great, but I need to actually replace an entry in "file.txt",
> rather than just append to it. If I call
> open(FILE, ">$filename")
> then this will delete the file before it checks to see if it has
> been locked by someone else. (I did an experiment to verify this)
>
> So my problem is that I have a list of names/emails/settings
> People login and change their settings, which I must replace in
> "list.txt".
> My plan was to
> 1) open "list.txt" and read the whole file into an array
> 2) open ">list.txt" and write the array back out, with the modified
> entry
That's the way I would do it. Get the contents read into an array, close
the file, do your manipulation(s) on the array, then re-open, write, and
close the file.
I have a few scripts that do just that under NT--WITH flock().
-Jeremy
>
> This doesn't seem appealing to me, especially if the file contains many
> entries.
> Any ideas? Thanks,
>
------------------------------
Date: 12 Dec 98 21:33:47 GMT (Last modified)
From: Perl-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Special: Digest Administrivia (Last modified: 12 Dec 98)
Message-Id: <null>
Administrivia:
Well, after 6 months, here's the answer to the quiz: what do we do about
comp.lang.perl.moderated. Answer: nothing.
]From: Russ Allbery <rra@stanford.edu>
]Date: 21 Sep 1998 19:53:43 -0700
]Subject: comp.lang.perl.moderated available via e-mail
]
]It is possible to subscribe to comp.lang.perl.moderated as a mailing list.
]To do so, send mail to majordomo@eyrie.org with "subscribe clpm" in the
]body. Majordomo will then send you instructions on how to confirm your
]subscription. This is provided as a general service for those people who
]cannot receive the newsgroup for whatever reason or who just prefer to
]receive messages via e-mail.
The Perl-Users Digest is a retransmission of the USENET newsgroup
comp.lang.perl.misc. For subscription or unsubscription requests, send
the single line:
subscribe perl-users
or:
unsubscribe perl-users
to almanac@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.misc (and this Digest), send your
article to perl-users@ruby.oce.orst.edu.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
To request back copies (available for a week or so), send your request
to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
where x is the volume number and y is the issue number.
The Meta-FAQ, an article containing information about the FAQ, is
available by requesting "send perl-users meta-faq". The real FAQ, as it
appeared last in the newsgroup, can be retrieved with the request "send
perl-users FAQ". Due to their sizes, neither the Meta-FAQ nor the FAQ
are included in the digest.
The "mini-FAQ", which is an updated version of the Meta-FAQ, is
available by requesting "send perl-users mini-faq". It appears twice
weekly in the group, but is not distributed in the digest.
For other requests pertaining to the digest, send mail to
perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
sending perl questions to the -request address, I don't have time to
answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V8 Issue 6180
**************************************