[28985] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 229 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Mar 16 06:09:51 2007

Date: Fri, 16 Mar 2007 03:09:06 -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           Fri, 16 Mar 2007     Volume: 11 Number: 229

Today's topics:
        auto documentor perl <ton_de_winter@yahoo.co.uk>
    Re: Comparing filenames in different directories <jurgenex@hotmail.com>
    Re: Comparing filenames in different directories <cmic@caramail.com>
    Re: Getting the list of groups given a user id <josef.moellers@fujitsu-siemens.com>
    Re: Installing librairies (window OS) <news@lawshouse.org>
        Mastering Perl <gerald607@gmail.com>
    Re: Mastering Perl <bik.mido@tiscalinet.it>
        new CPAN modules on Fri Mar 16 2007 (Randal Schwartz)
        PL_rsfp_filters - what does it contain ? <a.u.savchuk@gmail.com>
        Posting Guidelines for comp.lang.perl.misc ($Revision:  tadmc@augustmail.com
        Problem with requesting page by using LWP::UserAgent assassin5615@yahoo.com.cn
    Re: Problem with requesting page by using LWP::UserAgen assassin5615@yahoo.com.cn
        Urgent requirement in perl for a US based CMM Level 4 c josh.arni@gmail.com
    Re: What is abriviationfor CHR(4) <uri@stemsystems.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: 16 Mar 2007 02:18:54 -0700
From: "ton de w" <ton_de_winter@yahoo.co.uk>
Subject: auto documentor perl
Message-Id: <1174036734.949495.293550@y66g2000hsf.googlegroups.com>

Hello,

I was wondering if there a tool that could examine a 50 page CGI
program(that creates html and mysql queries)  that I have been given
and create a flow chart or similar from the code?
There are very few comments so just extracting the comments wont help.

TIA

Ton



------------------------------

Date: Fri, 16 Mar 2007 04:21:40 GMT
From: "Jürgen Exner" <jurgenex@hotmail.com>
Subject: Re: Comparing filenames in different directories
Message-Id: <oXoKh.16794$2%3.9927@trndny06>

Deepu wrote:
> I am trying to compare file names in 2 different directories.
> I need to 'diff' files with same name else if the filename (Ex :
> FILENAME_4) is not present in DIR2 then display message "FILENAME_4 is
> not present in DIR2" when it fails to get FILENAME_4.x OR viceversa
> "FILENAME_5 is not present in DIR1"
>
> Please help me with some ideas on how this can be achieved.

Please see "perldoc -q difference":
      How do I compute the difference of two arrays?  How do I compute the 
intersection of two arrays?

jue 




------------------------------

Date: 16 Mar 2007 02:05:51 -0700
From: "cmic" <cmic@caramail.com>
Subject: Re: Comparing filenames in different directories
Message-Id: <1174035951.571721.226660@d57g2000hsg.googlegroups.com>

Hi Deepu

On 16 mar, 03:39, "Deepu" <pradeep...@gmail.com> wrote:
> Hi All,
>
> I am trying to compare file names in 2 different directories.
>
> DIR1:
>
> FILENAME_1.a
> FILENAME_2.a
> FILENAME_3.a
> FILENAME_4.a
>
> DIR2:
>
> FILENAME_1.x
> FILENAME_2.x
> FILENAME_3.x
> FILENAME_5.x
>
> I need to 'diff' files with same name else if the filename (Ex :
> FILENAME_4) is not present in DIR2 then display message "FILENAME_4 is
> not present in DIR2" when it fails to get FILENAME_4.x OR viceversa
> "FILENAME_5 is not present in DIR1"
>
If you are working under Unix (lInux or whatever), you can use the
diff command on diretories. The -r option of diff can even works
recursively.
But on windows ....

Regards
--
michel Marcon (aka cmic) sysadmin


> Please help me with some ideas on how this can be achieved.
>
> Thanks




------------------------------

Date: Fri, 16 Mar 2007 11:04:53 +0100
From: Josef Moellers <josef.moellers@fujitsu-siemens.com>
Subject: Re: Getting the list of groups given a user id
Message-Id: <etdq8t$7i6$2@nntp.fujitsu-siemens.com>

Ted Zlatanov wrote:
> On Thu, 15 Mar 2007 15:35:45 +0100 Josef Moellers <josef.moellers@fujit=
su-siemens.com> wrote:=20
>=20
> JM> This is not a group to ask for ready-to-use solutions.
>=20
> Why not?
>=20
> I like to know if a ready-made solution exists for many common Perl
> tasks all the time, so I don't write them myself. =20
>=20
> What's wrong is expecting people to write the solution for you, which
> Arshad did not do.  He clearly asked for a module/function/solution to
> help him in the course of writing a script, to get the list of groups
> for a user.  Why does he have to attempt to write such a common task
> himself, given that it's probably been done already a million times?
>=20
> Let's be sensible.  I understand the Posting Guidelines are important,
> but they should not override common sense.

I'm afraid you're right: I have over-reacted a little and apologize to=20
Arshad.

--=20
These are my personal views and not those of Fujitsu Siemens Computers!
Josef M=F6llers (Pinguinpfleger bei FSC)
	If failure had no penalty success would not be a prize
						-- T.  Pratchett



------------------------------

Date: Fri, 16 Mar 2007 09:02:08 +0000
From: Henry Law <news@lawshouse.org>
Subject: Re: Installing librairies (window OS)
Message-Id: <1174035713.28354.0@damia.uk.clara.net>

ernond_paul@yahoo.fr wrote:

> Next, I've tryed to run ppm (the little user interface to install
> packages) but Gnome2::Canvas isn't into the repository...

It might be worth while trying some additional repositories. 
Activestate's own library is very comprehensive but in the past I've 
found it necessary to include the University of Winnipeg's repository as 
well, for reasons I now forget.  This is from the command-line version 
of ppm.

ppm> rep
Repositories:
[1] ActiveState Package Repository
[2] Winnipeg
ppm> rep describe 2
Describing Active Repository 2:
     Name: Winnipeg
Location: http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58
     Type: PPMServer 2.0
ppm>

-- 

Henry Law            Manchester, England


------------------------------

Date: 16 Mar 2007 00:15:30 -0700
From: "The Count" <gerald607@gmail.com>
Subject: Mastering Perl
Message-Id: <1174029330.364105.119610@e1g2000hsg.googlegroups.com>

Im a BSc4 Maths/Computer Science student and would like to find out
the best way to learn programming in perl.Perl is not offered in my
course but I find that it is a very popular language.I can program in
Pascal,Delphi and C++.How long could it take me to master perl to a
level where I can make web applications? Can you recommend websites
where I can find good introductory tutorials?What do you suggest would
be the best way to learn Perl?



------------------------------

Date: Fri, 16 Mar 2007 09:59:22 +0100
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Mastering Perl
Message-Id: <6jmkv255cnpc337hr7oaptv2vuqlnho563@4ax.com>

On 16 Mar 2007 00:15:30 -0700, "The Count" <gerald607@gmail.com>
wrote:

>Im a BSc4 Maths/Computer Science student and would like to find out
>the best way to learn programming in perl.Perl is not offered in my
>course but I find that it is a very popular language.I can program in
>Pascal,Delphi and C++.How long could it take me to master perl to a
>level where I can make web applications? Can you recommend websites

It depends. Perl is a vast language but it is inspired by many other
ones and just like with natural languages in the words of $Larry, it
is officially ok to only speak a subset to it. Call that "baby Perl".
While speaking baby Perl, people will often correct you and suggest
more mature ways to do things. In any case start with an introdutory
book, like the Llama.

As for "making web applications", that may mean many different things
to different people. For a *good* introductory CGI course, try 
Ovid's one:

http://users.easystreet.com/ovid/cgi_course/

But then for larger applications you may be interested in some
framework like Catalyst, Maypole or Jifty.

>where I can find good introductory tutorials?What do you suggest would
>be the best way to learn Perl?

http://perlmonks.org/?node=Tutorials#Getting-Started-with-Perl

Other than that, the best way to learn Perl is to work with it on some
real problem.


Michele
-- 
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
 .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,


------------------------------

Date: Fri, 16 Mar 2007 05:42:10 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Fri Mar 16 2007
Message-Id: <JEzEIA.B5L@zorch.sf-bay.org>

The following modules have recently been added to or updated in the
Comprehensive Perl Archive Network (CPAN).  You can install them using the
instructions in the 'perlmodinstall' page included with your Perl
distribution.

Apache-AuthenMSAD-0.02
http://search.cpan.org/~mcgregor/Apache-AuthenMSAD-0.02/
Microsoft Active Directory authentication for Apache 
----
B-LintSubs-0.03
http://search.cpan.org/~pevans/B-LintSubs-0.03/
Perl compiler backend to check sub linkage 
----
Brick-0.2193_01
http://search.cpan.org/~bdfoy/Brick-0.2193_01/
Complex business rule data validation 
----
Brick-0.2195_01
http://search.cpan.org/~bdfoy/Brick-0.2195_01/
Complex business rule data validation 
----
Business-OnlinePayment-CashCow-0.07
http://search.cpan.org/~jonasbn/Business-OnlinePayment-CashCow-0.07/
Online payment processing via CashCow 
----
CORBA-Python-0.33
http://search.cpan.org/~perrad/CORBA-Python-0.33/
----
CORBA-omniORB-0.9
http://search.cpan.org/~housel/CORBA-omniORB-0.9/
Perl module implementing CORBA 2.x via omniORB 
----
CPAN-1.88_79
http://search.cpan.org/~andk/CPAN-1.88_79/
query, download and build perl modules from CPAN sites 
----
Catalyst-Plugin-Session-Store-DBI-0.10
http://search.cpan.org/~agrundma/Catalyst-Plugin-Session-Store-DBI-0.10/
Store your sessions in a database 
----
Clone-Fast-0.91
http://search.cpan.org/~jjore/Clone-Fast-0.91/
Natively copying Perl data structures 
----
Config-XPath-0.08
http://search.cpan.org/~pevans/Config-XPath-0.08/
a module for retrieving configuration data from XML files by using XPath queries 
----
DBIx-DataModel-0.29
http://search.cpan.org/~dami/DBIx-DataModel-0.29/
Classes and UML-style Associations on top of DBI 
----
Data-Domain-0.05
http://search.cpan.org/~dami/Data-Domain-0.05/
Data description and validation 
----
Date-Holidays-Super-0.03
http://search.cpan.org/~jonasbn/Date-Holidays-Super-0.03/
a SUPER class for the Date::Holidays::* modules 
----
Devel-Size-0.67
http://search.cpan.org/~tels/Devel-Size-0.67/
Perl extension for finding the memory usage of Perl variables 
----
Egg-Release-1.18
http://search.cpan.org/~lushe/Egg-Release-1.18/
WEB application framework release version. 
----
Error-Subclasses-0.03
http://search.cpan.org/~pevans/Error-Subclasses-0.03/
----
FCGI-Async-0.10
http://search.cpan.org/~pevans/FCGI-Async-0.10/
Module to allow use of FastCGI asynchronously 
----
File-Recycle-v0.0.1
http://search.cpan.org/~dmuey/File-Recycle-v0.0.1/
Restore files and directories that have been deleted 
----
File-StatCache-0.05
http://search.cpan.org/~pevans/File-StatCache-0.05/
a caching wrapper around the stat() function 
----
File-Trash-v0.0.1
http://search.cpan.org/~dmuey/File-Trash-v0.0.1/
Restore files and directories that have been deleted 
----
HTML-PopupTreeSelect-Dynamic-1.2
http://search.cpan.org/~samtregar/HTML-PopupTreeSelect-Dynamic-1.2/
dynamic version of HTML::PopupTreeSelect 
----
HTML-Table-2.05
http://search.cpan.org/~ajpeacock/HTML-Table-2.05/
produces HTML tables 
----
IO-Async-0.04
http://search.cpan.org/~pevans/IO-Async-0.04/
a collection of modules that implement asynchronous filehandle IO 
----
IPC-PerlSSH-0.06
http://search.cpan.org/~pevans/IPC-PerlSSH-0.06/
a class for executing remote perl code over an SSH link 
----
Interpolate-v0.0.1
http://search.cpan.org/~dmuey/Interpolate-v0.0.1/
Interpolate a variable or reference contents safely and quickly 
----
Lemonldap-Handlers-Generic-3.1.1
http://search.cpan.org/~egerman/Lemonldap-Handlers-Generic-3.1.1/
Perl extension for Lemonldap sso system 
----
Mail-DKIM-0.24
http://search.cpan.org/~jaslong/Mail-DKIM-0.24/
Signs/verifies Internet mail with DKIM/DomainKey signatures 
----
Makefile-Parser-0.16
http://search.cpan.org/~agent/Makefile-Parser-0.16/
A simple parser for Makefiles 
----
Module-Install-0.66_02
http://search.cpan.org/~adamk/Module-Install-0.66_02/
Standalone, extensible Perl module installer 
----
Net-DNS-Async-1.04
http://search.cpan.org/~shevek/Net-DNS-Async-1.04/
Asynchronous DNS helper for high volume applications 
----
Net-Frame-Layer-LLTD-1.00
http://search.cpan.org/~gomor/Net-Frame-Layer-LLTD-1.00/
Link Layer Topology Discovery layer object 
----
Net-SIP-0.24
http://search.cpan.org/~sullr/Net-SIP-0.24/
Framework SIP (Voice Over IP, RFC3261) 
----
Net-eBay-0.41
http://search.cpan.org/~ichudov/Net-eBay-0.41/
Perl Interface to XML based eBay API. 
----
Object-InsideOut-3.12
http://search.cpan.org/~jdhedden/Object-InsideOut-3.12/
Comprehensive inside-out object support module 
----
PDF-API2-0.58
http://search.cpan.org/~areibens/PDF-API2-0.58/
A Perl Module Chain to faciliate the Creation and Modification of High-Quality "Portable Document Format (aka. PDF)" Files. 
----
PGPLOT-Simple-0.05
http://search.cpan.org/~fmerges/PGPLOT-Simple-0.05/
Simple Interface to PGPLOT 
----
POE-Component-Server-SimpleHTTP-1.21
http://search.cpan.org/~bingos/POE-Component-Server-SimpleHTTP-1.21/
Perl extension to serve HTTP requests in POE. 
----
POE-Component-Server-SimpleSMTP-0.95
http://search.cpan.org/~bingos/POE-Component-Server-SimpleSMTP-0.95/
A simple to use POE SMTP Server. 
----
Parse-QTEDI-0.01
http://search.cpan.org/~dongxu/Parse-QTEDI-0.01/
Parse QT/KDE preprocessed headers 
----
Sepia-0.67
http://search.cpan.org/~seano/Sepia-0.67/
Simple Emacs-Perl Interface 
----
Solaris-SysInfo-0.03
http://search.cpan.org/~pevans/Solaris-SysInfo-0.03/
A perl wrapper around Solaris' sysinfo(1) system call 
----
String-Expand-0.03
http://search.cpan.org/~pevans/String-Expand-0.03/
string utility functions for expanding variables in self-referential sets 
----
Template-Plugin-DtFormatter-1.00
http://search.cpan.org/~arthas/Template-Plugin-DtFormatter-1.00/
Easily create formatted string from DateTime objects 
----
Test-Harness-2.65_01
http://search.cpan.org/~petdance/Test-Harness-2.65_01/
Run Perl standard test scripts with statistics 
----
Test-MonitorSites-0.05
http://search.cpan.org/~hesco/Test-MonitorSites-0.05/
Monitor availability and function of a list of websites 
----
Test-Simple-0.70
http://search.cpan.org/~mschwern/Test-Simple-0.70/
Basic utilities for writing tests. 
----
Test-Warn-0.09
http://search.cpan.org/~chorny/Test-Warn-0.09/
Perl extension to test methods for warnings 
----
Text-HikiDoc-1.017
http://search.cpan.org/~kawabata/Text-HikiDoc-1.017/
Pure Perl implementation of 'HikiDoc' which is a text-to-HTML conversion tool. 
----
Thread-Pool-Simple-0.10
http://search.cpan.org/~jwu/Thread-Pool-Simple-0.10/
A simple thread-pool implementation 
----
Tie-FlatFile-Array-0.03
http://search.cpan.org/~mumiaw/Tie-FlatFile-Array-0.03/
Treat a flatfile database as an array of arrays. 
----
Time-HiRes-Value-0.03
http://search.cpan.org/~pevans/Time-HiRes-Value-0.03/
a class representing a time value or interval in exact microseconds 
----
UNIVERSAL-ref-0.10
http://search.cpan.org/~jjore/UNIVERSAL-ref-0.10/
Turns ref() into a multimethod 
----
WWW-Myspace-0.63
http://search.cpan.org/~grantg/WWW-Myspace-0.63/
Access MySpace.com profile information from Perl 
----
WWW-Scraper-ISBN-AmazonFR_Driver-0.02
http://search.cpan.org/~galand/WWW-Scraper-ISBN-AmazonFR_Driver-0.02/
Search driver for the (FR) Amazon online catalog. 
----
XML-RSS-FromHTML-Simple-0.02
http://search.cpan.org/~mschilli/XML-RSS-FromHTML-Simple-0.02/
Create RSS feeds for sites that don't offer them 
----
link_NCBI
http://search.cpan.org/~chi/link_NCBI/


If you're an author of one of these modules, please submit a detailed
announcement to comp.lang.perl.announce, and we'll pass it along.

This message was generated by a Perl program described in my Linux
Magazine column, which can be found on-line (along with more than
200 other freely available past column articles) at
  http://www.stonehenge.com/merlyn/LinuxMag/col82.html

print "Just another Perl hacker," # the original

--
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!


------------------------------

Date: 15 Mar 2007 23:18:14 -0700
From: "sawoy" <a.u.savchuk@gmail.com>
Subject: PL_rsfp_filters - what does it contain ?
Message-Id: <1174025894.706511.9130@e1g2000hsg.googlegroups.com>

Hello,

i have the following problem during creation my own source filter
written as XS:

1. for checking that filter is only one applied for source code i do:
-------------------------------
if ( av_len(PL_rsfp_filters) > 1 )
{
  ...
  warn("too many filters\n");
  ...
}
-------------------------------

but this check doesn't work if i use perl script like:
================
#!/usr/bin/perl
use myfilter; use otherfilter;
 ...
================

av_len(PL_rsfp_filters) is equal to 1 in this case!

2. i saw sources of perl and found that new filter is added to
PL_rsfp_filters
after call of filter_add() function.
so i moved my check code after call filter_add() in my module.

but this didn't help.


in result i have a question:
  what does PL_rsfp_filters contain ?

Thank in advance.

P.S.: sorry, if i ask incorrectly. please, tell me and i change/add
some info.

Greetings,
Alexandr



------------------------------

Date: 16 Mar 2007 07:10:43 GMT
From: tadmc@augustmail.com
Subject: Posting Guidelines for comp.lang.perl.misc ($Revision: 1.7 $)
Message-Id: <45fa42f2$0$3159$ae4e5890@news.nationwide.net>

Outline
   Before posting to comp.lang.perl.misc
      Must
       - Check the Perl Frequently Asked Questions (FAQ)
       - Check the other standard Perl docs (*.pod)
      Really Really Should
       - Lurk for a while before posting
       - Search a Usenet archive
      If You Like
       - Check Other Resources
   Posting to comp.lang.perl.misc
      Is there a better place to ask your question?
       - Question should be about Perl, not about the application area
      How to participate (post) in the clpmisc community
       - Carefully choose the contents of your Subject header
       - Use an effective followup style
       - Speak Perl rather than English, when possible
       - Ask perl to help you
       - Do not re-type Perl code
       - Provide enough information
       - Do not provide too much information
       - Do not post binaries, HTML, or MIME
      Social faux pas to avoid
       - Asking a Frequently Asked Question
       - Asking a question easily answered by a cursory doc search
       - Asking for emailed answers
       - Beware of saying "doesn't work"
       - Sending a "stealth" Cc copy
      Be extra cautious when you get upset
       - Count to ten before composing a followup when you are upset
       - Count to ten after composing and before posting when you are upset
-----------------------------------------------------------------

Posting Guidelines for comp.lang.perl.misc ($Revision: 1.7 $)
    This newsgroup, commonly called clpmisc, is a technical newsgroup
    intended to be used for discussion of Perl related issues (except job
    postings), whether it be comments or questions.

    As you would expect, clpmisc discussions are usually very technical in
    nature and there are conventions for conduct in technical newsgroups
    going somewhat beyond those in non-technical newsgroups.

    The article at:

        http://www.catb.org/~esr/faqs/smart-questions.html

    describes how to get answers from technical people in general.

    This article describes things that you should, and should not, do to
    increase your chances of getting an answer to your Perl question. It is
    available in POD, HTML and plain text formats at:

     http://www.augustmail.com/~tadmc/clpmisc.shtml

    For more information about netiquette in general, see the "Netiquette
    Guidelines" at:

     http://andrew2.andrew.cmu.edu/rfc/rfc1855.html

    A note to newsgroup "regulars":

       Do not use these guidelines as a "license to flame" or other
       meanness. It is possible that a poster is unaware of things
       discussed here.  Give them the benefit of the doubt, and just
       help them learn how to post, rather than assume that they do 
       know and are being the "bad kind" of Lazy.

    A note about technical terms used here:

       In this document, we use words like "must" and "should" as
       they're used in technical conversation (such as you will
       encounter in this newsgroup). When we say that you *must* do
       something, we mean that if you don't do that something, then
       it's unlikely that you will benefit much from this group.
       We're not bossing you around; we're making the point without
       lots of words.

    Do *NOT* send email to the maintainer of these guidelines. It will be
    discarded unread. The guidelines belong to the newsgroup so all
    discussion should appear in the newsgroup. I am just the secretary that
    writes down the consensus of the group.

Before posting to comp.lang.perl.misc
  Must
    This section describes things that you *must* do before posting to
    clpmisc, in order to maximize your chances of getting meaningful replies
    to your inquiry and to avoid getting flamed for being lazy and trying to
    have others do your work.

    The perl distribution includes documentation that is copied to your hard
    drive when you install perl. Also installed is a program for looking
    things up in that (and other) documentation named 'perldoc'.

    You should either find out where the docs got installed on your system,
    or use perldoc to find them for you. Type "perldoc perldoc" to learn how
    to use perldoc itself. Type "perldoc perl" to start reading Perl's
    standard documentation.

    Check the Perl Frequently Asked Questions (FAQ)
        Checking the FAQ before posting is required in Big 8 newsgroups in
        general, there is nothing clpmisc-specific about this requirement.
        You are expected to do this in nearly all newsgroups.

        You can use the "-q" switch with perldoc to do a word search of the
        questions in the Perl FAQs.

    Check the other standard Perl docs (*.pod)
        The perl distribution comes with much more documentation than is
        available for most other newsgroups, so in clpmisc you should also
        see if you can find an answer in the other (non-FAQ) standard docs
        before posting.

    It is *not* required, or even expected, that you actually *read* all of
    Perl's standard docs, only that you spend a few minutes searching them
    before posting.

    Try doing a word-search in the standard docs for some words/phrases
    taken from your problem statement or from your very carefully worded
    "Subject:" header.

  Really Really Should
    This section describes things that you *really should* do before posting
    to clpmisc.

    Lurk for a while before posting
        This is very important and expected in all newsgroups. Lurking means
        to monitor a newsgroup for a period to become familiar with local
        customs. Each newsgroup has specific customs and rituals. Knowing
        these before you participate will help avoid embarrassing social
        situations. Consider yourself to be a foreigner at first!

    Search a Usenet archive
        There are tens of thousands of Perl programmers. It is very likely
        that your question has already been asked (and answered). See if you
        can find where it has already been answered.

        One such searchable archive is:

         http://groups.google.com/advanced_group_search

  If You Like
    This section describes things that you *can* do before posting to
    clpmisc.

    Check Other Resources
        You may want to check in books or on web sites to see if you can
        find the answer to your question.

        But you need to consider the source of such information: there are a
        lot of very poor Perl books and web sites, and several good ones
        too, of course.

Posting to comp.lang.perl.misc
    There can be 200 messages in clpmisc in a single day. Nobody is going to
    read every article. They must decide somehow which articles they are
    going to read, and which they will skip.

    Your post is in competition with 199 other posts. You need to "win"
    before a person who can help you will even read your question.

    These sections describe how you can help keep your article from being
    one of the "skipped" ones.

  Is there a better place to ask your question?
    Question should be about Perl, not about the application area
        It can be difficult to separate out where your problem really is,
        but you should make a conscious effort to post to the most
        applicable newsgroup. That is, after all, where you are the most
        likely to find the people who know how to answer your question.

        Being able to "partition" a problem is an essential skill for
        effectively troubleshooting programming problems. If you don't get
        that right, you end up looking for answers in the wrong places.

        It should be understood that you may not know that the root of your
        problem is not Perl-related (the two most frequent ones are CGI and
        Operating System related), so off-topic postings will happen from
        time to time. Be gracious when someone helps you find a better place
        to ask your question by pointing you to a more applicable newsgroup.

  How to participate (post) in the clpmisc community
    Carefully choose the contents of your Subject header
        You have 40 precious characters of Subject to win out and be one of
        the posts that gets read. Don't waste them. Take care while
        composing them, they are the key that opens the door to getting an
        answer.

        Spend them indicating what aspect of Perl others will find if they
        should decide to read your article.

        Do not spend them indicating "experience level" (guru, newbie...).

        Do not spend them pleading (please read, urgent, help!...).

        Do not spend them on non-Subjects (Perl question, one-word
        Subject...)

        For more information on choosing a Subject see "Choosing Good
        Subject Lines":

         http://www.cpan.org/authors/id/D/DM/DMR/subjects.post

        Part of the beauty of newsgroup dynamics, is that you can contribute
        to the community with your very first post! If your choice of
        Subject leads a fellow Perler to find the thread you are starting,
        then even asking a question helps us all.

    Use an effective followup style
        When composing a followup, quote only enough text to establish the
        context for the comments that you will add. Always indicate who
        wrote the quoted material. Never quote an entire article. Never
        quote a .signature (unless that is what you are commenting on).

        Intersperse your comments *following* each section of quoted text to
        which they relate. Unappreciated followup styles are referred to as
        "top-posting", "Jeopardy" (because the answer comes before the
        question), or "TOFU" (Text Over, Fullquote Under).

        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:

         http://web.presby.edu/~nnqadmin/nnq/nquote.html

    Speak Perl rather than English, when possible
        Perl is much more precise than natural language. Saying it in Perl
        instead will avoid misunderstanding your question or problem.

        Do not say: I have variable with "foo\tbar" in it.

        Instead say: I have $var = "foo\tbar", or I have $var = 'foo\tbar',
        or I have $var = <DATA> (and show the data line).

    Ask perl to help you
        You can ask perl itself to help you find common programming mistakes
        by doing two things: enable warnings (perldoc warnings) and enable
        "strict"ures (perldoc strict).

        You should not bother the hundreds/thousands of readers of the
        newsgroup without first seeing if a machine can help you find your
        problem. It is demeaning to be asked to do the work of a machine. It
        will annoy the readers of your article.

        You can look up any of the messages that perl might issue to find
        out what the message means and how to resolve the potential mistake
        (perldoc perldiag). If you would like perl to look them up for you,
        you can put "use diagnostics;" near the top of your program.

    Do not re-type Perl code
        Use copy/paste or your editor's "import" function rather than
        attempting to type in your code. If you make a typo you will get
        followups about your typos instead of about the question you are
        trying to get answered.

    Provide enough information
        If you do the things in this item, you will have an Extremely Good
        chance of getting people to try and help you with your problem!
        These features are a really big bonus toward your question winning
        out over all of the other posts that you are competing with.

        First make a short (less than 20-30 lines) and *complete* program
        that illustrates the problem you are having. People should be able
        to run your program by copy/pasting the code from your article. (You
        will find that doing this step very often reveals your problem
        directly. Leading to an answer much more quickly and reliably than
        posting to Usenet.)

        Describe *precisely* the input to your program. Also provide example
        input data for your program. If you need to show file input, use the
        __DATA__ token (perldata.pod) to provide the file contents inside of
        your Perl program.

        Show the output (including the verbatim text of any messages) of
        your program.

        Describe how you want the output to be different from what you are
        getting.

        If you have no idea at all of how to code up your situation, be sure
        to at least describe the 2 things that you *do* know: input and
        desired output.

    Do not provide too much information
        Do not just post your entire program for debugging. Most especially
        do not post someone *else's* entire program.

    Do not post binaries, HTML, or MIME
        clpmisc is a text only newsgroup. If you have images or binaries
        that explain your question, put them in a publically accessible
        place (like a Web server) and provide a pointer to that location. If
        you include code, cut and paste it directly in the message body.
        Don't attach anything to the message. Don't post vcards or HTML.
        Many people (and even some Usenet servers) will automatically filter
        out such messages. Many people will not be able to easily read your
        post. Plain text is something everyone can read.

  Social faux pas to avoid
    The first two below are symptoms of lots of FAQ asking here in clpmisc.
    It happens so often that folks will assume that it is happening yet
    again. If you have looked but not found, or found but didn't understand
    the docs, say so in your article.

    Asking a Frequently Asked Question
        It should be understood that you may have missed the applicable FAQ
        when you checked, which is not a big deal. But if the Frequently
        Asked Question is worded similar to your question, folks will assume
        that you did not look at all. Don't become indignant at pointers to
        the FAQ, particularly if it solves your problem.

    Asking a question easily answered by a cursory doc search
        If folks think you have not even tried the obvious step of reading
        the docs applicable to your problem, they are likely to become
        annoyed.

        If you are flamed for not checking when you *did* check, then just
        shrug it off (and take the answer that you got).

    Asking for emailed answers
        Emailed answers benefit one person. Posted answers benefit the
        entire community. If folks can take the time to answer your
        question, then you can take the time to go get the answer in the
        same place where you asked the question.

        It is OK to ask for a *copy* of the answer to be emailed, but many
        will ignore such requests anyway. If you munge your address, you
        should never expect (or ask) to get email in response to a Usenet
        post.

        Ask the question here, get the answer here (maybe).

    Beware of saying "doesn't work"
        This is a "red flag" phrase. If you find yourself writing that,
        pause and see if you can't describe what is not working without
        saying "doesn't work". That is, describe how it is not what you
        want.

    Sending a "stealth" Cc copy
        A "stealth Cc" is when you both email and post a reply without
        indicating *in the body* that you are doing so.

  Be extra cautious when you get upset
    Count to ten before composing a followup when you are upset
        This is recommended in all Usenet newsgroups. Here in clpmisc, most
        flaming sub-threads are not about any feature of Perl at all! They
        are most often for what was seen as a breach of netiquette. If you
        have lurked for a bit, then you will know what is expected and won't
        make such posts in the first place.

        But if you get upset, wait a while before writing your followup. I
        recommend waiting at least 30 minutes.

    Count to ten after composing and before posting when you are upset
        After you have written your followup, wait *another* 30 minutes
        before committing yourself by posting it. You cannot take it back
        once it has been said.

AUTHOR
    Tad McClellan <tadmc@augustmail.com> and many others on the
    comp.lang.perl.misc newsgroup.



------------------------------

Date: 16 Mar 2007 00:38:47 -0700
From: assassin5615@yahoo.com.cn
Subject: Problem with requesting page by using LWP::UserAgent
Message-Id: <1174030722.885808.316970@y80g2000hsf.googlegroups.com>

I need to request a page whose URL is https://www.peopletest.com/jf/crd8766.(this
is a fake url, nevermind)
if I use Firefox to access this link, it need a realm login for the
first time. after inputting user name and password, I am automaticly
led to a new page whose URL is https://www.peopletest.com, which is
the home page. and then I keep the current firefox window open and
open a new firefox window to access this link again, no need to input
username and password this time, and I am led to the right page.

I wrote some code to do the same thing. the code is as below.

$uaSF = LWP::UserAgent->new;

$uaSF->agent('Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/
20040924');

$uaSF->cookie_jar(HTTP::Cookies->new(file => "lycookiesSF.txt",
autosave => 1, ignore_discard => 1));

$uaSF->credentials("peopletest.com:443", "PDFF", 'username',
'password');

 my $req = GET "https://www.peopletest.com/jf/crd8766";

  $res = $uaSF->request($req);

  $res = $uaSF->request($req);

as you can see, I request two times for the link. the first time, no
doubt I get the home page. the weird thing is that for the second time
request, I still get the home page, it seems no matter how many times
I request, I can only get the home page. Can anybody tell me how to
get the page I want? thanks



------------------------------

Date: 16 Mar 2007 01:48:28 -0700
From: assassin5615@yahoo.com.cn
Subject: Re: Problem with requesting page by using LWP::UserAgent
Message-Id: <1174034908.702407.191670@d57g2000hsg.googlegroups.com>

I found out why, the http header sent by perl does not have
authorization info. but what the hell is Authorization, and how its
value come?



------------------------------

Date: 16 Mar 2007 03:04:19 -0700
From: josh.arni@gmail.com
Subject: Urgent requirement in perl for a US based CMM Level 4 company
Message-Id: <1174039459.063603.54670@l75g2000hse.googlegroups.com>

Hi,
    We currently have an urgent requirement for a US based CMM Level 4
company in Chennai. The job description is given below kindly go
through it and if you are interested kindly reply with your updated
resume to pss_chennai@rediffmail.com

JOB DESCRIPTION
Technically strong in design & design patterns,  UML or other modeling
techniques.
Must be strong in WEB application concepts and hands on with Web-app
development.
Must have experience in Postgres SQL, MySQL, PERL, OOPerl experience
is must. Oracle hands on preferred.
Must have good experience in UNIX, LINUX.
Should be very strong in fundamentals of PERL.
Should have good communication skills with hands on experience in
handling team and also to do coding whenever required.
Total Exp - 3+yrs
Relevant Exp in PERL - 2+yrs

From
PSS Chennai



------------------------------

Date: Thu, 15 Mar 2007 23:35:26 -0500
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: What is abriviationfor CHR(4)
Message-Id: <x7ejnp7qlt.fsf@mail.sysarch.com>

>>>>> "j" == jmiles100225  <jmiles100225@yahoo.com> writes:

  >> Problem with making Replacement CHR(4) in something.
  >> CHR(9) is "\t"
  >> I use tr///.
  >> What is abbreviation for CHR(4)

  j> Awesome Perl development Job!

i doubt it. awesome is not a registered term for perl jobs.

  j> This position is for an experienced Perl Web programmer in a Web
  j> development support role.

you have to be one of the dumbest job posters ever. you followup a post
about some code with a job posting and don't change the subject or edit
out the code?? and of course you never read the guidelines that state
that job postings are not allowed here. go to jobs.perl.org and post it
there.

  j> Primary responsibilities require regular interaction with the internal
  j> partners in order to develop Web applications, support delivery of
  j> services, identify and implement quick solutions, and ensure
  j> coordination between a number of functions and departments.

that means they will be looking over your shoulder all the time and
micromanaging you.

  j> You will work closely with the organization's Web Administrator/
  j> Developer to further develop applications to support the team. These
  j> projects include but are not limited to:

that means they will be giving you impossible jobs like emulating google
in about a week.

  j> 1 - Creation of online charts and graphs controlled by user input

with circles and arrows on the back of each one explaining them

  j> 2 - Creation of data html tables, including pagination, sorting number
  j> of records with search and export to excel functionality

excellent! a winblows enviroment. how not awesome is that?

  j> 3 - Creation of a deliverable matrix with search functionality

the matrix was delivered to the theaters years ago.

  j> In this role, you will develop code across a variety of platforms,
  j> undertaking design, development, documentation, testing and subsequent
  j> ongoing support of new and existing features. You will also assist in
  j> the translation of business requirements into design and/or vendor
  j> selection whilst adhering to solution architecture. Position requires
  j> solid knowledge of software deployment, monitoring and scalability
  j> concepts and procedures. Position requires 5+ years of relevant
  j> technical experience including skills with Perl and modPerl, SQL
  j> (ideally in Oracle and PostGres), UNIX/Linux, and HTML/xHTML/XML. This
  j> opportunity offers technical challenge in a fun, team environment!

fun fun fun!! i must have more fun!

  j> Jason Miles here with CLR.  Something about the job boards, they work
  j> great, but they're
  j> pretty similar.  I mean, monster works terriffic, reqblaster is
  j> terriffic, careerbuilder is good.
  j> I've heard other recruiters say the same thing--dice works well,
  j> monster and reqblaster are great, careerbuilder has hillarious
  j> commercials...but utlimately, they are similar,
  j> so I thought I'd try here

and you thought wrong. READ THE GUIDELINES which are posted here
regularly. i am sure they have been posted since you started posting here.

  j> * 3 - 5 years experience in Web application development and production
  j> environment
  j> * Have a good eye for detail

i can see sharply that you have no clue about not posting jobs here.

  j> * Ability to produce highly quality code

why is that needed? will anyone ever actually review the code?

  j> * Desire to share and mentor programming knowledge

you are hiring a mentor? do you have enough proteges?

  j> * Good sense of programming concepts/standards

nice thing about standards, everyone has one!

  j> * Experience with Perl DBI, Perl Charts, and CGI

wtf is perl charts??

  j> * Ability to meet deadlines in a fast paced environment with minimal
  j> supervision required

like i said, emulate google in a week.

  j> * Must be dynamic, fast-paced, and open to change

change comes from within.

  j> * XML XSLT and Flash experience helpful but not required.

i like to flash.

  j> I'll send you the full description when you write me.  Let's apply
  j> people...today!

nope. not applying. not even helping you find someone (which i do on the
side). you have broken too many rules.

uri

-- 
Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs  ----------------------------  http://jobs.perl.org


------------------------------

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 V11 Issue 229
**************************************


home help back first fref pref prev next nref lref last post