[24787] in Perl-Users-Digest
Perl-Users Digest, Issue: 6940 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Sep 1 03:06:29 2004
Date: Wed, 1 Sep 2004 00:05:07 -0700 (PDT)
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, 1 Sep 2004 Volume: 10 Number: 6940
Today's topics:
Re: Custom web design and web site development <dha@panix.com>
Re: Execute Windows program from Perl script (??) (Randal L. Schwartz)
Fastest versions of perl? (Pablo S)
Re: Help: Open an URL an keep reading from it, non-bloc <tassilo.von.parseval@rwth-aachen.de>
HomeFree Script <tony@dontwrite.invalid>
mod_perl on apache 1.3 and 2.0 performance test, old vs (Pablo S)
Re: NEWBIE CGI HELP::Can I verify a user has logged on <matternc@comcast.net>
Re: Open an URL an keep reading from it, non-blocking <uwe.disch@gmx.net>
Re: Open an URL an keep reading from it, non-blocking <postmaster@castleamber.com>
Re: Open an URL an keep reading from it, non-blocking <nospam-abuse@ilyaz.org>
Re: OS/2 port of Perl 5.8 not adding CR to \n <nospam-abuse@ilyaz.org>
Re: perl pattern matching (Niko)
Re: problems with MIME:Lite timeout (dan baker)
Re: Reading UTF-8 string from file with read() function (Sergei)
Re: Reading UTF-8 string from file with read() function dr@dark.com
Re: Regex matching a string that DOESN'T contain a give <secret@secret.com>
System Package Handling <xyz@rickmitterer.com>
Write files to a USB device <bmortonaz@yahoo.com>
Re: Xah Lee's Unixism (Rob Warnock)
Re: Xah Lee's Unixism <reynirhs@mi.is>
Re: XML-RPC <ceo@nospam.on.net>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Wed, 1 Sep 2004 04:48:12 +0000 (UTC)
From: "David H. Adler" <dha@panix.com>
Subject: Re: Custom web design and web site development
Message-Id: <slrncjal4c.4rj.dha@panix2.panix.com>
On 2004-08-31, CNA Programming Group <cna_pgroup@yahoo.com> wrote:
> If you want to make a hi-quality website fast and for a reasonable
> price - than this offer is for you.
You have posted a job posting or a resume in a technical group.
Longstanding Usenet tradition dictates that such postings go into
groups with names that contain "jobs", like "misc.jobs.offered", not
technical discussion groups like the ones to which you posted.
Had you read and understood the Usenet user manual posted frequently to
"news.announce.newusers", you might have already known this. :) (If
n.a.n is quieter than it should be, the relevent FAQs are available at
http://www.faqs.org/faqs/by-newsgroup/news/news.announce.newusers.html)
Another good source of information on how Usenet functions is
news.newusers.questions (information from which is also available at
http://www.geocities.com/nnqweb/).
Please do not explain your posting by saying "but I saw other job
postings here". Just because one person jumps off a bridge, doesn't
mean everyone does. Those postings are also in error, and I've
probably already notified them as well.
If you have questions about this policy, take it up with the news
administrators in the newsgroup news.admin.misc.
http://jobs.perl.org may be of more use to you
Yours for a better usenet,
dha
--
David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/
I don't want to get bitter/I don't want to turn cruel/I don't want to
get old before I have to/I don't want to get jaded/Petrified and
weighted/I don't want to get bitter like you. - Jill Sobule
------------------------------
Date: 31 Aug 2004 16:04:17 -0700
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: Execute Windows program from Perl script (??)
Message-Id: <868ybuaozy.fsf@blue.stonehenge.com>
*** post for FREE via your newsreader at post.newsfeed.com ***
>>>>> "Zebee" == Zebee Johnstone <zebee@zip.com.au> writes:
>> Then they should find a help desk. Usenet is not a help desk.
Zebee> WHich is what learn.perl.org *is* more or less. WHich is why
Zebee> I'm having trouble working out why you are opposed to telling
Zebee> people it's there and go to it.
No, learn.perl.org is not a help desk either. There are tribal rules.
Maybe the bar-to-entry is a bit lower right now, but it's only because
it hasn't had to handle the volume that Usenet does.
I'm not opposed to telling people to go there. I'm just saying it's
not the holy grail solution you keep suggesting. When the volume
increases enough, it'll look just like Usenet.
Zebee> After all, where are non-corporate people going to find a help desk
Zebee> about perl if the community doesn't provide it?
There is no responsibility on the part of *any* community to provide
resources for free. I suspect you are a bit confused there, or a
Democrat, or both. :)
There is already a ton of read-only free resources. FAQs, manpages,
archives of mailing lists and Usenet, almost all readily searchable.
If someone needs *more* handholding than that, they can buy commercial
books, or training, or consulting. If someone wants to become a
member of the Perl tribe, they should first be familiar with its
customs, and part of the customs of this particular tribe is knowing
how to search the free stuff at a minimum.
Zebee> And the tribalism is precisely the problem that they are trying to
Zebee> solve. I hope they can continue to be successful in it.
It's only a matter of time before it will get worse. Especially if you
keep pointing people at it.
Have you ever found a really nice secret watering hole next to a
stream? And then the next year, you come back, and a few more people
are there, and then after a few more years, it's completely junk?
That's the way *any* free resource is, unless it is actively managed
by the tribe of people interested in managing it. And they set standards
as needed, and then the newbies come along and say "who gave you the
right to set the standards"... blah blah blah.
I wish it were some other way. But I've seen it happen in nearly
every free online community that I've observed over a long time. It
starts out great when it's small, but then breaks down as more
freeloaders show up.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
-----= Posted via Newsfeed.Com, Uncensored Usenet News =-----
http://www.newsfeed.com - The #1 Newsgroup Service in the World!
-----== 100,000 Groups! - 19 Servers! - Unlimited Download! =-----
------------------------------
Date: 31 Aug 2004 23:16:44 -0700
From: pablo_tweek@yahoo.com (Pablo S)
Subject: Fastest versions of perl?
Message-Id: <76d9ca90.0408312216.384fda53@posting.google.com>
Hi,
Check this paradox -
Run from bash on 2 redhat systems with the same hardware:
#!/usr/bin/perl
$start=time;
my $i=20000000;
while ($i) {
$i--;
}
print "Finished!". (time - $start);
Stock redhat 7.3: 3 seconds (5.6.1)
Stock FC2: 37 seconds (5.8.3)
I first noticed this when I brought over a fast mod_perl database to
FC2 and was like, wth is this. Tests of cats and other basic
functions/loops are basically similar, or even more disparate. I did
a simple string cat loop version of the above that ran 14 times slower
on FC2. These systems are 2.4G P4's and I have 500MHz K6's running
older versions of perl and linux that smoke them.
I am wondering what platform and interpreter would be the fastest to
run a DBI intensive perl application with lots of cat's, loops, etc.
If it's an advanced feature (threading etc), chances are I don't need
it. It seems, from the data, that there is a huge difference from one
setup to the next.
Thank you all!
------------------------------
Date: Wed, 1 Sep 2004 06:48:32 +0200
From: "Tassilo v. Parseval" <tassilo.von.parseval@rwth-aachen.de>
Subject: Re: Help: Open an URL an keep reading from it, non-blocking
Message-Id: <2pl2l1Fm8mg1U1@uni-berlin.de>
Also sprach John Bokma:
> A web based chat uses a method I call infinite loading. Basically the
> browser opens the url, but it never stops, like it is downloading an
> infinite long page. The chat system just keeps adding new lines.
>
> Is there a way to do this in Perl. I mean, is there a module that let's me
> see if there is data available, and read it, and move on in a loop?
IO::Select (or maybe IO::Poll) is commonly used for that. The purpose of
the select(2)/poll(2) system calls is to watch file descriptors for
certain events. Becoming readable or writable is such an event.
On a higher level, you could use one of the event modules as provided by
the CPAN: Event, Event::Lib or even POE.
> I can write it, but I don't like reinventing wheels.
It's not so easy to rewrite this. It's more convenient to use one of the
mentioned notification mechanisms which are provided by your kernel.
Tassilo
--
$_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({
pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#;
$_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval
------------------------------
Date: Tue, 31 Aug 2004 17:00:38 -0700
From: tony <tony@dontwrite.invalid>
Subject: HomeFree Script
Message-Id: <310820041700382009%tony@dontwrite.invalid>
Anyone know what happened to http://solutionscripts.com, the makers of
homefree?
Any suggestions on a Homefree replacement?
--
Tony
------------------------------
Date: 31 Aug 2004 22:18:13 -0700
From: pablo_tweek@yahoo.com (Pablo S)
Subject: mod_perl on apache 1.3 and 2.0 performance test, old vs new. strage..
Message-Id: <76d9ca90.0408312118.62baacec@posting.google.com>
Hi there Perl folks, I am comparing performance on a new server
platform I am demoing and wanted to share this weird thing:
It started out when I noticed some expensive local db calls on my
mod_perl box were taking a while on the new, slightly beefier system.
They are the same accept for:
OLD system:
(a celeron 1.8 w/ 512SDRAM linux 2.4 running perl 5.6.1,
postgresql-7.2.1-5 with a perl web db on Apache/1.3.23 mod_perl 1.26
and dbi 1.37 with peristent db connections via apache:dbi. ) this
thing runs awesome, as in, it is FAST, for what it does.
NEW system:
(a p4 2.6 w/ 512DDR266 running the same web app via perl 5.8.3 on
fedora core 2 linux 2.6 postgresql-7.4.2-1 w/ Apache/2.0.49 &
mod_perl/1.99_12 & apache:dbi.) it, at this point, sucks and is
noticably slower to load pages, pull from DBI, and even do simple
loops.
Httpd.conf on apache2.0
Alias /cgi-bin /var/www/cgi-bin
<Directory /var/www/cgi-bin>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
</Directory>
and on 1.3
Alias /cgi-bin/ "/home/httpd/cgi-bin/"
<Location /cgi-bin>
SetHandler perl-script
PerlHandler Apache::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Location>
I have one page where I run many queries. On the old server, it loads
in 1.5 seconds. On the new server, with the same data, it takes 6. I
am trying to find out why. After going nuts all over Pg, apache:dbi,
and all orders of other stuff I had both servers run your basic
my $i=10000000;
while ($i) {
$i--;
}
print "done!";
thing. The 1.8 is done in 2 seconds, the 2.4 takes almost 8.
Is apache the culprit? I was running all over looking at the database
I was talking to, etc etc, but heres a simple loop taking about 3x as
long.
Thank you for your interest!! Any comments welcome.
------------------------------
Date: Tue, 31 Aug 2004 22:17:20 -0400
From: Chris Mattern <matternc@comcast.net>
Subject: Re: NEWBIE CGI HELP::Can I verify a user has logged on
Message-Id: <u8ydnTPx6_6trKjcRVn-tg@comcast.com>
joe slash blow wrote:
> Chris Mattern <matternc@comcast.net> wrote in message
> news:<tJOdnd5-Re0ZCK7cRVn-gA@comcast.com>...
>> joe slash blow wrote:
>>
>> > I have very basic Perl knowledge and inherited a script for work.
>> > If the user inputs a specific 4 character code in one of 3 places on a
>> > web page, I have to verify that the user has logged onto an NT domain
>> > account before I let them go to the next html page. If they don't use
>> > the 4 character code they can go on unchecked.
>> > I don't want them to have to log on to the perl page, just verify that
>> > they are logged onto the system.
>> > Any help would be greatly appreciated.
>> >
>> Er, how do you determine which NT user he's supposed to be? Does the
>> four character code ID him? Can you determine it from his IP address?
>
> All users will be logged onto a work computer connected to the domain.
Yes, but how does that tell the *webserver* anything? The webserver
doesn't know anything other than the user's IP and any info conveyed
via http. Are you running a client-side script that snitches the
user's ID to the webserver?
--
Christopher Mattern
"Which one you figure tracked us?"
"The ugly one, sir."
"...Could you be more specific?"
------------------------------
Date: Wed, 1 Sep 2004 02:12:30 +0200
From: "Uwe Disch" <uwe.disch@gmx.net>
Subject: Re: Open an URL an keep reading from it, non-blocking
Message-Id: <fogf02-e87.ln1@news.disch-online.de>
"John Bokma" <postmaster@castleamber.com> schrieb im Newsbeitrag
news:Xns9556A97A6215castleamber@130.133.1.4...
> Basically the browser opens the url, but it never stops, like it is
> downloading an infinite long page. The chat system just keeps adding
> new lines.
This would be a good starting point if you are running Apache and
Perl: http://httpd.apache.org/docs/misc/rewriteguide.html
See chapter about "Document With Autorefresh".
Uwe
--
Interchange Consulting: http://disch-online.de
EIB-Temperatursensoren: http://disch-systems.de
------------------------------
Date: 1 Sep 2004 02:59:03 GMT
From: John Bokma <postmaster@castleamber.com>
Subject: Re: Open an URL an keep reading from it, non-blocking
Message-Id: <Xns9556DF6614453castleamber@130.133.1.4>
"Uwe Disch" <uwe.disch@gmx.net> wrote in news:fogf02-e87.ln1@news.disch-
online.de:
>
> "John Bokma" <postmaster@castleamber.com> schrieb im Newsbeitrag
> news:Xns9556A97A6215castleamber@130.133.1.4...
>> Basically the browser opens the url, but it never stops, like it is
>> downloading an infinite long page. The chat system just keeps adding
>> new lines.
>
> This would be a good starting point if you are running Apache and
> Perl: http://httpd.apache.org/docs/misc/rewriteguide.html
>
> See chapter about "Document With Autorefresh".
Uhm, it has nothing to do with Apache, nor rewriting. I want to read a
infinite document and printing each line when it comes in. Can't use the
HTTP::Request stuff, since it reads all (which never finishes), and then
returns.
--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
------------------------------
Date: Wed, 1 Sep 2004 05:56:17 +0000 (UTC)
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: Open an URL an keep reading from it, non-blocking
Message-Id: <ch3oa1$ue5$1@agate.berkeley.edu>
[A complimentary Cc of this posting was sent to
John Bokma
<postmaster@castleamber.com>], who wrote in article <Xns9556DF6614453castleamber@130.133.1.4>:
> "Uwe Disch" <uwe.disch@gmx.net> wrote in news:fogf02-e87.ln1@news.disch-
> online.de:
> Uhm, it has nothing to do with Apache, nor rewriting. I want to read a
> infinite document and printing each line when it comes in. Can't use the
> HTTP::Request stuff, since it reads all (which never finishes), and then
> returns.
My copy of lwp-rget supports --progress option. This clearly shows
that your analysis of "HTTP::Request stuff" is faulty. Read the docs
again.
Hope this helps,
Ilya
------------------------------
Date: Wed, 1 Sep 2004 05:31:59 +0000 (UTC)
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: Re: OS/2 port of Perl 5.8 not adding CR to \n
Message-Id: <ch3msf$tvl$1@agate.berkeley.edu>
[A complimentary Cc of this posting was NOT [per weedlist] sent to
Peter Weilbacher
<pweilba@gwdg.de>], who wrote in article <F3cu0n62uTsd-pn2-1EfiZ5UMVyXX@gaston.Weilbacher.org>:
> just as expected.
Of course
> If Shmuel does not then something is probably wrong
> with the installation.
If it is installed, there should be no way to break CRLF stuff.
Either it is not installed (and some other version is run), or some
environment variable loads some extra module.
The first condition may be detected by
J:\test-programs\perl\modules>perl -wle "print OS2::DLLname"
J:\test-programs\perl\modules>perl -wle "print $^X"
and perl -V (the DLL name should be .../PERL312F.DLL). The second
condition is detected by the command I gave, as well as the tail of
`perl -V' output.
Hope this helps,
Ilya
------------------------------
Date: 31 Aug 2004 22:53:22 -0700
From: sanynn@hotmail.com (Niko)
Subject: Re: perl pattern matching
Message-Id: <505fba70.0408312153.75f01c26@posting.google.com>
Hi again,
First thanks a lot.
and next time i will put up some line codes to make things much more clear.
for now this was my code :
### Find and replace strings in a file
sub Find_Rep {
my $PAT_TXT = $_[0];
open (FILE,$S_FILE);
open (TEMPF,"> $T_FILE");
while (<FILE>) {
eval $PAT_TXT;
print TEMPF $_;
<STDIN>;
}
close (TEMPF);
close (FILE);
####
$S_FILE="source file";
$T_FILE="target file";
$str1="var1";
str2="var2";
my $PAT_ST = 's/^$str1:([^:]*)/$str1:$str2/';
Find_Rep($PAT_ST);
Thanks again.
Nissim
"J. Gleixner" <glex_nospam@qwest.invalid> wrote in message news:<m81Zc.10$Iv3.18891@news.uswest.net>...
> Niko wrote:
> > Hi,
> >
> > i need help replacing string in the middle of line like this :
> >
> >
> > var1:string:yyy:zzz:kkk.....:ggg
> >
> >
> > Need to replace the string.
> >
> > I already know the value of var1, that help me to find the specific line in my file.
> >
> > only left is to replace the string with a new string.
> >
> > any idea ?
> >
> > Thanks.
>
> I'm guessing you want to replace 'string', in your example line above,
> with another value and you know the beginning of the line you want to
> replace, which in this case is 'var1'.
>
> my $str = 'var1:string:abcd:edfg';
> my $beg = 'var1';
> my $new_string = 'new_value1';
>
> $str =~ s/^$beg:([^:]*)/$beg:$new_string/;
>
> print $str, "\n";
>
> In the future, it'd really help others if there was code or a few lines
> of data, showing cases where you want the line changed and where you
> don't want them changed. That would help find a more accurate solution.
>
> See ya
------------------------------
Date: 31 Aug 2004 19:08:09 -0700
From: botfood@yahoo.com (dan baker)
Subject: Re: problems with MIME:Lite timeout
Message-Id: <13685ef8.0408311808.3629f80@posting.google.com>
botfood@yahoo.com (dan baker) wrote in message news:<13685ef8.0408301233.4b5e369f@posting.google.com>...
> I am trying to build a simple little script using MIME:Lite to run
> through about 200 email addresses and send a simple text message. I
> seem to be having a problem with a timeout as it gets though 5 or ten
> addresses and then quits with the message:
> -------------------
well, I have a little more info from comcast, but not much. turns out
that the first tier support thinks that the default send rate is about
10 or 15 per minute... above which the anti-spam trigger blacklists
the account and you get whacked for a minimum of 48 hours.
so, as soon as i am live again, I may try a sleep(5) for each address
in the loop, which seems reasonable as it would be unacceptably slow
for most spammers. Anyway, I am still interested to know if there is a
way to disconnect/reconnect, or if this is some kinda timeout thing,
or what. I don't know much about how the smtp connection stuff works.
d
------------------------------
Date: 31 Aug 2004 20:18:23 -0700
From: sergeisn-tma@yahoo.com (Sergei)
Subject: Re: Reading UTF-8 string from file with read() function.
Message-Id: <1ce4f694.0408311918.29765621@posting.google.com>
Brian McCauley <nobull@mail.com> wrote in message
> ...
> Read the string from file as binary and then utf8::decode() it.
Brian,
You are right. I did:
use Encode 'decode_utf8';
$Unicode = decode_utf8($bytes);
And it works !
Thanks a lot !
--Sergei
------------------------------
Date: 1 Sep 2004 00:46:41 -0500
From: dr@dark.com
Subject: Re: Reading UTF-8 string from file with read() function.
Message-Id: <41356241_7@corp.newsgroups.com>
> Read the string from file as binary and then utf8::decode() it.
And where would one go to find utf8::decode? I am on page 22 of CPAN
and still haven't found it.
Just out of curiosity, was the search function on CPAN written by a
special ed student? Jesus on Prozac, it blows.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
------------------------------
Date: Wed, 01 Sep 2004 01:47:18 GMT
From: "secret" <secret@secret.com>
Subject: Re: Regex matching a string that DOESN'T contain a given word
Message-Id: <GS9Zc.14263$To1.13273@newssvr29.news.prodigy.com>
I know it's a strange requirement. The problem is that I'm using 'ant' as
my build tool. Part of what it does is check cvs for new check-ins. If it
finds one I then want to determine where it is in the module to see what
needs rebuilding. So if the only checkins are in the test directory, I'll
just re-run the tests. If, however, there's a checkin that's not in the
tests dir then I have to rebuild everything and then run the tests.
This is a simplification of my task, but it's close enough.
I'm trying to avoid writing a custom ant task to do this work, so I'm using
a 'grep' task, which I had hoped would suffice but, if I understand your
posts, it won't.
alan
"David K. Wall" <dwall@fastmail.fm> wrote in message
news:Xns9556AEC826A44dkwwashere@216.168.3.30...
> Tore Aursand <tore@aursand.no> wrote in message
> <news:pan.2004.08.31.20.04.28.546617@aursand.no>:
>
> > On Tue, 31 Aug 2004 19:46:47 +0000, Paul Lalli wrote:
> >> while (<DATA>) {
> >> print if /^(?!.*foobar)/;
> >> }
> >
> > Why use a regular expression for this? Isn't it more convenient
> > (at least performance wise) to use the 'index' function?
>
> If I understand the OP correctly, he isn't even using Perl:
>
> "But I have to do it in one regex expression because I'm forced to use
> a grepping tool from within my application that takes a regular
> expression."
>
>
------------------------------
Date: 31 Aug 2004 16:52:42 -0700
From: "Rick" <xyz@rickmitterer.com>
Subject: System Package Handling
Message-Id: <ch330a$nei@odah37.prod.google.com>
Hi,
We've been using the pkg-get utility in our Solaris environment (Like
it's used on Sun Freeware). It's basically a Sun Package management
system that uses wget and distributed catalog files. You can do various
commands to display the currently installed packages, compare what's
installed with updates on the server, etc. It's written in ksh.
I like the format, but would really like to see it ported across
different Unix architectures....We've currently have it in cron and can
update our perl distribution across 200 servers pretty easily.
I'm not looking for something to build packages as I think epm does
that pretty well...What I'm really looking for is a standard interface
to each of the different system package handlers (i.e pkgadd, rpm,
apt-get,etc).
Perhaps someone has already wrote something or thought of this. But,
what I was thinking of was a similar interface to package handling as
DBI is to DBD. So, just as DBI is an independent Database interface, so
would <insert module here> and have different DBD type drivers to each
systems Package handlers...
So, has someone done this already? Haven't heard of any...although I
see modules for dealing directly with rpm....
Regards,
Rick
------------------------------
Date: Tue, 31 Aug 2004 20:48:45 -0700
From: "Bob Morton" <bmortonaz@yahoo.com>
Subject: Write files to a USB device
Message-Id: <xEbZc.37492$bT1.16373@fed1read07>
I have a Dell DJ MP3 player and I've written a Perl script to select music
from my library to copy to the device. Now I'm looking for a snippet of
Perl to open a USB device for writing files. The problem is that the device
is not mounted with a drive letter. It shows up in Windows Explorer as a
Mobile Device. Any help is appreciated.
------------------------------
Date: Tue, 31 Aug 2004 21:36:14 -0500
From: rpw3@rpw3.org (Rob Warnock)
Subject: Re: Xah Lee's Unixism
Message-Id: <j-OdnS-Q8aADqKjcRVn-tQ@speakeasy.net>
Craig A. Finseth <news@finseth.com> wrote:
+---------------
| Ville Vainio <ville@spammers.com> wrote:
| >... and / as path separator still screws up most of their cmd line
| >programs (which think / is for command line options).
| >Microsoft probably thought avoiding compatibility is a good idea, and
| >have only lately started to have some regrets...
|
| Wrong. The / was chosen as the command line option separator because
| whoever wrote MSDOS was looking to CP/M, who modelled their commands
| after a PDP-11 operating system (RT-11?).
+---------------
Which, like PS/8 & OS-8 [and "DECsystem-8" from Geordia Tech] for the
PDP-8, modelled the command syntax after that of the venerable PDP-10!!
+---------------
| Consider the "PIP" command.
+---------------
Indeed. And COPY & DEL & DIR, etc.
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607
------------------------------
Date: Wed, 01 Sep 2004 05:42:45 +0000
From: Reynir Stefánsson <reynirhs@mi.is>
Subject: Re: Xah Lee's Unixism
Message-Id: <49naj0l3s4cgja010pi2q2si7nrej4fv1a@4ax.com>
So spake red floyd:
>CBFalconer wrote:
>
>> Dump Notepad and get Textpad. www.textpad.com. First class.
>>
>
>Let the editor flame wars begin!
>
>Get gv im!www.vim.org
In that case, I'll make a word for the microEmacs line. I very much
like MEWIN (a Windows 3.1 version of, I think, me311). It even has
user-definable newlines.
--
Reynir Stefánsson (reynirhs@mi.is)
------------------------------
Date: Wed, 01 Sep 2004 02:42:30 GMT
From: ChrisO <ceo@nospam.on.net>
Subject: Re: XML-RPC
Message-Id: <qGaZc.9804$Y94.5887@newssvr33.news.prodigy.com>
lepi wrote:
> Hello
>
> How can I get XML source written in a separate file from server response
> and client request before that XML gets parsed???
> Please, it is very important!!
>
> I'm using Frontier::RPC
>
If I'm understanding your question correctly (after reading it through
several times), you will either have to:
(1) Write a class module derived from Frontier::RPC and call this new
class (instead of Frontier::RPC) to write the client XML request and
server XML responses before and after (respectively) your RPC interaction.
(2) Directly modify/hack Frontier::RPC to do what you want it to do.
I favor option #1. Leave Frontier::RPC in it's pure form. But if you
are in a hurry, option #2 may be quicker to do.
-ceo
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#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.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
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.
#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 V10 Issue 6940
***************************************