Ask a Question related to PERL Miscellaneous, Design and Development.
-
Dave #1
Perl DBMS
Hi,
I have a ikonboard messageboard ( which is written in perl), and I have all
the databases saved locally.
However they are in a *.db, *.dnt.db format, and i cannot access them via
the standard dbmopen(%hash, $database, 0666).
It simply creates a new file instead of accessing the current one.
I had a suspicion that the version of dbm on the server ( ie the one that
created the databases at the start) is a diffenent on to the one on my
windows machine.
So i copied the perl script to the server and tried to run it there - still
unsuccessfully.
Could not open message_data-115-1055789109 (Invalid argument) at read.pl
line 36.
( I removed the .db from the filename ).
Does anyone know what the problem is. I can post a sample database if
required.
Thanks
Dave Guest
-
Off Topic: Active Perl Native Windows / cygwin perl
I have both activestate windows native perl installed and the default cygwin perl. How can I have the cygwin shell use the windows perl rather... -
Control a non-perl image viewer from perl script
Below is a (non-finished) script that trys to run a linux viewer called eog (eye of gnome) in a script that will eventually allow me to power thru... -
Which DBMS?
Hi I have been asked to implement an error logging/management database for the network technicians in our company. The idea is that staff using... -
Re : Installing CPAN Perl Modules with Activestate Perl 5. v5.8
Hi, In the process of trying to get perl modules installed, I downloaded over 300 Activestate specific perl modules and they work fine (of the ones... -
DBMS job for last day of the month
I am trying to submit a dbms job to run on the last day of every month starting at 31 Dec at 18:30 using the following code: set serveroutput on... -
James Willmore #2
Re: Perl DBMS
On Thu, 11 Sep 2003 22:22:33 +0100
"Dave" <dave334234@inter.com> wrote:
<snip>No, but code would be helpful :)> Does anyone know what the problem is. I can post a sample database
> if required.
--
Jim
Copyright notice: all code written by the author in this post is
released under the GPL. [url]http://www.gnu.org/licenses/gpl.txt[/url]
for more information.
a fortune quote ...
[Sir Stafford Cripps] has all the virtues I dislike and none of
the vices I admire. -- Winston Churchill
James Willmore Guest
-
Gunnar Hjalmarsson #3
Re: Perl DBMS
Dave wrote:
Are you sure they are DBM files? Or can they be plain text files that> I have a ikonboard messageboard ( which is written in perl), and I
> have all the databases saved locally.
>
> However they are in a *.db, *.dnt.db format, and i cannot access
> them via the standard dbmopen(%hash, $database, 0666).
>
> It simply creates a new file instead of accessing the current one.
>
> I had a suspicion that the version of dbm on the server ( ie the
> one that created the databases at the start) is a diffenent on to
> the one on my windows machine.
happen to have .db file extentions? (Have you tried to open one of
them with e.g. Notepad?)
If that doesn't help, you'd better do as James suggested and post some
code, such as a code fragment that creates or read the databases.
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
Dave #4
Re: Perl DBMS
a R ?_?y
эh^
` `
1|^|1063198343|^|0|^|Hi|^|Hey there! Hows
U?<br><br>Sarah|^|0|^|83-1054642790|^|Sarah
B|^||^||^|in|^|67-1054343639|^|67-1054343639|^|Chumiest crazy1
Here is one of the databases ( this is just copied and pasted after the file
was opened in notepad.
Thanks
"Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
news:bjrs0u$n0sbu$1@ID-184292.news.uni-berlin.de...> Dave wrote:>> > I have a ikonboard messageboard ( which is written in perl), and I
> > have all the databases saved locally.
> >
> > However they are in a *.db, *.dnt.db format, and i cannot access
> > them via the standard dbmopen(%hash, $database, 0666).
> >
> > It simply creates a new file instead of accessing the current one.
> >
> > I had a suspicion that the version of dbm on the server ( ie the
> > one that created the databases at the start) is a diffenent on to
> > the one on my windows machine.
> Are you sure they are DBM files? Or can they be plain text files that
> happen to have .db file extentions? (Have you tried to open one of
> them with e.g. Notepad?)
>
> If that doesn't help, you'd better do as James suggested and post some
> code, such as a code fragment that creates or read the databases.
>
> --
> Gunnar Hjalmarsson
> Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
>
Dave Guest
-
Gunnar Hjalmarsson #5
Re: Perl DBMS
Please do not top post! [url]http://web.presby.edu/~nnqadmin/nnq/nquote.html[/url]
Dave wrote:<funny characters snipped>> Gunnar Hjalmarsson wrote:>> Dave wrote:>>>>> I have a ikonboard messageboard ( which is written in perl),
>>> and I have all the databases saved locally.
>>>
>>> However they are in a *.db, *.dnt.db format, and i cannot
>>> access them via the standard dbmopen(%hash, $database, 0666).
>>>
>>> It simply creates a new file instead of accessing the current
>>> one.
>>>
>>> I had a suspicion that the version of dbm on the server ( ie
>>> the one that created the databases at the start) is a diffenent
>>> on to the one on my windows machine.
>> Are you sure they are DBM files? Or can they be plain text files
>> that happen to have .db file extentions? (Have you tried to open
>> one of them with e.g. Notepad?)
>>
>> If that doesn't help, you'd better do as James suggested and post
>> some code, such as a code fragment that creates or read the
>> databases.
So, then we know that they are not text files.> Here is one of the databases ( this is just copied and pasted after
> the file was opened in notepad.
Where is your code?
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
ge0rge #6
Re: Perl DBMS
"Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
news:bjsue0$n7l0a$1@ID-184292.news.uni-berlin.de...which says '... they also agree that it's usually in bad taste to correct> Please do not top post! [url]http://web.presby.edu/~nnqadmin/nnq/nquote.html[/url]
mistakes publicly'
MS is the principal culprit IMO, not the newbees.
ge0rge
--
Expert, n.:
Someone who comes from out of town and shows slides.
ge0rge Guest
-
Gunnar Hjalmarsson #7
Re: Perl DBMS
ge0rge wrote:
That was a quote out of context, which btw is bad everywhere.> "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> news:bjsue0$n7l0a$1@ID-184292.news.uni-berlin.de...
>>>> Please do not top post!
>> [url]http://web.presby.edu/~nnqadmin/nnq/nquote.html[/url]
> which says '... they also agree that it's usually in bad taste to
> correct mistakes publicly'
Actually, the quoting style document describes various kind of
newsgroups, and to anybody who has followed _this_ group for a while,
it stands perfectly clear that you'd better expect public corrections
if you don't respect the posting guidelines.
May be true. But pointing out to a newbie that there are posting> MS is the principal culprit IMO, not the newbees.
guidelines is a way to help them benefit from this group. It does
_not_ make him/her a "culprit".
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
ge0rge #8
Re: Perl DBMS
"Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
news:bjtbju$n7jti$1@ID-184292.news.uni-berlin.de...Out of context? Perfectly clear to me. Here's another quote then - 'This> ge0rge wrote:>> > "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> > news:bjsue0$n7l0a$1@ID-184292.news.uni-berlin.de...
> >> >> >> Please do not top post!
> >> [url]http://web.presby.edu/~nnqadmin/nnq/nquote.html[/url]
> > which says '... they also agree that it's usually in bad taste to
> > correct mistakes publicly'
> That was a quote out of context, which btw is bad everywhere.
> Actually, the quoting style document describes various kind of
> newsgroups, and to anybody who has followed _this_ group for a while,
> it stands perfectly clear that you'd better expect public corrections
> if you don't respect the posting guidelines.
document is a description of the traditionally accepted "quoting style" in
Usenet newsgroup postings. Please do not consider this to be a "regulatory"
document ("Thou shalt do it this way because we say so!") ...'
I never said the newbie was culpable. MS is. Don't blame the users, fix the>>> > MS is the principal culprit IMO, not the newbees.
> May be true. But pointing out to a newbie that there are posting
> guidelines is a way to help them benefit from this group. It does
> _not_ make him/her a "culprit".
code - as the saying goes. My IT colleagues who together amongst themselves
must have umpteenth years of computing experience also always top post their
emails. I've learnt to be unconcerned by such a pecadillo. The content is
more important than the form.
BTW, you do realise this is a bit of a wind up.
ge0rge
--
Where it is a duty to worship the sun it is pretty sure to be a crime to
examine the laws of heat.
-- Christopher Morley
ge0rge Guest
-
Dave #9
Re: Perl DBMS
#!/usr/bin/perl
print "Content type:text/html\n\n";
my $path = `pwd`;
chomp $path;
opendir(DIR, $path) || print "Could not open $path";
@files = grep { /\.db$/ } readdir(DIR);
closedir(DIR);
my $new_file ="";
my @databases;
foreach $file (@files){
@info = split(/\./, $file, 2);
if($info[0] ne $new_file){
push(@databases, $info[0]);
}
$new_file = $info[0];
}
#!/usr/bin/perl
print "Content type:text/html\n\n";
my $path = `pwd`;
chomp $path;
opendir(DIR, $path) || print "Could not open $path";
@files = grep { /\.db$/ } readdir(DIR);
closedir(DIR);
my $new_file ="";
my @databases;
foreach $file (@files){
@info = split(/\./, $file, 2);
if($info[0] ne $new_file){
push(@databases, $info[0]);
}
$new_file = $info[0];
}
foreach $file (@databases){
print "$file\n\n";
dbmopen(%hash, $file, 0666) || print "Could not open $file ($!)";
## $! gives the error "Invalid Argument"
foreach $key (keys %hash){
print "$key : $hash{$key}\n";
}
dbmclose(%hash);
}
Ok heres my code. ( sorry that i didnt reply to the requested messages - the
original posts have dissapeared from Outlook!)
Dit not make sense to top post, thus meaning that u dont have to scroll
through pages and pages of stuff just to get the info you want!
Thanks
"Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
news:bjtbju$n7jti$1@ID-184292.news.uni-berlin.de...> ge0rge wrote:>> > "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> > news:bjsue0$n7l0a$1@ID-184292.news.uni-berlin.de...
> >> >> >> Please do not top post!
> >> [url]http://web.presby.edu/~nnqadmin/nnq/nquote.html[/url]
> > which says '... they also agree that it's usually in bad taste to
> > correct mistakes publicly'
> That was a quote out of context, which btw is bad everywhere.
> Actually, the quoting style document describes various kind of
> newsgroups, and to anybody who has followed _this_ group for a while,
> it stands perfectly clear that you'd better expect public corrections
> if you don't respect the posting guidelines.
>>> > MS is the principal culprit IMO, not the newbees.
> May be true. But pointing out to a newbie that there are posting
> guidelines is a way to help them benefit from this group. It does
> _not_ make him/her a "culprit".
>
> --
> Gunnar Hjalmarsson
> Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
>
Dave Guest
-
Gunnar Hjalmarsson #10
Re: Perl DBMS
ge0rge wrote:
Dear George,> "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> news:bjtbju$n7jti$1@ID-184292.news.uni-berlin.de...>>> ge0rge wrote:>>>>> "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
>>> news:bjsue0$n7l0a$1@ID-184292.news.uni-berlin.de...
>>>> Please do not top post!
>>>> [url]http://web.presby.edu/~nnqadmin/nnq/nquote.html[/url]
>>>
>>> which says '... they also agree that it's usually in bad taste
>>> to correct mistakes publicly'
>> That was a quote out of context, which btw is bad everywhere.
>> Actually, the quoting style document describes various kind of
>> newsgroups, and to anybody who has followed _this_ group for a
>> while, it stands perfectly clear that you'd better expect public
>> corrections if you don't respect the posting guidelines.
> Out of context? Perfectly clear to me. Here's another quote then -
> 'This document is a description of the traditionally accepted
> "quoting style" in Usenet newsgroup postings. Please do not
> consider this to be a "regulatory" document ("Thou shalt do it this
> way because we say so!") ...'
Do you have any particular reason for questioning my simple pointer
about top posting?
You'd better study the posting guidelines for _this group_ before
starting a discussion like this. The clpmisc guidelines at
[url]http://mail.augustmail.com/~tadmc/clpmisc/clpmisc_guidelines.html[/url],
which express the consensus of _this_ group, say:
"Intersperse your comments *following* each section of quoted
text to which they relate. Unappreciated followup styles are
referred to as "Jeopardy" (because the answer comes before the
question), or "TOFU".
Reversing the chronology of the dialog makes it much harder to
understand (some folks won't even read it if written in that
style). For more information on quoting style, see:
[url]http://web.presby.edu/~nnqadmin/nnq/nquote.html[/url] "
In other words, the purpose with referring to the general document
about quoting style is to _further explain_ the reason why that
particuar rule is applied in this group.
Emails is one thing, Usenet groups is another.> My IT colleagues who together amongst themselves must have
> umpteenth years of computing experience also always top post their
> emails.
Then you belong to the minority here. The consensus of _this_ group is> I've learnt to be unconcerned by such a pecadillo. The content is
> more important than the form.
pretty clear. Please respect that.
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
Alan J. Flavell #11
Re: Perl DBMS
On Fri, Sep 12, ge0rge inscribed on the eternal scroll:
Indeed. The advice is to do it not because the FAQ or RFC says you> Out of context? Perfectly clear to me. Here's another quote then - 'This
> document is a description of the traditionally accepted "quoting style" in
> Usenet newsgroup postings. Please do not consider this to be a "regulatory"
> document ("Thou shalt do it this way because we say so!") ...'
must, but because the body of other serious participants expect it,
and when they killfile you for ignoring the social mores of the group,
you'll be lucky if one of them bothers to tell you about it.
There was (and may still be, for all that I know) an FAQ for> > > MS is the principal culprit IMO, not the newbees.
microsoft.* groups which instructs participants to snip the quotage to
the minimum needed for setting context, and place their responses
after the relevant quoted parts. Does that sound familiar? For big-8
usent groups, that is even more the expectation. As for other
hierarchies, I recall an FAQ for alt.english.usage which explained to
its participants that OE placed the cursor at the top of the quoted
material because that was the natural place to start snipping
irrelevant comments before placing one's responses below the relevant
quoted parts to which one referred. Sounds familiar?
Oh yes.> BTW, you do realise this is a bit of a wind up.
Did I mention that the best adjunct to participating in usenet is a
well-tended killfile?
--
Procrastination gives you something to look forward
to putting off tomorrow. -spotted on ahbou
Alan J. Flavell Guest
-
Tad McClellan #12
Re: Perl DBMS
ge0rge <ge0rge@Talk21.com> wrote:
> My IT colleagues who together amongst themselves
> must have umpteenth years of computing experience also always top post their
> emails.
email is not usenet. It is a different dynamic entirely.
--
Tad McClellan SGML consulting
[email]tadmc@augustmail.com[/email] Perl programming
Fort Worth, Texas
Tad McClellan Guest
-
Eric Bohlman #13
Re: Perl DBMS
"Dave" <dave334234@inter.com> wrote in
news:8as8b.1005$WI3.13044@newsfep4-glfd.server.ntli.net:
Name the two things missing here...> #!/usr/bin/perl
You know, don't you, that @files will contain *only* the base names of the> print "Content type:text/html\n\n";
>
> my $path = `pwd`;
> chomp $path;
>
> opendir(DIR, $path) || print "Could not open $path";
> @files = grep { /\.db$/ } readdir(DIR);
> closedir(DIR);
matching files, *not* their full paths?
Why are you making separate passes over arrays, instead of doing this> my $new_file ="";
> my @databases;
>
> foreach $file (@files){
>
> @info = split(/\./, $file, 2);
>
>
> if($info[0] ne $new_file){
>
> push(@databases, $info[0]);
> }
>
> $new_file = $info[0];
>
>
> }
filtering as you read the filenames?
Uh oh. Remember that bit about not having the full path names?> foreach $file (@databases){
>
> print "$file\n\n";
>
> dbmopen(%hash, $file, 0666) || print "Could not open $file ($!)";
>
> ## $! gives the error "Invalid Argument"
>
> foreach $key (keys %hash){
>
> print "$key : $hash{$key}\n";
> }
>
> dbmclose(%hash);
>
> }Eric Bohlman Guest
-
Gunnar Hjalmarsson #14
Re: Perl DBMS
Dave wrote:
<code snipped>
It includes some errors, and Eric pointed out some of those.> Ok heres my code.
I think you need to read up on DBM files, the fact that there are
different kinds, etc. A start may be
[url]http://search.cpan.org/author/JHI/perl-5.8.0/lib/AnyDBM_File.pm[/url]
From the code you posted it seems as if the data is stored in
Berkeley format, and the DB_File module and/or the Berkeley DB library
is probably not installed on your Windows box.
Below follows some code that reads .db files, prints the contents, and
saves the data as SDBM databases. SDBM is portable between Unix and
Windows, and each database consists of two files with .dir respective
..pag extensions.
Please study the messages about top posting more carefully. ;-)> Dit not make sense to top post, thus meaning that u dont have to scroll
> through pages and pages of stuff just to get the info you want!
# Code starts here
#!/usr/bin/perl
use strict;
use warnings;
use CGI::Carp 'fatalsToBrowser';
use DB_File;
use SDBM_File;
use Fcntl;
print "Content-type: text/html\n\n";
my $path = `pwd`;
chomp $path;
opendir DIR, $path or die "Could not open $path\n$!";
my @files = grep { /\.db$/ } readdir DIR;
closedir DIR;
foreach my $file (@files) {
tie my %hash, 'DB_File', "$path/$file", 0666
or die "Couldn't open... $!";
print "$_ : $hash{$_}\n" for keys %hash;
# Copy data to SDBM
tie my %hash2, 'SDBM_File', "$path/".(substr $file, 0, -3),
O_CREAT | O_RDWR, 0666 or die "Couldn't open... $!";
%hash2 = %hash;
untie %hash2;
untie %hash;
}
# Code ends here
Hope that helps!
--
Gunnar Hjalmarsson
Email: [url]http://www.gunnar.cc/cgi-bin/contact.pl[/url]
Gunnar Hjalmarsson Guest
-
Jay Tilton #15
Re: Perl DBMS
"ge0rge" <ge0rge@Talk21.com> wrote:
: My IT colleagues who together amongst themselves
: must have umpteenth years of computing experience also always top post their
: emails.
The first rule of writing is to write for the audience. The audience in
clpm prefers articles that meet certain style expectations. Whatever
goes on in other newsgroups, in email, or among your colleagues is
irrelevant.
: The content is more important than the form.
Then why do novels, proposals, screenplays, instruction manuals, and
musical scores all have distinct and recognizable forms?
In a forum like clpm, presentation can be more important than content,
since readers are not at all obliged to be interested in what an author
has to say. Cooperation is a matter of pragmatism. Make readers work
at figuring out what you're saying and they're less likely to work at
helping.
Jay Tilton Guest
-
Tom #16
Re: Perl DBMS
"ge0rge" <ge0rge@Talk21.com> wrote in message news:<bjthmi$m4bv9$1@ID-175222.news.uni-berlin.de>...
..> "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> news:bjtbju$n7jti$1@ID-184292.news.uni-berlin.de...>> > ge0rge wrote:> >> > > "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message
> > > news:bjsue0$n7l0a$1@ID-184292.news.uni-berlin.de...
> > >
> > >> Please do not top post!
> > >> [url]http://web.presby.edu/~nnqadmin/nnq/nquote.html[/url]
> > >
> > > which says '... they also agree that it's usually in bad taste to
> > > correct mistakes publicly'
> > That was a quote out of context, which btw is bad everywhere.
> > Actually, the quoting style document describes various kind of
> > newsgroups, and to anybody who has followed _this_ group for a while,
> > it stands perfectly clear that you'd better expect public corrections
> > if you don't respect the posting guidelines.
> Out of context? Perfectly clear to me. Here's another quote then - 'This
> document is a description of the traditionally accepted "quoting style" in
> Usenet newsgroup postings. Please do not consider this to be a "regulatory"
> document ("Thou shalt do it this way because we say so!") ...'
>
..
Well, you know what they say, when in Rome do as the Romans do.
Tom
ztml.com
Tom Guest
-
Dave #17
Re: Perl DBMS
"Eric Bohlman" <ebohlman@earthlink.net> wrote in message
news:Xns93F4CDEB8C228ebohlmanomsdevcom@130.133.1.4 ...I guess u mean -w ??> "Dave" <dave334234@inter.com> wrote in
> news:8as8b.1005$WI3.13044@newsfep4-glfd.server.ntli.net:
>>> > #!/usr/bin/perl
> Name the two things missing here...
Yup>> > print "Content type:text/html\n\n";
> >
> > my $path = `pwd`;
> > chomp $path;
> >
> > opendir(DIR, $path) || print "Could not open $path";
> > @files = grep { /\.db$/ } readdir(DIR);
> > closedir(DIR);
> You know, don't you, that @files will contain *only* the base names of the
> matching files, *not* their full paths?
What other way can i do this?>> > my $new_file ="";
> > my @databases;
> >
> > foreach $file (@files){
> >
> > @info = split(/\./, $file, 2);
> >
> >
> > if($info[0] ne $new_file){
> >
> > push(@databases, $info[0]);
> > }
> >
> > $new_file = $info[0];
> >
> >
> > }
> Why are you making separate passes over arrays, instead of doing this
> filtering as you read the filenames?
I know this is bad programming practice, but for now I'm running the script>> > foreach $file (@databases){
> >
> > print "$file\n\n";
> >
> > dbmopen(%hash, $file, 0666) || print "Could not open $file ($!)";
> Uh oh. Remember that bit about not having the full path names?
in the same directory as the databases ( just till i get the thing
working). But that dosnt explain why I get the error below. If the path was
wrong then the dbm would create a new database with that name in the same
directory as the script (if the script WAS in a different dir), but instead
it says "Invalid Argument".
> > ## $! gives the error "Invalid Argument"
> >
> > foreach $key (keys %hash){
> >
> > print "$key : $hash{$key}\n";
> > }
> >
> > dbmclose(%hash);
> >
> > }
Dave Guest
-
ge0rge #18
Re: Perl DBMS
<OT>
"Alan J. Flavell" <flavell@mail.cern.ch> wrote in message
news:Pine.LNX.4.53.0309130126160.5502@lxplus002.ce rn.ch...in> On Fri, Sep 12, ge0rge inscribed on the eternal scroll:
>> > Out of context? Perfectly clear to me. Here's another quote then - 'This
> > document is a description of the traditionally accepted "quoting style""regulatory"> > Usenet newsgroup postings. Please do not consider this to be aWell, that would be a bit of an overkill. Don't you think so? Killfiling>> > document ("Thou shalt do it this way because we say so!") ...'
> Indeed. The advice is to do it not because the FAQ or RFC says you
> must, but because the body of other serious participants expect it,
> and when they killfile you for ignoring the social mores of the group,
> you'll be lucky if one of them bothers to tell you about it.
someone because (s)he top post!
Can't understand why people (meaning us all, I guess) are so accommodating>>> > > > MS is the principal culprit IMO, not the newbees.
> There was (and may still be, for all that I know) an FAQ for
> microsoft.* groups which instructs participants to snip the quotage to
> the minimum needed for setting context, and place their responses
> after the relevant quoted parts. Does that sound familiar? For big-8
> usent groups, that is even more the expectation. As for other
> hierarchies, I recall an FAQ for alt.english.usage which explained to
> its participants that OE placed the cursor at the top of the quoted
> material because that was the natural place to start snipping
> irrelevant comments before placing one's responses below the relevant
> quoted parts to which one referred. Sounds familiar?
with MS and are prepared to make excuses or go through all sort of
contortions to work with their software when clearly it is a stupid idea to
place the cursor at the top. At the very least, they could have put an
option to allow for the placement of the cursor.
Whoaa! That's a bit below the belt. It was just a bit of harmless banter to>>> > BTW, you do realise this is a bit of a wind up.
> Oh yes.
>
> Did I mention that the best adjunct to participating in usenet is a
> well-tended killfile?
test the water in this NG.
BTW, I think the whole idea of a killfile is another OTT response to
something not worth a second thought... but then again there's no accounting
for what people feel passionate about.
Anyway, I shall do as suggested by another poster - when in Rome ... ('cos
top posters drive me nuts (well, rarely!)).
Now, time for me to shut up and start lurking awhile in this NG until I have
something worthwhile to ask or say!
</OT>
ge0rge
--
The more things change, the more they stay insane.
ge0rge Guest
-
Tad McClellan #19
Re: Perl DBMS
Dave <dave334234@inter.com> wrote:
> "Eric Bohlman" <ebohlman@earthlink.net> wrote in message
> news:Xns93F4CDEB8C228ebohlmanomsdevcom@130.133.1.4 ...>>> "Dave" <dave334234@inter.com> wrote in
>> news:8as8b.1005$WI3.13044@newsfep4-glfd.server.ntli.net:
>>>>>> > #!/usr/bin/perl
>> Name the two things missing here...
> I guess u mean -w ??
The warnings pragma is better than the command line switch variety.
The two things are:
use strict;
use warnings;
Have you seen the Posting Guidelines that are posted here frequently?
--
Tad McClellan SGML consulting
[email]tadmc@augustmail.com[/email] Perl programming
Fort Worth, Texas
Tad McClellan Guest
-
Tad McClellan #20
killfiling (was Re: Perl DBMS)
ge0rge <ge0rge@Talk21.com> wrote:
><OT>
But it isn't.
Where else but clpmisc would be appropriate for discussing
the goings-on in clpmisc?
Such "administration" threads are annoying/wasteful, but not off-topic.
> "Alan J. Flavell" <flavell@mail.cern.ch> wrote in message
> news:Pine.LNX.4.53.0309130126160.5502@lxplus002.ce rn.ch...>> On Fri, Sep 12, ge0rge inscribed on the eternal scroll:
[snip: about top-posting]
>>> Indeed. The advice is to do it not because the FAQ or RFC says you
>> must, but because the body of other serious participants expect it,
>> and when they killfile you for ignoring the social mores of the group,
>> you'll be lucky if one of them bothers to tell you about it.
> Well, that would be a bit of an overkill. Don't you think so?
Whether it is "right" or "best" is irrelevant (unless you think
you can change everyone's mind).
What matters in a pragmatic sense is that it happens here.
So if you want the widest readership for articles posted here, it
is worth a bit of effort to avoid stepping on killfile "mines".
Using an upside-down posting style is but one variety of mine.
The Posting Guidelines attempt to steer folks away from
many of the most common varieties...
> Killfiling
> someone because (s)he top post!
I have:
% Jeopardists
Score:: -9998
< 37 addresses so far >
None of them for top-posting once or twice.
All of them people who complain about it once corrected, or
insisted on continuing with reversing time.
>>> Did I mention that the best adjunct to participating in usenet is a
>> well-tended killfile?
> Whoaa! That's a bit below the belt.
I don't know what you saw there, but I don't see a "blow"
landed anywhere.
Did you see something personal there?
Sounds like merely a description of clpmisc reality to me...
> It was just a bit of harmless banter to
> test the water in this NG.
If you slap a junk yard dog to see if he is mean, you should be
prepared to pay with your hand (or worse). :-)
> BTW, I think the whole idea of a killfile is another OTT response to
How to not be ignored in clpmisc is on-topic for clpmisc.
> Now, time for me to shut up and start lurking awhile in this NG
Perhaps you cannot understand the wide spread use of killfiles
because your experiences are different from the killfiler's
experiences.
Lurking for a few years will help give you insight there. :-)
Most of the frequent-answers are busy folks. That's how they gain
enough expertise to be able to answer questions!
They undoubtedly have a "Perl time" budget and clpmisc is likely
only one of the (less-important) places that that time is spent. They're
busy writing modules, reading mailing lists, etc as well as
donating time here.
When they get in a budget crunch, they can stop reading clpmisc
or they can find a way to spend less time while reading clpmisc.
Many wonderful question-answerers have already chosen the
former approach. :-(
I've had my code corrected here by Larry Wall himself. That won't
be happening anymore. :-( :-(
So, these type of people who _are_ still here, are very likely to
have implemented the later approach, ie. they use heuristics
(scorefiles) to help reduce their workload.
This is a high traffic newsgroup, often 200 posts a day.
Nobody reads all of them, so they must "filter" them somehow.
Whether they do it manually or automatically does not make much
difference, they must be skipping a whole lot of articles either way.
--
Tad McClellan SGML consulting
[email]tadmc@augustmail.com[/email] Perl programming
Fort Worth, Texas
Tad McClellan Guest



Reply With Quote

