[16018] in Perl-Users-Digest
Perl-Users Digest, Issue: 3430 Volume: 9
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Tue Jun 20 14:05:36 2000
Date: Tue, 20 Jun 2000 11:05:16 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Message-Id: <961524316-v9-i3430@ruby.oce.orst.edu>
Content-Type: text
Perl-Users Digest Tue, 20 Jun 2000 Volume: 9 Number: 3430
Today's topics:
Re: [ Regexp ] Curious Behaviour of " last if /(match)/ <dan@tuatha.sidhe.org>
Activeware Perl and Windows 2000 <jtalbain@nospam.kimochi3d.com>
Re: Activeware Perl and Windows 2000 <rootbeer@redcat.com>
Re: Any Perl experts around? <gellyfish@gellyfish.com>
Re: Any Perl experts around? (Brandon Metcalf)
Re: Buscamos Programador para EEUU <care227@attglobal.net>
Re: compiling a decryption module for Perlfilter <rootbeer@redcat.com>
Re: Crazy enough that it might just work... <care227@attglobal.net>
Re: debugging an already running program <rootbeer@redcat.com>
Re: du perl trial - recursive neverending loop occurs <rootbeer@redcat.com>
Re: extracting data from web pages <gellyfish@gellyfish.com>
Re: Formatting question? (Bart Lateur)
Re: Formatting question? <jcook@strobedata.com>
Re: fortran modules <randy@theoryx5.uwinnipeg.ca>
Re: Getting current working directory in perl script <dmeyers@panix.com>
Re: Getting current working directory in perl script <rootbeer@redcat.com>
Re: help creating directories with perl <sariq@texas.net>
Re: how to check for integer? <franl-removethis@world.omitthis.std.com>
how to reset open file limit from perl on UNIX? <jander@ml.com>
Re: how to reset open file limit from perl on UNIX? <rootbeer@redcat.com>
I need to get better at Perl ohako@my-deja.com
Re: I need to get better at Perl <care227@attglobal.net>
Re: I need to get better at Perl <gellyfish@gellyfish.com>
Re: I need to get better at Perl <mhc@Eng.Sun.COM>
Re: I need to get better at Perl <care227@attglobal.net>
Re: install and use POP3Client <brian@bluecoat93.org>
Re: Internet Programmers Wanted! <daniel@fontbank.com>
Digest Administrivia (Last modified: 16 Sep 99) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Tue, 20 Jun 2000 15:05:20 GMT
From: Dan Sugalski <dan@tuatha.sidhe.org>
Subject: Re: [ Regexp ] Curious Behaviour of " last if /(match)/ "
Message-Id: <QKL35.5107$Zg4.20412@news1.rdc1.ct.home.com>
Stephen Collyer <stephen@twocats.dont-spam.demon.co.uk> wrote:
> Perl arranges that $1 is implicitly local to the closest enclosing
> block, so inside process_match, $1 can be set or changed as
> often as required, but its original value will be restored when
> the block terminates (i.e. when the sub returns). This means
> that you can call subroutines with wild abandon, and they can
> modify $1, $2 etc and *you don't have to know or care about it*
> - when they've done their work, your values of $1 etc are
> restored.
This isn't strictly speaking, true. Perl doesn't actually localize the
match variables so much as play some interesting tricks with data
structues attached to the optree. (Try playing with regexes and recursive
subroutines and you'll see what I mean) It acts like you have a local copy
most of the time, but not always.
It's best to snag your match memory variables as soon as possible and not
count on $1 and friends maintaining useful data for very long.
Dan
------------------------------
Date: Tue, 20 Jun 2000 23:26:47 +0800
From: "Kimochi3D" <jtalbain@nospam.kimochi3d.com>
Subject: Activeware Perl and Windows 2000
Message-Id: <8io22d$f1j$1@mawar.singnet.com.sg>
Hello,
I used to run my perl scripts Win95's command prompt to check out that they
work before I upload them to my server. A typical query would probably be:
C:\Scripts>perl main.cgi domain=www.here.com idnum=4278
With Win95, my script will be able to get the variables, either directly
from the $ENV or via one of the parsing routines.......
However, this doesn't work on Win2k! the variables don't seem to show up in
Win2k.
If I upload the script to the web server, it works. Is this something to do
with Win2k's command prompt? It's cmd.exe, not command.com.......
I'm running the latest download of activeware's perl 5.6, on windows 2000.
Thanks for any assistance!
--
*remove nospam from email address before reply!*
Regards,
Alvin Yap
http://www.kimochi3d.com
------------------------------
Date: Tue, 20 Jun 2000 11:01:43 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: Activeware Perl and Windows 2000
Message-Id: <Pine.GSO.4.10.10006201057080.29843-100000@user2.teleport.com>
On Tue, 20 Jun 2000, Kimochi3D wrote:
> I used to run my perl scripts Win95's command prompt to check out that they
> work before I upload them to my server.
A wise tactic.
> A typical query would probably be:
>
> C:\Scripts>perl main.cgi domain=www.here.com idnum=4278
Sounds as if you're using the CGI module. Good!
> With Win95, my script will be able to get the variables, either directly
> from the $ENV or via one of the parsing routines.......
>
> However, this doesn't work on Win2k! the variables don't seem to show up in
> Win2k.
Sounds as if Win2k changed its way of doing this. But if you're using the
CGI module, you should be able to type the name=value pairs, when
prompted, at the console. Doesn't this work as documented?
> Is this something to do with Win2k's command prompt? It's cmd.exe, not
> command.com.......
Could be. Perhaps you should search for the docs, FAQs, and newsgroups
about that program or your system.
Good luck with it!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Jun 2000 15:25:02 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: Any Perl experts around?
Message-Id: <i1M35.410$My4.40073@news.dircon.co.uk>
On Tue, 20 Jun 2000 14:38:16 +0200, Alan J. Flavell Wrote:
> On Tue, 20 Jun 2000 farahas@my-deja.com up-ended usenet in
> the newfangled way of things, and blurted out:
>
>> Obviously the word mannerism doesn't figure in your
>> dictionary....
>
> bizarre
>
I think what you meant to say was the word mannerism does but apparently
its broken because the meaning it suggests would be inappropriate in this
context.
>
> Score duly adjusted.
>
Straight in with the -100 for me i'm afraid ... ;-}
/J\
------------------------------
Date: 20 Jun 2000 16:50:08 GMT
From: bmetcalf@baynetworks.com (Brandon Metcalf)
Subject: Re: Any Perl experts around?
Message-Id: <8io7c0$hsd$1@bcrkh13.ca.nortel.com>
farahas@my-deja.com writes:
> Obviously the word mannerism doesn't figure in your
> dictionary....
What dictionary are you using?
> qsupport.com and they have a exclusive section for experts who can
> handle queries from users.
> I wanted to pass on the info to those guys.......
Whatever.
Brandon
------------------------------
Date: Tue, 20 Jun 2000 10:40:06 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: Buscamos Programador para EEUU
Message-Id: <394F8246.68E65E80@attglobal.net>
Jonathan Stowe wrote:
>
>
> Please search Deja News for David Adler's usual response to job postings
> here.
>
> ( Hey its a kind of do it yourself flame ) ;-}
>
Heh.. kinda like when your dad told you to go get the belt.
------------------------------
Date: Tue, 20 Jun 2000 10:39:01 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: compiling a decryption module for Perlfilter
Message-Id: <Pine.GSO.4.10.10006201034260.29843-100000@user2.teleport.com>
On 19 Jun 2000, Eric Smith wrote:
> I am using the Perl Source filter module to encrypt source code
<sigh> If you must....
> for distribution on win32 but wish to compile the decryption algorythm
> Package.
Well, that's the only way, if you want to do it right.
> I have much experience with PerlApp.pl to exe's but none with creating
> either COM objects or Perl controls and "no" C knowledge (in case of
> suggestions to use a compiled C decrypto).
It sounds as if you're going to need to learn. Or to hire someone who
knows!
> I am looking for something that while resonably easy to implement will
> be as efficient as possible.
That would be the null filter. Of course, that's especialy weak
encryption. (I'm poking fun at your request. Do you see why? :-)
I recommend hiring a real cryptographer. Else you'll likely end up with
snake oil.
Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Jun 2000 10:04:39 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: Crazy enough that it might just work...
Message-Id: <394F79F7.D12DF2FA@attglobal.net>
Agentkhaki wrote:
>
> <frowns>
>
> I sincerely apologize to Tad McClellan (and everyone else) for
> my misuse of the post and for my comments about him, born out of
> anger at my own stupidity more than anything else.
wrong ne stupid. If you keep that straight, you'll have a much
easier road.
>
> After re-reading all the posts, I must agree that HTML isn't a
> programming language per se. You're right, you cannot make HTML
^^^^^^
> do something, such as add two numbers.
Not per se, not at all. Per se might imply to some that HTML
can be made a programming language with some additions. This is
false.
>
> My understanding of programming in the sense of writing code in
> C, C++, Perl, etc is somewhat limited. I'm just starting to
> learn, and I've got a long (and frustrating) way to go.
Good luck.
>
> The reason that I still feel that HTML is a programming language
> in some senses is this:
I knew it!
> If I sit down and write an actual
> program in C, I've written something that's pretty much useless
> in and of itself.
Then you need to write more clever programs. Or maybe you
haven't discovered the compiler? =)
> That is to say, that original file, complied
> in (G)Notepad doesn't stand up by itself.
s/compiled/written/
> Just like an HTML
> file. However, when I run that little file through a compiler,
> poof, I've suddenly got an output that's useable.
>
> HTML doesn't exactly run through a compiler, but it does get
> read by a browser. What it contains is interpreted and then a
> finished product is spewed forth. Granted the output won't look
> the same on every browser, but I think that the argument that
> HTML isn't a programming language because of this is fairly
> weak. Furthermore, HTML is about 'do this.' Without it, web
> browsers are useless.
How a file looks is not the determining factor where programming
language or not programming language is concerned. HTML
(Hypertext _markup_ language) is a simple formatting method.
It is just like adding nroff/troff markups to a plain text file
that will output pretty text with silly typeface. It is not,
however, programming.
> I think it is pretty clear that HTML tells
> a browser 'do this' and, after some complaining and perhaps a
> little modification, it does pretty much that.
You need to study what a web browser does just a bit more.
Its not pretty clear to me that a browser is directed by
an HTML file.
> The point that
> programming languages are not flexible like this is a very good
> one. (I have a feeling Kira explained that much better than I
> just did...).
>
> So, in short, I am the immature one. Hey, what can I say... my
> parent never let me out of the house. I didn't exactly 'grow up'
> so to speak. Had I simply said 'writing HTML' instead of
> programming, none of this never would have been an issue. Yes,
> HTML isn't a programming language in the true sense of the word,
You are trying to manipulate the point. HTML is not a programming
language _at all_.
> especially when you get down to the nitty-gritty, but it also
> shares many parallels.
Does not.
> I guess I'm not ready to hang with the big guns yet. Like I
> said, still stumbling through most things that have to do with
> programming. Again, please access my apologies.
>
appology accessed at memory address 0x8FFF.
(anyone corrects my hex notation, I'll virtua-slap them!)
------------------------------
Date: Tue, 20 Jun 2000 09:50:50 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: debugging an already running program
Message-Id: <Pine.GSO.4.10.10006200932170.29843-100000@user2.teleport.com>
On Tue, 20 Jun 2000, warrenb10 wrote:
> I've got a program which is run hundreds of times a day, it hangs once
> a day or so, haven't been able to find any way to get it to hang on
> demand.
> If I had this problem with a C program, I'd generate a core dump and
> look at it with the debugger (or debug a running process if the
> debugger on that system supported it). Is there a way to do something
> similar with the Perl debugger? I read the doc, looks like you have
> to start the program in the debugger.
Right. But if you can get a core dump, you can use a debugger like gdb to
see whether you were in a blocking system call (like flock), at least. And
if you have a debugging version of perl (compiled with -DDEBUGGING), there
may be other options available to you. There ought to be a way of finding
your current file and line number, but I can't see what it is.
> If this can't be done, I'd settle for a stack trace (of my Perl
> program, not of the interpreter).
That ought to be possible as well, but I can't say whether it is or not.
One thought worth persuing: Could you have a "neverending" regular
expression, by chance? See Friedl's book "Mastering Regular Expressions".
Here's a possible debugging tactic: Have your program append "got here"
messages to a logfile, including their current line number and anything
else you might wish to know. When one hangs, you can read the last message
to learn where it was last seen alive.
Good luck!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Jun 2000 08:47:14 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: du perl trial - recursive neverending loop occurs
Message-Id: <Pine.GSO.4.10.10006200842240.29843-100000@user2.teleport.com>
On 19 Jun 2000, Mike wrote:
> I can't come up with a case where -s $new_name would work but
> stat($new_name) would fail.
Since -s uses stat() internally, that's not surprising. :-) It's "merely"
more convenient syntax. I put "merely" in quotes because it's much more
easy to read, write, debug, and maintain. If you use a slice on stat(),
your maintenance programmer is more likely to have to look up the stat
docs to see which item you're using. But -s is more likely to be in their
memory.
> What, outside of not having read permission, would cause the inability
> to stat.
Someone deleted the file or directory before you got to it. There are too
many symbolic links leading up to the file or directory. The file or
directory is on a no-longer-mounted filesystem. See your system's stat(2)
manpage for more.
Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Jun 2000 16:03:55 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: extracting data from web pages
Message-Id: <LBM35.417$My4.40110@news.dircon.co.uk>
On Tue, 20 Jun 2000 11:54:28 GMT, akerne_orchids@my-deja.com Wrote:
> Hi,
>
> Some time I thought I found a perl script that could extract data from
> URL supplied to it, unfortunately I lost the reference.
>
> Could anyone point me towards existing perl scripts that can be used to
> extract data (specific occurences) from web pages, or point me in the
> right direction of a couple of partial solutions...
>
Search the site that you posted from for LWP::UserAgent & HTML::Parser ...
/J\
------------------------------
Date: Tue, 20 Jun 2000 17:13:32 GMT
From: bart.lateur@skynet.be (Bart Lateur)
Subject: Re: Formatting question?
Message-Id: <3951a3c3.958441@news.skynet.be>
Larry Rosler wrote:
>The original
>question was whether he could calculate results within a string rather
>than interpolating them. I showed how, with references to the
>documentation.
Let me step in at this point, and point top MJD's module and article:
http://www.plover.com/~mjd/perl/Identity/index.html
It is based upon the fact that code in a hash or an array index, even
inside a string, is always executed.
%word = ( 1 => 'one', 2 => 'two', 3 => 'three');
print "The sum of $word{1} and $word{2} is $word{1+2}.\n";
Ergo, make a tied hash which applies a funtion to it's "key", returning
a string, and you can calculate inside a string -- even preformat the
result. Oops, I've spoiled it. That was the whole secret. ;-)
--
Bart.
------------------------------
Date: Tue, 20 Jun 2000 10:27:21 -0700
From: Jim Cook <jcook@strobedata.com>
To: Kira <callgirl@la.znet.com>
Subject: Re: Formatting question?
Message-Id: <394FA979.E83F917@strobedata.com>
I hope I did this correctly. The reason I tried to answer your timing
question when Mr. Rosler did not is that I'm trying to learn how to use
the benchmark.pm that Larry so nicely pointed out.
If I've blown it, I'd be happy to have somebody point out how I should
have done it.
It looks like your first (index, substr) method is faster than your
second (sprintf).
--------------------begin code--------------------
use benchmark
$s1 = '$_ = ${\substr ($string, 0, (index ($string, ".") + 3))}';
$s2 = '$_ = ${\sprintf \'%.2f\' => $string}';
$string = "1234.56789";
Benchmark::cmpthese(400000, {'n1' => $s1, 'n2' => $s2});
--------------------end code--------------------
--------------------begin output
Benchmark: timing 400000 iterations of n1, n2...
n1: 7 wallclock secs ( 7.54 usr + 0.00 sys = 7.54 CPU) @
53036.33/s (n=400000)
n2: 15 wallclock secs (14.85 usr + 0.00 sys = 14.85 CPU) @
26932.40/s (n=400000)
Rate n2 n1
n2 26932/s -- -49%
n1 53036/s 97% --
--------------------end output--------------------
> time these two methods?
> $string = "1234.56789";
>
> print <<EOL;
> ${\substr ($string, 0, (index ($string, ".") + 3))}
> EOL
>
> print <<FOL;
> ${\sprintf '%.2f' => $string}
> FOL
--
jcook@strobedata.com Live Honourably 4/1 - 4/3 + 4/5 - 4/7 + . . .
2000 Tuesdays: Feb/last 4/4 6/6 8/8/ 10/10 12/12 9/5 5/9 7/11 11/7 3/14
Strobe Data Inc. home page http://www.strobedata.com
My home page O- http://jcook.net
------------------------------
Date: 20 Jun 2000 14:15:48 GMT
From: Randy Kobes <randy@theoryx5.uwinnipeg.ca>
Subject: Re: fortran modules
Message-Id: <8inuak$7qd$1@canopus.cc.umanitoba.ca>
In comp.lang.perl.misc, Daniel Heiserer <daniel.heiserer@bmw.de> wrote:
> I want to integrate existing fortran code into perl by
> making modules out of it.
> I have seen swig which looks extremely nice but supports
> only C/C++. I also have seen some phyton/fortran
> connection.
[ ... ]
> The only things I could think of would be
> to to write foreach fortran function a C wrapper
> which contains only a call to the fortran routine
> and a data pass through and then use these
> C functions to swig them into a shared object.
> Unfortunately I am not the IT expert to know if this
> is enough or if it also would be enough to just
> take the shared object or what the different
> between a fortran shard object and a c shared
> object is. The main difference I have seen that
> the fortran functions get a '_' appended in
> the .so.
Perhaps the ExtUtils::F77 module might be of help here - it
tries (depending on the system) to figure out how to link
C programs with fortran subroutines. See, for example,
http://theoryx5.uwinnipeg.ca/CPAN/data/ExtUtils-0577/F77.html.
best regards,
randy kobes
------------------------------
Date: 20 Jun 2000 10:49:15 -0400
From: David Meyers <dmeyers@panix.com>
Subject: Re: Getting current working directory in perl script
Message-Id: <yobitv4z9uc.fsf@panix2.panix.com>
glchy <glchyNOglSPAM@cc21.com.sg.invalid> writes:
> this is a simple question. I would like to get the current
> working directory in my perl script and unshift it in my @INC.
> Was thrown those codes:
>
> eval {
> ($0 =~ m,(.*)/[^/]+,) && unshift (@INC, "$1");
> }
That might get you the directory where the perl script
itself lives and it might not. Moreover, that's not
the working directory.
I suspect, however, that what you want is, indeed, the
directory wherein the perl script lives since you probably
have your module in that same place. In which case you
want FindBin:
use FindBin qw($Bin);
use lib "$Bin/../lib";
# Or, in your case, perhaps
use lib $Bin;
See the docs for more details.
--d
------------------------------
Date: Tue, 20 Jun 2000 09:14:45 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: Getting current working directory in perl script
Message-Id: <Pine.GSO.4.10.10006200912010.29843-100000@user2.teleport.com>
On Tue, 20 Jun 2000, Clinton A. Pierce wrote:
> Then why not just:
>
> use lib '.';
Except when taint checking is enabled, '.' is already included in the @INC
search. When taint checking is enabled, relative paths like '.' are
disallowed. So I don't think this line of code is useful, except in the
rare case that there's an archname subdirectory to the current directory.
Am I missing something?
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Jun 2000 09:30:11 -0500
From: Tom Briles <sariq@texas.net>
Subject: Re: help creating directories with perl
Message-Id: <394F7FF3.DFF1AD90@texas.net>
VincentMurphy@mediaone.net wrote:
>
> >>>>> "Tom" == Tom Briles <sariq@texas.net> writes:
>
> Tom> Jubilee Prescott wrote:
> >>
> >> How can I create directories with perl? I'm on a redhat 6 machine.
>
> Tom> Perl's base functions are documented in the 'perlfunc' page of the
> Tom> manual.
>
> Tom> Type 'perldoc perlfunc' at your command prompt, and perhaps you'll find
> Tom> something similar to Linux's 'mkdir' in there.
>
> perldoc File::Path
>
> This is a more portable solution, to operating systems like Windows, than
> something like system mkdir ...
Perhaps you could point out where 'system mkdir' is mentioned in the
'perlfunc' page of the manual, because *I* sure can't find it!
- Tom
------------------------------
Date: Tue, 20 Jun 2000 16:04:43 GMT
From: Francis Litterio <franl-removethis@world.omitthis.std.com>
Subject: Re: how to check for integer?
Message-Id: <m3k8fk8hk4.fsf@franl.andover.net>
elephant@squirrelgroup.com (jason) writes:
> Mariska writes ..
> >I don't know how to check if a number is an integer.
> if you don't know whether it'll be an integer or not then a small change
> to
>
> $var =~ /^\d*[02468]$/;
>
> will make sure it's an integer
That doesn't detect negative integers (e.g. -3).
------------------------------
Date: 20 Jun 2000 11:30:24 -0400
From: Jim Anderson <jander@ml.com>
Subject: how to reset open file limit from perl on UNIX?
Message-Id: <wkbsnu8e5f3.fsf@ml.com>
I'm getting bitten by the open file limit on UNIX and haven't managed
to figure out how to reset it from within a perl script.
Any help greatly appreciated.
(Please e-mail me directly, since workload precludes me monitoring
this group.)
Thanks very much,
jim
--
Jim Anderson jander@ml.com
(212) 236-0681
------------------------------
Date: Tue, 20 Jun 2000 10:33:46 -0700
From: Tom Phoenix <rootbeer@redcat.com>
Subject: Re: how to reset open file limit from perl on UNIX?
Message-Id: <Pine.GSO.4.10.10006201029130.29843-100000@user2.teleport.com>
On 20 Jun 2000, Jim Anderson wrote:
> I'm getting bitten by the open file limit on UNIX and haven't managed
> to figure out how to reset it from within a perl script.
Sounds like you want BSD::Resource.
http://search.cpan.org/search?dist=BSD-Resource
> (Please e-mail me directly, since workload precludes me monitoring
> this group.)
I'm sending you a copy of a posted message. But, in general, you shouldn't
post to a newsgroup you don't read. And there are Usenet archiving
services (like www.deja.com) which can let you read replies to your
message quite easily - although Deja hasn't been itself lately.
Cheers!
--
Tom Phoenix Perl Training and Hacking Esperanto
Randal Schwartz Case: http://www.rahul.net/jeffrey/ovs/
------------------------------
Date: Tue, 20 Jun 2000 13:39:59 GMT
From: ohako@my-deja.com
Subject: I need to get better at Perl
Message-Id: <8ins7d$6vb$1@nnrp1.deja.com>
Hello, I'm fairly new to this whole Usenet thing, so if I commit some
grave travesty of Usenet etiquette, please forgive me. Oh yeah, and I
want to apologize for the little advertisement that will probably
appear at the end of this post.
I need to get better at Perl. My situation at work is that I am the
only Perl developer, whilst everyone else is using all this jsp and ejb
stuff. It's very hard for me to confirm my work, because there's no
one at my workplace who knows a lot of Perl, and I don't know a lot
myself.
Suggestions for books I should read, or seminars I should attend (in
the Boston area), or if you are willing to tutor (again, in the Boston
area), then please respond to this post.
Thank you,
Ohako
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Tue, 20 Jun 2000 10:56:42 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: I need to get better at Perl
Message-Id: <394F862A.5D70AA9F@attglobal.net>
ohako@my-deja.com wrote:
>
> Hello, I'm fairly new to this whole Usenet thing, so if I commit some
> grave travesty of Usenet etiquette, please forgive me. Oh yeah, and I
> want to apologize for the little advertisement that will probably
> appear at the end of this post.
You have made several bad decisions. The first was posting before
lurking. It is always wise to read posts for some many weeks before
making your first post. This will help you get a handle on the way
that the group works. You should also check the newusers newsgroups,
such as news.newusers.questions.
>
> I need to get better at Perl. My situation at work is that I am the
> only Perl developer, whilst everyone else is using all this jsp and ejb
> stuff. It's very hard for me to confirm my work, because there's no
> one at my workplace who knows a lot of Perl, and I don't know a lot
> myself.
Best bet is to read. Perl comes with lots and lots and lots _and lots_
of documentation. If you haven't read it yet, do so now.
$ perldoc perldoc
When you have a need for assistance, check on something like Deja
to see if somone has already had the same problem, and see what the
solution was. If you don't see a solution posted, a polite email to
the poster asking how s/he solved the problem might do the trick.
After you have exhausted all available resources, and still not
found the solution, boil your code down to the smallest bit that
displays the problem, and post here. In situations like that,
you are sure to get help.
>
> Suggestions for books I should read, or seminars I should attend (in
> the Boston area), or if you are willing to tutor (again, in the Boston
> area), then please respond to this post.
>
http://www.perl.com has both book reviews and some training info.
Also check out http://www.stonehenge.com/perltraining/
HTH
------------------------------
Date: Tue, 20 Jun 2000 15:20:48 GMT
From: Jonathan Stowe <gellyfish@gellyfish.com>
Subject: Re: I need to get better at Perl
Message-Id: <kZL35.409$My4.40073@news.dircon.co.uk>
On Tue, 20 Jun 2000 13:39:59 GMT, ohako@my-deja.com Wrote:
> Hello, I'm fairly new to this whole Usenet thing, so if I commit some
> grave travesty of Usenet etiquette, please forgive me.
You have read the helpful posts in news.announce.newusers havent you ?
> Oh yeah, and I
> want to apologize for the little advertisement that will probably
> appear at the end of this post.
>
I think we can forgive that but it isnt really a very good news client.
> I need to get better at Perl. My situation at work is that I am the
> only Perl developer, whilst everyone else is using all this jsp and ejb
> stuff. It's very hard for me to confirm my work, because there's no
> one at my workplace who knows a lot of Perl, and I don't know a lot
> myself.
>
Read this group. Read Uri's page <http://www.sysarch.com/cgi-bin/perl_books>.
Read <http://www.perl.com>, read the enormous set of documentation that comes
with Perl.
> Suggestions for books I should read, or seminars I should attend (in
> the Boston area), or if you are willing to tutor (again, in the Boston
> area), then please respond to this post.
>
You are a very lucky man. The Boston Perl mongers are near you. Check out
<http://boston.pm.org> for more. No I dont know what the graphic is all
about either but hey they're 2500 miles away from me why should I care ;-}
/J\
------------------------------
Date: 20 Jun 2000 10:08:04 -0700
From: Mike Coffin <mhc@Eng.Sun.COM>
Subject: Re: I need to get better at Perl
Message-Id: <8p63dm8e0wb.fsf@Eng.Sun.COM>
ohako@my-deja.com writes:
> Hello, I'm fairly new to this whole Usenet thing, so if I commit some
> grave travesty of Usenet etiquette, please forgive me. Oh yeah, and I
> want to apologize for the little advertisement that will probably
> appear at the end of this post.
>
> I need to get better at Perl. My situation at work is that I am the
> only Perl developer, whilst everyone else is using all this jsp and ejb
> stuff. It's very hard for me to confirm my work, because there's no
> one at my workplace who knows a lot of Perl, and I don't know a lot
> myself.
>
> Suggestions for books I should read, or seminars I should attend (in
> the Boston area), or if you are willing to tutor (again, in the Boston
> area), then please respond to this post.
Get "Learning Perl" to learn the language, and get "Programming Perl"
and "The Perl Cookbook" for reference. Avoid this newsgroup; it's a
very poor place to get help. Very few people here will take the time
to help you, unless you consider admonitions to RTFM helpful.
-mike
------------------------------
Date: Tue, 20 Jun 2000 13:32:13 -0400
From: Drew Simonis <care227@attglobal.net>
Subject: Re: I need to get better at Perl
Message-Id: <394FAA9D.5F0DE82B@attglobal.net>
Mike Coffin wrote:
>
> Get "Learning Perl" to learn the language, and get "Programming Perl"
> and "The Perl Cookbook" for reference. Avoid this newsgroup; it's a
> very poor place to get help. Very few people here will take the time
> to help you, unless you consider admonitions to RTFM helpful.
1. Reading the manual is the best place for help. You accomplish
2 things: You solve your own problem _and_ you learn how to
solve future problems.
2. If this group is so _un_helpfull_, why are ya here? It must have
at least one good point, eh?
(Hey, do you know Elisabeth Gillham?)
------------------------------
Date: Tue, 20 Jun 2000 09:24:59 -0400
From: "Brian Landers" <brian@bluecoat93.org>
Subject: Re: install and use POP3Client
Message-Id: <PfK35.5067$dD3.27630@news1.atl>
"PC Leung" <dleung@ouhk.edu.hk> wrote
> (1)When I 'make', there are messages as follows.
[snip]
> make: *** Warning: Clock skew detected. Your build may be incomplete.
I used to get this message all the time when building software. Turns out it
was an issue with NFS. The filesystem I was building on was NFS-mounted from
another system, and the clocks were out of sync. Try building the module in
a local filesystem (try /tmp) and see if that solves the problem. If it
doesn't, then at least you've eliminated one potential solution. :-)
Cheers,
Brian
------------------------------
Date: Tue, 20 Jun 2000 17:43:51 +0200
From: "Daniel Sander" <daniel@fontbank.com>
Subject: Re: Internet Programmers Wanted!
Message-Id: <8io3hh$33q$1@news.ost.eltele.no>
> You have found lots of mediocre programmers. That's nice.
>
> (The truly Good programmers get paid for their work)
So it's only shite programmers who publish their code and useful
scripts for free on the many good resource-sites throughout the
Internet? ;-)
Personally, I'd give 5 stars to those quality programmers who do so.
By sharing code, you share knowledge.
> Posting an advertisement in a discussion newsgroup _is_ spamming.
True.
Regards,
Daniel
------------------------------
Date: 16 Sep 99 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 16 Sep 99)
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: The mail to news gateway, and thus the ability to submit articles
| through this service to the newsgroup, has been removed. I do not have
| time to individually vet each article to make sure that someone isn't
| abusing the service, and I no longer have any desire to waste my time
| dealing with the campus admins when some fool complains to them about an
| article that has come through the gateway instead of complaining
| to the source.
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 V9 Issue 3430
**************************************