[11189] in Perl-Users-Digest
Perl-Users Digest, Issue: 4789 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Jan 31 05:07:42 1999
Date: Sun, 31 Jan 99 02:00:17 -0800
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Sun, 31 Jan 1999 Volume: 8 Number: 4789
Today's topics:
Re: advertising script problem <elst.fels@nospam.ping.be>
Re: Comments in Perl code <mwebster@inetarena.com>
Re: Compiling DBD::Oracle <renfro@i-55.com>
Re: How does 'mail' program works logan_shaw@yahoo.com
How to do query in a list? <pep_mico@hp.com>
Re: how to pass scalars AND variables to a sub? (Tad McClellan)
Is it possible to source a .cshrc file from a perl scri <sjang@qualcomm.com>
New site for free CGI sites. webmaster@freelinks4u.com
Re: Newbie question <gasmiley@nospam.mediaone.net>
Re: Newbie question (Ronald J Kimball)
Re: ok please don't shoot me for this question <myparu@_usa_.net>
Re: Perl Crashes IIS4! <Richard.Walker@west-server.com>
Re: Perl Criticism [summary] topmind@technologist.com
Re: Perl Criticism [summary] <mds-resource@mediaone.net>
Re: Perl Criticism topmind@technologist.com
Re: Sending email (Ronald J Kimball)
Re: SQL setup <renfro@i-55.com>
Re: Text Busy Error? <greg@hassan.com>
Re: Visual Perl? <tszeto@mindspring.com>
Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 31 Jan 1999 10:27:51 +0100
From: "myname@mydomain.com" <elst.fels@nospam.ping.be>
Subject: Re: advertising script problem
Message-Id: <7917j1$9hk$1@news3.Belgium.EU.net>
I was thinking about this problem and I just posted a thought to this issue.
Maybe it can help other people with the same problem as well.
If you use the script with 10 images for instance and you need an image to
appear 20% of all images you can use the same images twice in the
randomizer. An other image needs to appear 10% and you only use one image.
Is this line of thinking correct, or ... ?
Thank you,
Peter
Abraham Grief heeft geschreven in bericht ...
>
>On Sat, 30 Jan 1999, myname@mydomain.com wrote:
>
>> Can anyone give me an idea how to make a script that:
>>
>> - displays one bannerimage for instance 50% of the time
>> and other banners at an other percentage of time.
>> - it is not the idea to show the same banner time and time over till the
50%
>> is done
>> it must come between the other banners otherwise the advertising is not
>> balanced over time.
>>
>> Anyone got a way to handle such a script ?
>>
>> Thank you,
>>
>> Peter
>
>This script splits time equally between two images. Look up anything you
>don't understand in the manual.
>
>#!/usr/bin/perl -w
>use strict;
>srand;
>my $img = rand(2) < 1 ? 'img1.gif' : 'img2.gif';
>print "<img src=\"$img\">\n";
>
------------------------------
Date: Sat, 30 Jan 1999 22:07:43 -0800
From: "mwebster@inetarena.com" <mwebster@inetarena.com>
Subject: Re: Comments in Perl code
Message-Id: <36B3F32F.E42C864@yahoo.com>
never seen anything anywhere (meaning, nothing in the Perl Journal, three
different O'Reilly publications, or on any of the newgroups) about this.
Since your system's only reading the first character of the line, I don't
see how it could seriously affect system processing performance. If
nobody's bitched about it yet, must not matter a whole lot....
k_oslord@yahoo.com
BloodStone wrote:
> Do comments in codes slow down there processing? And if so, how much?
> Thanks.
>
> BloodStone
------------------------------
Date: Sun, 31 Jan 1999 00:26:46 -0600
From: "Tom Renfro" <renfro@i-55.com>
Subject: Re: Compiling DBD::Oracle
Message-Id: <790soj$n7n$1@nntp.gulfsouth.verio.net>
Rolf Howarth wrote in message <36B04C51.95DE30AE@parallax.co.uk>...
>Can anyone tell me where can I get hold of the minimal set of Oracle
>client software necessary to get DBD::Oracle to compile under Linux?
I was lazy and went to oracle's site, downloaded Oracle8 for Linux (140MB)
and installed what I needed throught the installer. I had to manually copy
some
header and library files to my oracle_home however.
------------------------------
Date: Sun, 31 Jan 1999 08:28:13 GMT
From: logan_shaw@yahoo.com
Subject: Re: How does 'mail' program works
Message-Id: <79146p$c4t$1@nnrp1.dejanews.com>
In article <Pine.GSO.4.02.9901301453470.9479-100000@nunki.usc.edu>,
Nishant Shah <nishants@usc.edu> wrote:
> i am writing a perl program which uses pipe to send mail to many persons.
> Now i am able to send the mails but without subject.
> Is there any 'command line' option with mail program which allows me to
> write the subject field. Or is there any option in Perl to do so.
Probably the most portable way among most Unix systems is to send the
message directly with sendmail. You'd just create an RFC-822 compliant
message, and then send it straight to sendmail.
Example:
sub sendamessage
{
local ($from, $to, $subject, $body) = @_;
if (!open (SENDMAIL, "| /usr/lib/sendmail -t"))
{
warn "Can't open pipe to sendmail because $!\n";
return 1;
}
print SENDMAIL "From: ", $from, "\n";
print SENDMAIL "To: ", $to, "\n";
print SENDMAIL "Subject: ", $subject, "\n";
print SENDMAIL "\n";
print SENDMAIL $body;
print SENDMAIL ".\n";
if (!close (SENDMAIL))
{
warn "sendmail failed because $!\n";
return 2;
}
}
&sendamessage ("my@email.address",
"user@who.wants.an.email",
"this is the email you wanted!",
"Here is some text.\nAren't you thrilled?\n");
This code isn't perfect because (1) it's completely untested (should work,
though) and (2) it can produce messages that don't conform to RFC-822
because it doesn't wrap header lines if they are too long.
Note: the above code was written by me, and I grant everyone permission
to use, copy, and modify it with the exception that permission is not
granted to use it in any part of the process of distributing bulk email.
Also, Microsoft or any employee of Microsoft is explicitly forbidden from
using any or all of the code.
- Logan
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Sun, 31 Jan 1999 09:40:43 +0100
From: Pep Mico <pep_mico@hp.com>
Subject: How to do query in a list?
Message-Id: <36B4170B.11567309@hp.com>
Hello,
I'd like to know what is the best way to ask if some string is included
in a list. This is the case.
I have a list of 100 computers in a text file, and I want to check if
the existence of a computer name on this list.
Actually I've loaded this list into an "array" and I'm looking each
field of this array to check for the existence of one computer.
I want to find a better and efficient way to do this step.
Regards
pep_mico@hp.com
------------------------------
Date: Sun, 31 Jan 1999 01:32:33 -0600
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: how to pass scalars AND variables to a sub?
Message-Id: <hu0197.tf4.ln@magna.metronet.com>
Thomas Ruedas (ruedas@geophysik.uni-frankfurt.de) wrote:
: split ' ', $_; resp. @dummy=split (' ',$_);
: which seems to be the same. I didn't even know this kind of split
: exists, but now it works.
How could you not know?
Certainly you read the description of a function before you
use the function.
From perlfunc.pod description of split():
"As a special case, specifying a PATTERN of space (C<' '>)
will split on white space just as C<split()> with no
arguments does. "
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Sun, 31 Jan 1999 00:01:44 -0800
From: Soo Jang <sjang@qualcomm.com>
Subject: Is it possible to source a .cshrc file from a perl script?
Message-Id: <36B40DE8.816B1457@qualcomm.com>
Hi,
I'm trying to source a .cshrc file which sets environment variable
by setenv c-shell command from a perl script.
How can I perform this?
Thanks,
Soo
------------------------------
Date: Sun, 31 Jan 1999 05:53:19 GMT
From: webmaster@freelinks4u.com
Subject: New site for free CGI sites.
Message-Id: <790r4c$4he$1@nnrp1.dejanews.com>
Checkout the new site http://www.freelinks4u.com.
We have compiled a list of sites that offer free CGI and other free software.
webmaster@freelinks4u.com
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Sun, 31 Jan 1999 01:14:17 -0500
From: Gary Smiley <gasmiley@nospam.mediaone.net>
Subject: Re: Newbie question
Message-Id: <36B3F4B8.822C3D03@nospam.mediaone.net>
Thanks, but I don't think that's it. I stored my filename in a literal as
$myfile = "\\\\computername\\shareddrivename\\directoryname\\filename".
I found out the hard way that the backslash is an escape character so you
need two of them for each backslash in your string.
When it died I displayed the file name, which then appeared as:
"\\computername\shareddrivename\directoryname\filename".
The error was "invalid argument".
I still don't know the answer.
Abraham Grief wrote:
> On Sat, 30 Jan 1999, Gary Smiley wrote:
>
> > to a shared network drive, the file name has to be in the form
> > \\computername\shareddrivename\directoryname\filename but this doesn't
>
> Make sure that you're not interpreting your backslashes, i.e., use
> '\\computername\shareddrivename\directoryname\filename' as opposed to
> "\\computername\shareddrivename\directoryname\filename". Unless you have
> variables there... in that case, you'll want something like
> "\\\\$computername\\$shareddrivename\\$directoryname\\$filename".
>
> HTH
--
To reply, please remove the anti-spam portion of the return address.
------------------------------
Date: Sun, 31 Jan 1999 01:31:04 -0500
From: rjk@linguist.dartmouth.edu (Ronald J Kimball)
Subject: Re: Newbie question
Message-Id: <1dmh21a.1f4uwqe1a9u740N@bay1-196.quincy.ziplink.net>
Abraham Grief <abey@hill.ucr.edu> wrote:
> On Sat, 30 Jan 1999, Gary Smiley wrote:
>
> > to a shared network drive, the file name has to be in the form
> > \\computername\shareddrivename\directoryname\filename but this doesn't
>
> Make sure that you're not interpreting your backslashes, i.e., use
> '\\computername\shareddrivename\directoryname\filename' as opposed to
> "\\computername\shareddrivename\directoryname\filename".
Or you could use '\computername\shareddrivename\directoryname\filename',
which won't work either.
Within single-quotes, \\ and \' are valid escape sequences. Otherwise,
you wouldn't be able to create strings like '\'' and '\\'.
I would therefore suggest using
'\\\\computername\shareddrivename\directoryname\filename'
or
'\\\\computername\\shareddrivename\\directoryname\\filename'
--
_ / ' _ / - aka - rjk@linguist.dartmouth.edu
( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: Sun, 31 Jan 1999 13:31:28 +0530
From: Murali Ravipudi <myparu@_usa_.net>
To: Ronald J Kimball <rjk@linguist.dartmouth.edu>
Subject: Re: ok please don't shoot me for this question
Message-Id: <36B40DD8.6B94E132@_usa_.net>
How about putting up all the scripts made by people in clpm at some site
( if the owner is willing to share it ) , so that we can direct newbies
there, where we know everything is mostly perfect and all that...
:)
-murali
** remove _ from address to mail
Ronald J Kimball wrote:
>
--snip--
>
> Yes, judging from the number of people who come to clpm asking for help
> with actually getting Matt's scripts to work, Matt's Script Archive is
> depressingly popular. Specifically, they are outdated, buggy, and
> unsupported, and they don't do such things as error checking or file
> locking.
--snip--
------------------------------
Date: Sun, 31 Jan 1999 02:57:48 -0500
From: Richard Walker <Richard.Walker@west-server.com>
Subject: Re: Perl Crashes IIS4!
Message-Id: <36B40CFC.8A1F5F45@west-server.com>
Abigail wrote:
>
> Richard Walker (Richard.Walker@west-server.com) wrote on MCMLXXVIII
> September MCMXCIII in <URL:news:36B39BAF.60761156@west-server.com>:
> **
> ** Every time I run a PerlScript in ASP that uses IO::Sockets, it executes,
> ** then promptly shuts my IIS4 server down.
>
> Sounds like a bug in IIS to me.
Well, I seriously doubt that it is a _bug_, since IIS4 predates build
509 of ActivePerl. At the same time I doubt that my build of perl has a
bug.
What I think is that there is a simple configuration issue which is
undocumented. This is usually the case with third party elements and
IIS. That is why I sent the information in the event log -- I was
hoping that someone had seen this before and figured out the
configuration that makes it go away.
I'm sure that if I told M$ that this was a bug, they'd come back with
"no, it is by design...do x, y, and z, and it will go away". Problem
is, they'd charge me a couple hundred dollars at least to tell me that.
If it is a bug at all, it is not in IIS, it is in MTS (since that is the
source of the generated event I posted).
>
> Abigail
> --
> perl -wleprint -eqq-@{[ -eqw\\\\- -eJust -eanother -ePerl -eHacker -e\\\\-]}-
--
What is time? If no one asks me, I know; if I wish
to explain to one who asks, I do not know.
-- St. Augustine
------------------------------
Date: Sun, 31 Jan 1999 06:29:45 GMT
From: topmind@technologist.com
Subject: Re: Perl Criticism [summary]
Message-Id: <790t8i$5vk$1@nnrp1.dejanews.com>
In article <36B2780D.7D298414@mediaone.net>,
"Michael D. Schleif" <mds-resource@mediaone.net> wrote:
>
> topmind@technologist.com wrote:
> >
> > So spelling and grammar are related to one's programming experiece.
>
> For once, I agree with topmind !!!
That was an indirect question, not a claim.
>
> > (P.S. When I am done fixing programming languages, I am going
> > to replace english with a TRUE FONETIC system, so we are not
> > stuck with illogical rules given to us by bad history.
> > You probably cannot even recognize Englishes' illogical
> > rules because you seem to lack the ability to stand back from
> > what you are used to.)
>
> How many Englishes would possess illogical rules? Again, and again, sir
> topmind insists on changing things for which he himself has no command.
>
> What is this argument: I must change things that I do not understand so
> that I need not take time to master them?
So you propose living with archaic, silly, illogical, inconsistant systems to
benefit those who have the ability to master illogical cryptology?
I sentence you to read and write ONLY in Chinese characters!
>
> > Ran out of insults, eh? Resorting to attacking grammar instead
> > of merit and concepts that are related to the topic.
>
> As you so eloquently pointed out above, and I quote, ``spelling and
> grammar are related to one's programming experiece.''
>
> Kindly mean what you say }:-^
>
> > > nothing to say in any other thread. maybe he could actually post some
> > > code or comments in a reply to a real perl question. then we can see the
> > > true genius of his unobsfucated code.
> >
> > To test my Perl knowledge, or to see why Perl is flawed?
>
> Either will satisfy my jaded curiosity ;)
>
> Can you write functional Perl code? Actually, I'd be of a kinder,
> gentler mind if I saw *any code* from topmind in *any language* that did
> *anything* more complex than `hello, world.'
>
> Shall we hold our breaths?
I will only email it to those who show more interest in
technical concepts than personal insults.
>
> --
>
> Best Regards,
>
> mds
> mds resource
> 888.250.3987
>
> "Dare to fix things before they break . . . "
>
> "Our capacity for understanding is inversely proportional to how much we
> think we know. The more I know, the more I know I don't know . . . "
>
-tmind-
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Sun, 31 Jan 1999 01:46:09 -0600
From: "Michael D. Schleif" <mds-resource@mediaone.net>
Subject: Re: Perl Criticism [summary]
Message-Id: <36B40A41.B3A8CA99@mediaone.net>
topmind@technologist.com wrote:
>
> In article <36B2780D.7D298414@mediaone.net>,
> "Michael D. Schleif" <mds-resource@mediaone.net> wrote:
> >
> > topmind@technologist.com wrote:
> > >
> > > So spelling and grammar are related to one's programming experiece.
> >
> > For once, I agree with topmind !!!
>
> That was an indirect question, not a claim.
And, questions end with _which_ punctuation?
> > > (P.S. When I am done fixing programming languages, I am going
> > > to replace english with a TRUE FONETIC system, so we are not
> > > stuck with illogical rules given to us by bad history.
> > > You probably cannot even recognize Englishes' illogical
> > > rules because you seem to lack the ability to stand back from
> > > what you are used to.)
> >
> > How many Englishes would possess illogical rules? Again, and again, sir
> > topmind insists on changing things for which he himself has no command.
> >
> > What is this argument: I must change things that I do not understand so
> > that I need not take time to master them?
>
> So you propose living with archaic, silly, illogical, inconsistant systems to
> benefit those who have the ability to master illogical cryptology?
>
> I sentence you to read and write ONLY in Chinese characters!
And this is your `technical' argument?
Sorry, but I've already stated that English is my language, which you've
also insulted; but, I'll stay with it anyway. It suits me.
In fact, as you may know, the bard William Shakespeare used English to
great advantage. As well as linguists such as Chomsky and another of
whom you may have heard, Larry Wall.
Of course, they all took pride in their spelling, grammar and syntax.
Could this be _why_ none of them are rushing to transmogrify Perl }:-^
Perhaps, you would trivialize Sanskrit and Hebrew, too, for their great
learning curves? It seems that that attitude would dismiss some of the
world's most important philosophy -- unless, of course, Big Brother
topmind, is about to impart profound wisdom to us, his eager acolytes,
after which we will no longer need the words of Jesus nor Buddha ???
> > > Ran out of insults, eh? Resorting to attacking grammar instead
> > > of merit and concepts that are related to the topic.
> >
> > As you so eloquently pointed out above, and I quote, ``spelling and
> > grammar are related to one's programming experiece.''
> >
> > Kindly mean what you say }:-^
Based on this, your most recent retort, I suggest that you read what you
write prior to publishing it ;)
> > > > nothing to say in any other thread. maybe he could actually post some
> > > > code or comments in a reply to a real perl question. then we can see the
> > > > true genius of his unobsfucated code.
> > >
> > > To test my Perl knowledge, or to see why Perl is flawed?
> >
> > Either will satisfy my jaded curiosity ;)
> >
> > Can you write functional Perl code? Actually, I'd be of a kinder,
> > gentler mind if I saw *any code* from topmind in *any language* that did
> > *anything* more complex than `hello, world.'
> >
> > Shall we hold our breaths?
>
> I will only email it to those who show more interest in
> technical concepts than personal insults.
OK, Perlers, these are his criteria. I admit that I've been in this
more for fun than else.
However, is there among the rest of this guffawing audience somebody
whose context in this thread is a bit more technically minded? I
believe that it is your turn to dance :->
--
Best Regards,
mds
mds resource
888.250.3987
"Dare to fix things before they break . . . "
"Our capacity for understanding is inversely proportional to how much we
think we know. The more I know, the more I know I don't know . . . "
------------------------------
Date: Sun, 31 Jan 1999 06:47:56 GMT
From: topmind@technologist.com
Subject: Re: Perl Criticism
Message-Id: <790uar$6r2$1@nnrp1.dejanews.com>
In article <36b2b938.1076639@news.skynet.be>,
bart.lateur@skynet.be (Bart Lateur) wrote:
> topmind@technologist.com wrote:
>
> >Yes, they confused me, and I am NOT A DUMB PERSON!
> >
> >If they confuse me, I guarentee they will confuse a good many
> >programmers, perhaps a majority.
>
> Well, *I*(can't make head nor tail of Prolog. I tried, yes, and how I
> tried! And *I* am not a dumb person. Does that mean that Prolog is junk?
> No. It just isn't for me, and probably idem dito for thousands of other
> programmers as well.
>
> But I won't ever say that the theories behind it are stupid, or that
> Prolog is stupid or dangerous, just because I can't grasp them. Prolog
> has it's place, and nothing else can give a better alternative in what
> it was designed for. Thermodynamics isn't stupid or useless either, even
> though I failed to grasp it's concepts, too.
I was talking about pointers/referants, not Perl in general.
>
> [ About references ]
> >> > I do not see much use in them anyhow except
> >> > to *compensate* for Perl's shortcommings, such as "leaky" parameter
> >> > passing and only 1 dimensional arrays (or lack
> >> > of table-orientedness). (I love that word "leaky"!)
>
> I can't make head or tails of it. "Leaky"? There's no leak.
>
You can accidently have values run into others unintentially.
> Sure, Perl's one-dimensionality can be annoying. But it is a simple
> concept. And it has beautiful side effects, such as being able to
> combine different items or arrays into one larger array, just like that.
>
> @d = ( @a, 'b', @c);
>
> See that? I just combined all the elements of the array @a and the array
> @c, with the element 'b' between them, into a new array. Try *that* in a
> language that supports multiple dimensions.
If it is an often-needed operation, then why not include
a "combine_array()" function? However, us table-lovers
simply use "append from" or "update from" operations.
>
> The one slightly annoying thing is, is the lack of support for matrices.
> As a consequence, I won't do much matrix multiplications in Perl.
>
> On the other hand, you can easily build tree structures in Perl, thanks
> to references. You can't do that in VB, for example. Or in tables. I
> like trees better than tables.
Tables are just fine for building trees. However, I
respect your "Tree-Oriented" thinking. Paradigms are kind
of personal. Those OOP nuts think they are absolute.
Also, I personally think tables are more general-purpose
then trees, but I'm sure you have as many "tree-tricks" up
you sleeve as I have "table-tricks".
>
> Who needs tables anyway; I don't NEED to associate more than value with
> a key. When that happens, it's usually an error. So I check for it
> first, and if I see it already had a value, I give a warning. So I get a
> nice list of exceptions as a side effect. Try doing that in Access, or
> in SQL. It will gladly combine every duplicate key with every duplicate
> association. 2 by 2 means 4 results, *and* an unupdatable query. Just
> like that. No warning where the duplicates are.
>
> >Look at the Perl gunk people use for signitures. You are telling
> >me you can look at that and easily tell what are variables, routines,
> >parameters, what is being passed to each, etc?
>
> Sure you can. That's what the $ @ & () {} [] are for. Most people find
> those annoying, but they DO tell you what is what.
Perhaps they are needed to compensate for the
funkativity of Perl.
>
> Bart.
>
Perhaps it *is* all a personal choice.
(However, I think table-orient. is underpromoted compared to other paradigms.)
-tmind-
http://www.geocities.com/SiliconValley/Lab/6888/
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Sun, 31 Jan 1999 01:31:08 -0500
From: rjk@linguist.dartmouth.edu (Ronald J Kimball)
Subject: Re: Sending email
Message-Id: <1dmh2qh.1s9rygg15gf8wkN@bay1-196.quincy.ziplink.net>
<info@gadnet.com> wrote:
> >> print "<HTML><HEAD><TITLE>$title - @_[0]</TITLE></HEAD>\n";
> >
> >Why are you using an array slice?
>
> Is there a reason why I shouldn't? I'm just trying to display the
> value that was passed to the subroutine. If there is a more
> conventional way of doing it I'ld be glad to hear.
You generally should not use an array slice to access a single element.
You should just get that element; $_[0]. Array slices are for when you
want to a list of several elements all at once.
By the way, in an earlier message you wrote:
> Then the script is supposed to send some HTML to the browser but it
> returns the same server error message instead.
But you never told us what the error message is......
--
_ / ' _ / - aka - rjk@linguist.dartmouth.edu
( /)//)//)(//)/( Ronald J Kimball chipmunk@m-net.arbornet.org
/ http://www.ziplink.net/~rjk/
"It's funny 'cause it's true ... and vice versa."
------------------------------
Date: Sun, 31 Jan 1999 00:23:09 -0600
From: "Tom Renfro" <renfro@i-55.com>
Subject: Re: SQL setup
Message-Id: <790shq$n4t$1@nntp.gulfsouth.verio.net>
>If the DBI and DBD modules are loaded in my path for a particular
>database (like mSQL or MySQL) do you need to have the database programs
>compiled on your server?
>
You usually have to have at least a client setup (client/server) on the
machine running the perl system if the database is remote (not physically
on the same server). If the database is local, you just have to know
where it is so the DBD compile can load the necessary files it needs.
>I can't compile nuthin on my clients' servers (vast majority of the
>time) (don't have permission to execute Make and I still haven't found
>the man page for Utils::MakeMaker) and can't really mess around with it
>(obviously, since I can't compile...).
DBI and DBD both require you to run a perl script to generate a c/c++
makefile
which you then run to generate the runtime versions. If you can't use make,
you
may be stuck...
>
>Can I just get the DBI and DBD in the path and then use Perl to create
>the database without the database server running?
>
If you can compile the DBI and DBD to binaries on a similar platform and
copy them over it may work, but I've never tried it. I believe there is a
DBD
for text file databases that may work...
------------------------------
Date: Sun, 31 Jan 1999 00:55:11 -0500
From: "Greg Hassan" <greg@hassan.com>
Subject: Re: Text Busy Error?
Message-Id: <36b3f3ed$0$16672@nntp1.ba.best.com>
Generally means something else is manipulating the file.
If that is not the case, you can try to just copy it to
another file name and try to run it. If this works then
you can delete the actual file and rename the copy you
made.
I've had this problem sometimes when my ftp connection
fails right before the transfer is completed. The whole file
is there but it didn't complete or maybe just the bad
ftp dameon is still connected to the file somehow.
-Greg
--
===============================================================
Greg Hassan, The Independent Solution (CGI,Java,SQL,Perl...)
http://www.hassan.com/, 1-607-225-4214, ICQ #: 8048297, E-Mail Preferred
===============================================================
Become an auction site, like Ebay.com:
http://www.hassan.com/super_auction/ (New demo)
Host your own specialized internet search engine:
http://www.hassan.com/site_searcher/
Host many threaded, searchable discussion groups on your site:
http://www.hassan.com/superbbs/
===============================================================
<mobystarbuck@hotmail.com> wrote in message
78likk$l9v$1@nnrp1.dejanews.com...
>Hi guys,
>
>I get a 'text busy' error when I try to run my perl script... what on earth
>does that mean? Thanks in advance.
>
>-- Moby
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Sun, 31 Jan 1999 01:31:47 -0000
From: "Ted" <tszeto@mindspring.com>
Subject: Re: Visual Perl?
Message-Id: <791812$7gt$1@samsara0.mindspring.com>
Just found this site with a free WinPerl IDE. It's very good.
http://homepage.dave-world.net/~pete/index.html
The programmer used to work at ActiveState.
Dieter M|cke wrote in message <36B17B8D.6DBE54B9@wueba.de>...
>Hi Gil,
>Perl has many graphical frontends.
>Under Win32 there is a lot of non-free IDE's.
>Or use (X)Emacs on Win32 or Unix as IDE, DDD or ptkdb as debugger.
>For Application use Perl/Tk, Perl/Qt or Perl/X.
>
>Regards
>--
>Dieter M|cke e-mail: Dieter.Muecke@wueba.de
> www: http://www.wueba.de
>,,,^..^,,,
------------------------------
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 4789
**************************************