[12463] in Perl-Users-Digest
Perl-Users Digest, Issue: 6063 Volume: 8
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Jun 20 03:07:28 1999
Date: Sun, 20 Jun 99 00:00:20 -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 Sun, 20 Jun 1999 Volume: 8 Number: 6063
Today's topics:
'Perl core' or 'perl core'? (Larry Rosler)
Re: Afraid to ask about Y2K! (Lee)
Re: Beginner program (Bob Trieger)
Chat and E-mail With Perl? <spud200@earthlink.net>
Re: Having trouble making this work... <portboy@home.com>
Re: Having trouble making this work... <portboy@home.com>
HELP! with script PLEASE! <benser@earthlink.net>
Re: HOW DO I PAD A STRING IN PERL?? (Tad McClellan)
Re: HOW DO I PAD A STRING IN PERL?? <uri@sysarch.com>
Re: HOW DO I PAD A STRING IN PERL?? <perfecto@ct2.nai.net>
Re: Language choice for high-volume Oracle CGI interfac (Tom Mornini)
Re: Language choice for high-volume Oracle CGI interfac <c_ferguson@rationalconcepts.com>
Re: math::Matrix casey@f5.com
Re: MIcrosofts Attack on Perl (Flavius Sabinus)
Re: Parsing bug in Perl? (Greg Andrews)
Re: PERL programmer needed for contract job... (Tad McClellan)
Perl Script Help <checker@usa.com>
Re: Printing compound variables (?) (Abigail)
Re: this charecter @ ruined my day!! <perfecto@ct2.nai.net>
Re: this charecter @ ruined my day!! <perfecto@ct2.nai.net>
Re: Urgent and important : CSV !!! (J. Moreno)
Re: Urgent and important : CSV !!! <rootbeer@redcat.com>
Re: Using Perl on MS PWS <rg@fubar.net>
Re: writing at mark from print <perfecto@ct2.nai.net>
Special: Digest Administrivia (Last modified: 12 Dec 98 (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sat, 19 Jun 1999 23:26:23 -0700
From: lr@hpl.hp.com (Larry Rosler)
Subject: 'Perl core' or 'perl core'?
Message-Id: <MPG.11d62948512f8fc989c02@nntp.hpl.hp.com>
Uri Guttman and I are completing a paper for the upcoming Perl
Conference in Monterey, on new efficient sorting techniques. We
disagree on the capitalization in the following paragraph, and are
trying to get a consensus from the wise heads in this newsgroup.
"Even the simplest custom sort in Perl will be less efficient than using
the default comparison. The default sort runs entirely in C code in the
[Pp]erl core, but any sortsub must execute Perl code. A well-known
optimization is to minimize the amount of Perl code executing and to try
to stay inside the [Pp]erl core as much as possible. Later we will show
various optimization techniques for Perl sorts that will reduce the
amount of Perl code executed."
So, which should it be, 'Perl core' or 'perl core'?
--
(Just Another Larry) Rosler
Hewlett-Packard Company
http://www.hpl.hp.com/personal/Larry_Rosler/
lr@hpl.hp.com
------------------------------
Date: Sat, 19 Jun 1999 23:15:36 -0500
From: rlb@intrinsix.ca (Lee)
Subject: Re: Afraid to ask about Y2K!
Message-Id: <B391D5189668601FBB@204.112.166.88>
In article <pudge-1906992056320001@192.168.0.77>,
pudge@pobox.com (Chris Nandor) wrote:
># In Perl, I *expect* to find the imaginary humantime() function. This is one
># of the few times it has left me disappointed.
>
>Write your own.
Heehee!
That's exactly what I said to someone here a couple of weeks ago.
>Here, I'll do it for you.
Thanks, but I already have one. And yours didn't satisfy all of the specs.
:)
I wasn't complaining or trolling. I was just commenting. It's the sort of
thing I expect to find in the core language, and it's not there.
Lee
------------------------------
Date: Sat, 19 Jun 1999 03:10:40 GMT
From: sowmaster@juicepigs.com (Bob Trieger)
Subject: Re: Beginner program
Message-Id: <7kevj3$b3$1@oak.prod.itd.earthlink.net>
[ courtesy cc sent by mail if address not munged ]
amirs@uclink4.berkeley.edu wrote:
>I have the following problem:
>
>I have a long text file with a thousands of short lines in it. About
>every 15 lines or so there are the following two consecutive lines:
>
>Maximum at x
>mean = y
>
>where x and y are some numbers.
>
>I want to write a Perl script to go and extract those numbers (x and y)
>from only those lines.
>
>I'm a Perl newcomer, I just started reading this Programming Perl
>(Oreilly) book this morning, with not that much help. I've gotten as far
>as being able to isolate just those two lines from the file, with a
>while loop and two if ($line =~ /pattern/) statements, but now I need to
>extract just the numbers out. Any ideas how?
>
>If possible, please email me as well as replying to the newsgroup as I
>can't check the newsgroup that often. Thanks in advance.
assuming the "mean" line always follows the "Maximum" line:
#!/usr/local/bin/perl -w
use strict;
my (@maximum,@minimum);
open FH,'/your/file' or die "Open failed: $!";
while (<FH>) {
next if (! /^Maximum/);
push @maximum, $1 if (/(\d+)/);
$_ = <FH>;
push @mean, $1 if ($mean = /(\d+)/);
}
close FH;
This is untested but should leave you with 2 arrays of the numbers to do
what you wish with them.
perldoc perlre
perldoc -f push
perldoc -f next
HTH
------------------------------
Date: Fri, 18 Jun 1999 16:15:45 -0700
From: "Spud" <spud200@earthlink.net>
Subject: Chat and E-mail With Perl?
Message-Id: <7kejvp$2ne$1@birch.prod.itd.earthlink.net>
I am thinking about writing a secure program for chatting and
sending/receiving e-mail in Perl. It would allow the user to select which
kind of encryption they would like (Diffie-Hellman, PGP, Blowfish, RSA,
etc.) I am quite a novice in the area of programming and cryptology, but I'm
fascinated by both and learning quickly. I would appreciate it if someone
could tell me whether or not this idea for a secure chat and e-mail network
would be possible and if so, point me in the right direction.
Thanks!
------------------------------
Date: Sun, 20 Jun 1999 05:30:18 GMT
From: Mitch <portboy@home.com>
Subject: Re: Having trouble making this work...
Message-Id: <376C7C5C.D3BC0E6B@home.com>
Eric Bohlman wrote:
> The problem is that you've stopped reading from your input file. I'd do the
> loop as:
>
> while (<CFG>) {
> print FILE $_; # note no comma after FILE
> last if /^--END/;
> }
> close(FILE);
Thanks a lot Eric, this is now working beautifully...
> : What's the plan with the data....hmmmm..... okay, when the multiple lines like
> : coke enable
> : coke sucks
> : are read into the script, they will only be used to see if they exist (meaning if a
> : user inputted coke sucks...error coke sucks exists) or to remove them from the
> : config file. Also, when the script is running the user might be able to input :
> : coke rules. This information (on a "save") needs to be written to the config... so
> : you have:
> :
> : coke enable
> : coke sucks
> : coke rules
> :
> : So, since I don't know how to implement this type of data structure - any help?
>
> If you want to be able to check whether a given attribute (like "sucks")
> is set for a given element (like "coke") you probably want a hash of
> hashes. You should read perlref, perllol and perldsc to learn more about
> complex data structures. You'll probably want to do something like changing
>
> $config{$var}=$value;
>
> to
>
> ++$config{$var}{$value};
Okay, I changed it to that. But when I'm printing it out the values, I get wierd
answers. here's how I'm printing it out.
while (($var, $value) = each(%config)) {
print "the var is $var and value is $value\n";
}
And I'm getting answers like this:
the var is coke and value is HASH(0x180998)
the var is pepsi and value is HASH(0x180a28)
the var is drpepper and value is HASH(0x1807e8)
> Then, later on, you'll be able to do tests like:
>
> if ($config{coke}{sucks} > $config{coke}{rules}) {
> print "More people hated coke than liked it.";
> }
>
> After reading the documents I listed, you should be able to figure out
> how to output the hash-of-hashes back to a config file.
I have gone through the docs, and can't seem to figure out how to print out the values or
how to set them. Help....
.mitch
------------------------------
Date: Sun, 20 Jun 1999 06:43:14 GMT
From: Mitch <portboy@home.com>
Subject: Re: Having trouble making this work...
Message-Id: <376C8D73.449CB3D1@home.com>
Mitch wrote:
> > : What's the plan with the data....hmmmm..... okay, when the multiple lines like
> > : coke enable
> > : coke sucks
> > : are read into the script, they will only be used to see if they exist (meaning if a
> > : user inputted coke sucks...error coke sucks exists) or to remove them from the
> > : config file. Also, when the script is running the user might be able to input :
> > : coke rules. This information (on a "save") needs to be written to the config... so
> > : you have:
> > :
> > : coke enable
> > : coke sucks
> > : coke rules
> > :
> > : So, since I don't know how to implement this type of data structure - any help?
> >
> > If you want to be able to check whether a given attribute (like "sucks")
> > is set for a given element (like "coke") you probably want a hash of
> > hashes. You should read perlref, perllol and perldsc to learn more about
> > complex data structures. You'll probably want to do something like changing
> >
> > $config{$var}=$value;
> >
> > to
> >
> > ++$config{$var}{$value};
>
> Okay, I changed it to that. But when I'm printing it out the values, I get wierd
> answers. here's how I'm printing it out.
>
> while (($var, $value) = each(%config)) {
> print "the var is $var and value is $value\n";
> }
> And I'm getting answers like this:
>
> the var is coke and value is HASH(0x180998)
> the var is pepsi and value is HASH(0x180a28)
> the var is drpepper and value is HASH(0x1807e8)
>
Okay, after really studying the perldsc, I'm able to do a foreach statement that will print
something like this:
pass: { foobar=1 } <- password
coke: { sucks=1 rules=1 dominates=1}
Here's the code I'm using to print this out:
foreach $foo ( keys %config ) {
print "$foo: { ";
for $foo2 ( keys %{ $config{$foo} } ) {
print "$foo2=$config{$foo}{$foo2} ";
}
print "}\n";
}
So, here's my question: #1 -> How do I printout what the password is? The only way I can
get anything out is by doing $config{pass}{foobar} which return 1. How do I printout the
password (pass) as foobar?
Can somebody help with this?
.mitch
------------------------------
Date: Mon, 14 Jun 1999 23:41:20 -0400
From: "Benny Fragomeli" <benser@earthlink.net>
Subject: HELP! with script PLEASE!
Message-Id: <7k4icl$egc$1@ash.prod.itd.earthlink.net>
Is it possible to have a perl script that generates an HTML "order page" and
before the perl script ends goto a different server "secure server" Giving
the appearance that the order form was fetched from the secure server?
------------------------------
Date: Sat, 19 Jun 1999 19:45:36 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: HOW DO I PAD A STRING IN PERL??
Message-Id: <03ahk7.tio.ln@magna.metronet.com>
Perry Fecteau (perfecto@ct2.nai.net) wrote:
: for example, i want 23 to look like 00023...
: how do i do that??
$num = '000' . $num if $num == 23;
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: 20 Jun 1999 01:08:03 -0400
From: Uri Guttman <uri@sysarch.com>
Subject: Re: HOW DO I PAD A STRING IN PERL??
Message-Id: <x7g13na28c.fsf@home.sysarch.com>
>>>>> "TM" == Tad McClellan <tadmc@metronet.com> writes:
TM> Perry Fecteau (perfecto@ct2.nai.net) wrote:
TM> : for example, i want 23 to look like 00023...
TM> : how do i do that??
TM> $num = '000' . $num if $num == 23;
substr( $num = '00000', 3, 2, 23) ;
:-)
uri
--
Uri Guttman ----------------- SYStems ARCHitecture and Software Engineering
uri@sysarch.com --------------------------- Perl, Internet, UNIX Consulting
Have Perl, Will Travel ----------------------------- http://www.sysarch.com
The Best Search Engine on the Net ------------- http://www.northernlight.com
------------------------------
Date: Sun, 20 Jun 1999 06:23:19 GMT
From: Perry Fecteau <perfecto@ct2.nai.net>
Subject: Re: HOW DO I PAD A STRING IN PERL??
Message-Id: <376C8923.DECE82BF@ct2.nai.net>
wrong. i want fixed length padding. ie, i want a 5 digit number zero
fill if the number is less than 5 digits.
23=00023
1=00001
1023=01023
38743=38743
ad infinitum..
Tad McClellan wrote:
>
> Perry Fecteau (perfecto@ct2.nai.net) wrote:
> : for example, i want 23 to look like 00023...
>
> : how do i do that??
>
> $num = '000' . $num if $num == 23;
>
> --
> Tad McClellan SGML Consulting
> tadmc@metronet.com Perl programming
> Fort Worth, Texas
--
J Perry Fecteau, 5-time Mr. Internet.
http://w3.nai.net/~perfecto
Star Wars Review at:
http://www.geocities.com/ResearchTriangle/Node/7160/episodeone.html
------------------------------
Date: Sun, 20 Jun 1999 05:39:02 GMT
From: tmornini@netcom.com (Tom Mornini)
Subject: Re: Language choice for high-volume Oracle CGI interface?
Message-Id: <tmorniniFDM2D2.50E@netcom.com>
Abigail (abigail@delanet.com) wrote:
: [] Don't use CGI for high-volume transactions. It spawns a process with a new
: [] database session for every hit.
: You must be years behind in your literature. Apache with mod_perl won't
: spawn processes.
And while it is a wonderful environment, and supports most CGI scripts written
in Perl, stictly speaking it's not CGI but CGI emulation.
I definitely think that you should take a look at mod_perl. With DBD::Oracle
modules available, mod_perl and Oracle can scale to enormously.
-- Tom Mornini
-- InfoMania
------------------------------
Date: Sat, 19 Jun 1999 13:16:47 -0700
From: "C." <c_ferguson@rationalconcepts.com>
Subject: Re: Language choice for high-volume Oracle CGI interface?
Message-Id: <376BFAAE.70CD2E76@rationalconcepts.com>
Hi,
I also would not go cgi. I suggest java, utilizing servlets, and the 8i is not
necessary but would be nice. (I'm using 8.0.4, but jdbc can connect back to 7.x.x
see the Oracle site.)
C. Ferguson, Rational Concepts, Inc.
Rene Pijlman wrote:
> Greg McCann <gregm@well.com> wrote:
> >We're doing a proposal for a system doing high-volume financial transactions on
> >the internet. We're expecting 10,000 transactions per day at the beginning, up
> >to 1,000,000 transactions per day eventually. The client has specified an
> >Oracle database with an NT web server, using SSL for secure communications both
> >between the browser client and our server and between remote servers and our
> >main server.
> >
> >We're debating what language to use for the CGI programming.
>
> Don't use CGI for high-volume transactions. It spawns a process with a new
> database session for every hit. Use Oracle Application Server instead. A good
> programming language would be PL/SQL or Java (Oracle 8i). This solution would
> be Oracle-dependent, but Microsoft-independent.
>
> Register for technet and browse:
> http://technet.oracle.com/product/appsvrs/oraapp/main.htm
> http://technet.oracle.com/product/appsvrs/oraapp/info2/oas40wp.pdf
>
> Vriendelijke groet,
> --
> Rene Pijlman <R.Pijlman@applinet.nl>
> http://www.applinet.nl/ Informatiesystemen & Internet
------------------------------
Date: Sun, 20 Jun 1999 05:06:38 GMT
From: casey@f5.com
Subject: Re: math::Matrix
Message-Id: <376c75da.133879298@news.semaphore.com>
It wasn't a mistake when I said I used Math::Matrix, that is the
module that I am using. I probably should be using Math::MatrixReal,
but I don't want to rewrite all of my code into a different format if
there is a simple way of getting it to work with the module I am
currently using. And I have read perldoc Math::Matrix and there is
nothing in there about getting the values out, I wanted to know if
anyone came up with a workaround, because otherwise it is a virtually
useless module.
-Casey
On 18 Jun 1999 20:06:15 GMT, Steffen Beyer <sb@sdm.de> wrote:
>In article <376a6ee9.1030361@news.semaphore.com>, casey@f5.com wrote:
>
>> I am useing the Math::Matrix module and have run into a problem when I
>> try to my values back out. There doesn't seem to be anyway to get the
>> product of a matrix multiplication except sending it to stdout via
>> ->print. Does anyone know of a way to get specific values in the
>> matrix out of the Math::Matrix construct?
>
>The name of the method is "element()". See also the module's documentation.
>("man Math::MatrixReal" (Unix) or "perldoc Math::MatrixReal" (Unix and Win32))
>
>--
> Steffen Beyer <sb@engelschall.com>
> http://www.engelschall.com/u/sb/whoami/
> http://www.engelschall.com/u/sb/download/
> http://www.perl.com/CPAN/authors/id/STBEY/
> http://www.oreilly.de/catalog/perlmodger/bnp/
------------------------------
Date: Wed, 16 Jun 1999 20:26:26 GMT
From: endh1b@yahoo.com (Flavius Sabinus)
Subject: Re: MIcrosofts Attack on Perl
Message-Id: <7k91a3$qtt$3@oak.prod.itd.earthlink.net>
In article <3767DAD1.A64A7D1E@bridge.bst.bls.com>, Steve Horne <steve.horne1@bridge.bst.bls.com> wrote:
>As an active participant in the interview/evaluation process, I view
>past experience with VC++ differently than straight C++ experience. Due
>to MS VC++'s GUI drag-and-drop "programming", experience with VC++
>counts for less than equivalent work done with the actual language
>itself.
Sounds like VB rather and VC++?
John - N8086N
Big brother is watching. Disable cookies in your web browser.
-------------------------------------------
Wise man says "Never use a bank with the initials F. U."
-------------------------------------------
Are you interested in a professional society or
guild for programmers? Want to fight section 1706?
See www.programmersguild.org
Newsgroup: us.issues.occupations.computer-programmers
EMail Address:
_m-i-a-n-o_@_c_o_l_o_s_s_e_u_m_b_u_i_l_d_e_r_s._c_o_m_
------------------------------
Date: 19 Jun 1999 23:54:27 -0700
From: gerg@shell.ncal.verio.com (Greg Andrews)
Subject: Re: Parsing bug in Perl?
Message-Id: <7ki373$b3s$1@shell1.ncal.verio.com>
abigail@delanet.com writes:
>Bart Lateur (bart.lateur@skynet.be) wrote on MMCXVIII September MCMXCIII
>in <URL:news:376d59d1.2015253@news.skynet.be>:
>!! Sean McAfee wrote:
>!!
>!! >NNTP-Posting-Date: Sat, 19 Jun 1999 04:05:47 EDT
>!!
>!! I don't believe this. Are you guys really posting in the middle of the
>!! night? Tom Phoenix's reply dates from 2 AM local time. Jesus. Over here,
>!! it's almost 11 AM, so for me, it's, er, "natural".
>
>
>The Perl Community never sleeps.
>
Sounds like a job for the IPC::Rust module. For those times
when you really, really need to bypass sleep().
-Greg
------------------------------
Date: Sat, 19 Jun 1999 19:04:09 -0400
From: tadmc@metronet.com (Tad McClellan)
Subject: Re: PERL programmer needed for contract job...
Message-Id: <9l7hk7.ego.ln@magna.metronet.com>
Jonathan Stowe (gellyfish@gellyfish.com) wrote:
: On Fri, 18 Jun 1999 08:38:41 -0400 brian d foy wrote:
: >
: > you forgot to rewrite wwwboard. ;)
^^^^^^^
^^^^^^^
: I just couldnt do it -
: vi^H^Hvi^H^Hvi^H^Hrm wwwboard.pl
: Aaaah thats better ...
Maybe so.
But it doesn't follow the spec!
I think this does it though:
> wwwboard.pl
or
cat </dev/null >wwwboard.pl
--
Tad McClellan SGML Consulting
tadmc@metronet.com Perl programming
Fort Worth, Texas
------------------------------
Date: Thu, 17 Jun 1999 17:31:54 -0400
From: "Corgi-lover" <checker@usa.com>
Subject: Perl Script Help
Message-Id: <7kbp5t$4pi$1@ash.prod.itd.earthlink.net>
I'm using a Perl Script on a new webpage I've created.
I need to make minor changes (text, webpage URL) to the script.
I used a Perl editor but whatever small change I implement I get an error
message from my server.
As soon as I reinstall the original script everythign works fine again.
What am I doing wrong???
Please email directly if you can help
Thanks
--
Meik Bartoschek CPC CPMC
Executive Director IGPC
President mbglobaltraining, Inc.
mbglobal@writeme.com / director@igpc.org
--
Meik Bartoschek CPC CPMC
Executive Director IGPC
President mbglobaltraining, Inc.
mbglobal@writeme.com / director@igpc.org
------------------------------
Date: 19 Jun 1999 17:17:45 -0500
From: abigail@delanet.com (Abigail)
Subject: Re: Printing compound variables (?)
Message-Id: <slrn7mo5o4.ch1.abigail@alexandra.delanet.com>
David Cassell (cassell@mail.cor.epa.gov) wrote on MMCXVIII September
MCMXCIII in <URL:news:376BF911.16AF42CE@mail.cor.epa.gov>:
\\ Abigail wrote:
\\ >
\\ > vectorcalculus@my-deja.com (vectorcalculus@my-deja.com) wrote on MMCXVII
\\ > [all that junk snipped]
\\ >
\\ > Is there a reason to ask a question that gets asked 27 times a week
\\ > in this group, and that's answered in the FAQ *TWICE*?
\\
\\ I'm afraid so. I have heard from some people who were
\\ thanking me for answering their questions without roasting
\\ their posteriors off, and I learned that:
\\ [0] many of these posters don't have the docs;
That's no excuse. Perl comes with docs.
\\ [1] many of them don't have their own copy of Perl, just
\\ inadequate access to that of their ISP/webhost;
That's no excuse either. I doubt any of them uses a platform that
doesn't run perl.
\\ [2] many of them don't know that there *is* a FAQ;
Which means they haven't bothered to read the main man page; it's mentioned
in the first 25 lines.
\\ [3] many of them don't know how to behave on Usenet, or even
\\ that Usenet is some sort of separate entity;
Then they should be flogged till they do know how to behave.
\\ [4] many of them don't know what deja.com is, much less how
\\ to use it;
This poster *posted* from deja.com....
\\ [5] many of them have never programmed before, and hence have
\\ no idea that there might be a better way than
\\ $$fred = 23;
Strange. I never get the impression beginning C or Pascal programmers
ask for this.
\\ ...
\\
\\ To quote a movie teaser: "Be afraid. Be very afraid."
"Veronica `Ronnie' Quaife" in `The Fly', 1986. What did I win?
Abigail
--
sub f{sprintf$_[0],$_[1],$_[2]}print f('%c%s',74,f('%c%s',117,f('%c%s',115,f(
'%c%s',116,f('%c%s',32,f('%c%s',97,f('%c%s',0x6e,f('%c%s',111,f('%c%s',116,f(
'%c%s',104,f('%c%s',0x65,f('%c%s',114,f('%c%s',32,f('%c%s',80,f('%c%s',101,f(
'%c%s',114,f('%c%s',0x6c,f('%c%s',32,f('%c%s',0x48,f('%c%s',97,f('%c%s',99,f(
'%c%s',107,f('%c%s',101,f('%c%s',114,f('%c%s',10,)))))))))))))))))))))))))
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including Dedicated Binaries Servers ==-----
------------------------------
Date: Sun, 20 Jun 1999 06:18:26 GMT
From: Perry Fecteau <perfecto@ct2.nai.net>
Subject: Re: this charecter @ ruined my day!!
Message-Id: <376C87FD.CFF8A95F@ct2.nai.net>
you have to put <A HREF="mailto:you\@yourdomain.com">. it thinks
yourdomain is an array.
Brian Dodd wrote:
>
> I am wrining a script that creates a html page. One part of the page is
> a link to ane-mail address. Every time I put the @ charecter in my cgi
> wont run??? if I put <A HREF="mailto:you yourdomain.com"> the script
> will run. If I put <A HREF="mailto:you@yourdomain.com"> the script
> dies. I cant read the error log because it is 33 meg. I cant telenet
> either. The @ is not an operator is it. Is their a way to write a @
> without a @? I tried to put th @ into a variable an then just put the
> variable where the @ should go.
--
J Perry Fecteau, 5-time Mr. Internet.
http://w3.nai.net/~perfecto
Star Wars Review at:
http://www.geocities.com/ResearchTriangle/Node/7160/episodeone.html
------------------------------
Date: Sun, 20 Jun 1999 06:20:05 GMT
From: Perry Fecteau <perfecto@ct2.nai.net>
Subject: Re: this charecter @ ruined my day!!
Message-Id: <376C8861.560914AB@ct2.nai.net>
i like the apache method. it's fun to have my homemade web server
running on my pc anyway.
Wyzelli wrote:
>
> Craig Ciquera <craig@mathworks.com> wrote in message
> news:3767E0E3.F894A2D7@mathworks.com...
> > Toronto Augustan wrote:
> >
> > > Gabriel Russell explains it all:
> > >
> > > :ALWAYS ALWAYS ALWAYS debug your cgi scripts on the command line.
> > > :If they wont work there then they wont work under a webserver.
> > >
> > > PLEASE PLEASE PLEASE snip unnecessary followup lines, and reply
> > > below the quoted material you're replying to. Thanks.
> > >
> > > If those quickie web hosting companies won't provide logs, they
> > > certainly won't provide command line access.
> > >
> >
> > Don't know where this thread started, but I would certainly recommend
> > running a web server configuration ON YOUR MACHINE, that mirrors the web
> > server configuration of your ISP. Then you can debug from the command
> > line and rest at night knowing your scripts will work.
> >
> > Craig
> >
> Just to follow this thread..
>
> PerlBuilder also provides a development environment which enables quick CGI
> testing on the desktop without having to install a Web server.
>
> Trial download from www.solutionsoft.com
>
> (Speaking as a happy user, not a sales person)
>
> Wyzelli
--
J Perry Fecteau, 5-time Mr. Internet.
http://w3.nai.net/~perfecto
Star Wars Review at:
http://www.geocities.com/ResearchTriangle/Node/7160/episodeone.html
------------------------------
Date: Sun, 20 Jun 1999 00:37:18 -0400
From: planb@newsreaders.com (J. Moreno)
Subject: Re: Urgent and important : CSV !!!
Message-Id: <1dto78t.xmxoq7gdixcuN@roxboro0-0015.dyn.interpath.net>
Lamarck Pauline <revjack@radix.net> wrote:
> Tom Phoenix explains it all:
>
> :It used to be that, by the time someone had gotten
> :into college, they had learned to disguise their
> :request so that it didn't look so much like they
> :were asking for help on their homework. Aren't the
> :public schools teaching the basics anymore? Ptsch.
>
> Anyone ever tempted to give *bad* advice to these pleas,
> just to break the monotony?
Yep, but not in the last year or so and it was in a pascal group...
Still, if you think you can come up with something that looks right but
fails miserably, go for it.
--
John Moreno
------------------------------
Date: Sat, 19 Jun 1999 22:11:44 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: Urgent and important : CSV !!!
Message-Id: <Pine.GSO.4.02A.9906192208340.20930-100000@user2.teleport.com>
On 20 Jun 1999, Lamarck Pauline wrote:
> Anyone ever tempted to give *bad* advice to these pleas,
> just to break the monotony?
Here's one from my archives:
On Wed, 5 Feb 1997, Thierry DELATTRE wrote:
> I'm looking for a free oneliner perl script. Do you
> ever saw one somewhere ?
perl -e 'print pack "H*", "49276d20667265652120" x 2 . "3a2d290a"'
Well, _I_ liked it.
Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Fri, 18 Jun 1999 09:43:45 -0700
From: "Rich G." <rg@fubar.net>
Subject: Re: Using Perl on MS PWS
Message-Id: <7kdt1e$g8g$1@ash.prod.itd.earthlink.net>
Mike Cooper wrote in message <376a15c9@isoit370.bbn.hp.com>...
>
>Hi John,
>Can't really be of much help, but it's something I need to do on NT soon.
>Maybe Microsoft article Q150629 "Configuring and Testing a PERL Script with
...
>The String value is <the full path to perl.exe>\perl.exe %s %s
>NOTE: The "%s %s" is case sensitive. (e.g. "%S %S" will not work).
Actually, I've tried setting up Perl with PWS, and the only way to do it is to
set the path to perl as
"perl.exe %s" instead of with two %s, as IIS requires. Don't ask me why it
works, but it does. Who knows why MS does anything?
Good luck,
Rich G.
------------------------------
Date: Sun, 20 Jun 1999 06:25:37 GMT
From: Perry Fecteau <perfecto@ct2.nai.net>
Subject: Re: writing at mark from print
Message-Id: <376C89AD.51742D79@ct2.nai.net>
print "me\@domain.net";
or
print 'me@domain.net';
Oreg Dixie wrote:
>
> Hi!
>
> How can I write out @-mark from print?
>
> Because print "me@domain.net"; doesn't work.
>
> Thanks in advance!
>
> Flatline
--
J Perry Fecteau, 5-time Mr. Internet.
http://w3.nai.net/~perfecto
Star Wars Review at:
http://www.geocities.com/ResearchTriangle/Node/7160/episodeone.html
------------------------------
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 6063
**************************************