[28956] in Perl-Users-Digest

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

Perl-Users Digest, Issue: 200 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Mar 7 03:09:57 2007

Date: Wed, 7 Mar 2007 00:09:04 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Wed, 7 Mar 2007     Volume: 11 Number: 200

Today's topics:
        Congratulations Randal <perl4hire@softouch.on.ca>
    Re: Congratulations Randal <justin.0703@purestblue.com>
    Re: Congratulations Randal <spamtrap@dot-app.org>
    Re: Congratulations Randal (Randal L. Schwartz)
    Re: Congratulations Randal <vilain@spamcop.net>
    Re: Congratulations Randal (Randal L. Schwartz)
    Re: Is it ok to change $ENV{'QUERY_STRING'} before "use <gypark@gmail.com>
    Re: Need Estimate of Programming Effort (Jens Thoms Toerring)
    Re: Need Estimate of Programming Effort <uri@stemsystems.com>
        new CPAN modules on Wed Mar  7 2007 (Randal Schwartz)
    Re: Question about wizard Perl programmers <zhouyan1986@gmail.com>
    Re: Subroutines and Callbacks in Perl/Tk <stoupa@practisoft.cz>
    Re: Unable to install Math::BigInt::GMP on Solaris 10 <DJStunks@gmail.com>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

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

Date: Tue, 06 Mar 2007 20:02:04 -0500
From: Amer Neely <perl4hire@softouch.on.ca>
Subject: Congratulations Randal
Message-Id: <38oHh.1291$Zj.525@read1.cgocable.net>

 From a recent SANS NewsBites March 6, 2007 Vol. 9, Num. 19

  --Man Who Hacked Intel has Judgment Set Aside - 12 Years Later
(March 2 & 3, 2007)
A man who once worked for Intel has succeeded in having his arrest and
conviction for computer crimes set aside nearly 12 years after the fact.
In February 2007, an Oregon court expunged Randal L. Schwartz's
conviction; his legal record is now clean.  Schwartz was arrested in
1993 for using a program to discover former Intel colleagues' passwords;
Schwartz had transferred out of one section of Intel under
less-than-happy circumstances and, working as a system administrator,
he intended to demonstrate that security had deteriorated since he left
his original organization.  Following his 1995 conviction, Schwartz was
sentenced to five years of probation, 480 hours of community service and
90 days deferred jail time.
http://news.com.com/2102-7350_3-6164113.html?tag=st.util.print

-- 
Amer Neely
w: www.softouch.on.ca/
b: www.softouch.on.ca/blog/
Perl | MySQL programming for all data entry forms.
"We make web sites work!"


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

Date: Wed, 07 Mar 2007 01:32:42 -0000
From: Justin C <justin.0703@purestblue.com>
Subject: Re: Congratulations Randal
Message-Id: <slrneus5hq.ptt.justin.0703@stigmata.purestblue.com>

On 2007-03-07, Amer Neely <perl4hire@softouch.on.ca> wrote:
>  From a recent SANS NewsBites March 6, 2007 Vol. 9, Num. 19
>
>   --Man Who Hacked Intel has Judgment Set Aside - 12 Years Later
> (March 2 & 3, 2007)
> A man who once worked for Intel has succeeded in having his arrest and
> conviction for computer crimes set aside nearly 12 years after the fact.
> In February 2007, an Oregon court expunged Randal L. Schwartz's
> conviction; his legal record is now clean.  Schwartz was arrested in
> 1993 for using a program to discover former Intel colleagues' passwords;
> Schwartz had transferred out of one section of Intel under
> less-than-happy circumstances and, working as a system administrator,
> he intended to demonstrate that security had deteriorated since he left
> his original organization.  Following his 1995 conviction, Schwartz was
> sentenced to five years of probation, 480 hours of community service and
> 90 days deferred jail time.
> http://news.com.com/2102-7350_3-6164113.html?tag=st.util.print

You mean my most read, most useful book is co-written by a convicted
felon?!

Damn, I must burn it when I get to work tomorrow... overturned? Phew,
that's OK then.

When the law stops being a complete donkey, please wake me up.

	Justin.

-- 
Justin C, by the sea.


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

Date: Tue, 06 Mar 2007 21:08:55 -0500
From: Sherm Pendley <spamtrap@dot-app.org>
Subject: Re: Congratulations Randal
Message-Id: <m2vehdvm88.fsf@local.wv-www.com>

Justin C <justin.0703@purestblue.com> writes:

> When the law stops being a complete donkey, please wake me up.

Better change your name to "Rip Van Winkle" in that case. :-)

sherm--

-- 
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


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

Date: Tue, 06 Mar 2007 18:10:53 -0800
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: Congratulations Randal
Message-Id: <863b4hdcr6.fsf@blue.stonehenge.com>

>>>>> "Justin" == Justin C <justin.0703@purestblue.com> writes:

Justin> You mean my most read, most useful book is co-written by a convicted
Justin> felon?!

Not any more.  I'm an ex-ex-con.  One more ex, and I can't make it through
mail filters. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
Posted via a free Usenet account from http://www.teranews.com



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

Date: Tue, 06 Mar 2007 19:14:35 -0800
From: Michael Vilain <vilain@spamcop.net>
Subject: Re: Congratulations Randal
Message-Id: <vilain-9AD85C.19143506032007@comcast.dca.giganews.com>

In article <863b4hdcr6.fsf@blue.stonehenge.com>,
 merlyn@stonehenge.com (Randal L. Schwartz) wrote:

> >>>>> "Justin" == Justin C <justin.0703@purestblue.com> writes:
> 
> Justin> You mean my most read, most useful book is co-written by a convicted
> Justin> felon?!
> 
> Not any more.  I'm an ex-ex-con.  One more ex, and I can't make it through
> mail filters. :)

When the judge expunged your conviction, he didn't, by chance order that 
you be reimbursed for your legal expenses?  Or perhaps the prosecutor 
and judge on the case should pay your expenses out of their own pockets?

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...





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

Date: Tue, 06 Mar 2007 19:40:52 -0800
From: merlyn@stonehenge.com (Randal L. Schwartz)
Subject: Re: Congratulations Randal
Message-Id: <864poxbu0r.fsf@blue.stonehenge.com>

>>>>> "Michael" == Michael Vilain <vilain@spamcop.net> writes:

Michael> When the judge expunged your conviction, he didn't, by chance order
Michael> that you be reimbursed for your legal expenses?  Or perhaps the
Michael> prosecutor and judge on the case should pay your expenses out of
Michael> their own pockets?

Expungement means only that the records have been sealed.  This was more
of a technical operation than any sort of statement about the justification
of the original conviction.  As in, it is really simply a cap on the
punishment I receive - not "felon for life" but "felon for 10 years".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
Posted via a free Usenet account from http://www.teranews.com



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

Date: 6 Mar 2007 22:10:48 -0800
From: "Raymundo" <gypark@gmail.com>
Subject: Re: Is it ok to change $ENV{'QUERY_STRING'} before "use CGI;" is called..?
Message-Id: <1173247848.630968.86630@h3g2000cwc.googlegroups.com>

> > 3: .../wiki.pl? <- (If you can't see the Korean chars, plz see
> >http://gypark.pe.kr/upload/linux_in_korean.gif) Everyone who are able
> > to read Korean can know it is the page about Linux. (I'll type
> > "LINUX(ko)" for this word from now on)
>
> > URL 2 is valid, but its appearance is so.... :-/ And I must give up
> > the big advantage of wiki, "URL represent the content"
>
> > URL 3 is said to be invalid. But I still want to support it. That is,
> > when someone types that URL in the address bar of a browser, or
> > someone clicks the link to URL 3 in other site,
>
> Is it common practice for people to write links to URLs with multibyte
> chars in them? Since the actual link itself is not user-visible (the
> text of the link is, but that's quite different) there's no reason not
> to encode it correctly, is there? Of course, if it *is* common practice,
> you may well want to handle it (if you can), regardless of its
> incorrectness.

Do you mean this case?
[a href="actual link itself"] text of the link [/a]
(I replaced "less than" and "greater than" signs with brackets, so
that any smart(?) news-reader doesn't process it as real link)

Yes, you're right. In that case the URL is hidden to user, so it
doesn't matter that URL is "...%EB%A6". And this is very typical in
plain html documents.

However many recent CGI tools, like blog(MovableType, TatterTools,
etc) and almost (as far as I know) wikis, provide the feature of "auto-
linking"(say). Someone post an article in plain text to his/her blog,
then the blog tool looks for URL pattern in the text, converts it to
"a href" links, and print it in its html output. In this case, "text
of the link" is equal to "actual link".

Another example is, wiki provides the concept of "interwiki" for a
convenient linking. That is, when I submit the text:
UseMod:UseModWiki
Google:UseModWiki     (even though google is not a wiki..)
In html output, they are converted automatically to the following
links, respectively:
[a href="http://www.usemod.com/cgi-bin/wiki.pl?
UseModWiki"]UseMod:UseModWiki[/a]
[a href="http://www.google.com/search?q=UseModWiki"]Google:UseModWiki[/
a]
(The mapping table, between a interwiki name like "Google:" and the
real URL like "http://www.google.com/search?q=", is stored in a file
in the server)

In this case, someone may want to put a link to my page in his wiki.
Then "Raymundo:LINUX(ko)" is much (x 100) easier for him and more
understandable to other visitors than "Raymundo:%EB%A6%AC%EB%88%85%EC
%8A%A4".

I've already modified my wiki, so that it encodes the actual link when
it processes interwiki. But it's impossible to force every developers
of all wikis in the world. :-)

Anyway this type of links can be common practice nowadays, in my
opinion.



> > I want my wiki.pl script show the proper page, "LINUX(ko)".
>
> Firstly, let me say that I entirely sympathise with this desire :). It
> is a major failing in the design of URLs that they are so unfriendly to
> people whose native language is not English.
>
> That said, I do not think you can win here :). At least my copy of FF
> will convert .../wiki.pl?KOREAN_CHARS into %-encodings *in the address
> bar* before it submits the URL. IE6 appears to do the opposite: that is,
> AFAICT it both displays the URL as typed in the address bar and actually
> submits a multi-byte URL to the server. Your Q_S munging will need to be
> quite subtle, to handle cases like .../wiki.pl?foo%3bbar, and correctly
> distinguish them from .../wiki.pl?foo;bar, which presumably means
> something quite different.


I agree IE6 acts differently (and strange). This is the access_log of
apache server when a request URL includes "wiki/LINUX(ko)":

"GET /wiki/\xb8\xae\xb4\xaa\xbd\xba"       <- IE, EUC-KR
"GET /wiki/%B8%AE%B4%AA%BD%BA              <- FF, EUC-KR
"GET /wiki/%EB%A6%AC%EB%88%85%EC%8A%A4"    <- IE and FF, UTF-8

I don't know why IE's requests are in diffrent forms as the encoding
differs. It does url-encode if its option is set to use UTF-8 request,
but it doesn't if the option is unchecked. But as fas as I have
tested, my wiki.pl showed no difference between when a request came
from FF and from IE.

I'll consider what you mention with the example ";" and "%3b" and test
more.



> > 2) Concering Anno's example, it looks good because it calls convert
> > routine only once. However, it shows some problem while processing
> > POST request, like file uploading, receiving trackback, etc. I tried
> > to debug but failed to find why. I think it is the second best way to
> > apply that code with additional if-clause: if ($q->request_method() eq
> > "GET")
>
> What sort of problems? If your guessing routine is guessing incorrectly
> for some of you real data, this indicates it's not safe to use it
> anyway.

I agree and I tried to find the exact problem and the reason of it.


I'll describe here what I found until now:

At first, Anno's code was to change the values of CGI->Vars hash:

$q = new CGI;
# convert
my $param = $q->Vars;
$_ = check_and_convert($_) for values %$param;


File-uploading and trackback features are not part of the original
file. I added it myself about two years ago, getting codes from
examples in WWW.

For file-uploading, wiki.pl prints the form including:

$q->start_form('post',"$ScriptName", 'multipart/form-data') . "\n";
"<input type='hidden' name='action' value='upload'>";
"<input type='hidden' name='upload' value='1'>" . "\n";
$q->filefield("upload_file","",60,80) . "\n";                       #
<-- file selection field
"&nbsp;&nbsp;" . "\n";
print $q->submit('Upload') . "\n";
$q->endform


User is supposed to click "open" button, choose a file in a file
selection window, and click "Upload" button to submit.

To save the file in server, the following code is used:

$file = $q->upload('upload_file');
open(FILE, ">file_in_local_disk_of_server");
binmode FILE;
while (<$file>) {
   print FILE $_;             # read from client's file and write to
server's disk
}
close(FILE);


I put "die;" for check:

$file = $q->upload('upload_file');
die "[$file]";  # here
open(FILE, ">file_in_local_disk_of_server");

If I don't convert Vars, script dies printing "[D:\download
\text.txt]". But when Vars is converted, script dies printing "[]".
That means $file lost the information that it's a file handle.

How can I keep it as valid file handle? Even without converting, I
found that any write access to $file causes the same problem.

my $param = $q->Vars;
$$param{'upload_file'} .= "";        # no other string appended, but
it lose file handle
or even
$$param{'upload_file'} = $$param{'upload_file'};    # it also lose
file handle!!! :-O


So there is nothing that check_and_convert() can do. Modifying "-
>Vars" itself cause problem. If I have to choose this approach anyway,
I can do like this:
my $param = $q->Vars;
foreach (keys %$param) {
    $$param{$_}  = guess_and_convert($$param{$_}) if ($_ ne
"upload_file");  # don't try to assign param{'upload_file'}
}

But there is no confirm that all other parameters are ordinary
strings.




> > So I cling to Q_S like this. :-) As far as I know: (please correct me
> > if I am wrong)
> > 1) Q_S is related to only GET request. (All the forms in wiki.pl calls
> > "wiki.pl" without any appending URL query when it submits)
>
> You may be correct in this case that your wiki.pl only uses a query
> string for GET requests. It is certainly possible to POST to a URL with
> a query string.

Yes, I have to consider it in the future. And I still believe it
doesn't matter, because "query string" in URL is anyway just a string
which can't have any invisible information (like $file in above).


> > 2) Q_S may be in the form of "keywords" or
> > "param1=value1&param2=value2...". guess_and_convert() will not change
> > the important characters like "&", "=", "+". It will not change any
> > other ASCII characters. It will just change the multi-byte chars.
> > Because those characters have been already encoded by browser, this
> > change is just the change of the number and the sequence of the "%HH"
> > runs. There is, I think, no problem when CGI object is created and
> > initialized using Q_S.
>
> Err... OK. You must make sure you alter Q_S *before* any CGI.pm calls
> are mode, though.

I agree.



> > 3) Changing Q_S affects only the running script and it's child
> > process.
>
> I don't know what happens under mod_perl, if you ever move your script
> to that envionment. Under standard CGI, this is certainly true.


That's the type of answer I want! I've never thought of mod_perl or
anything like it. (Actually I have no idea of what it is.)


> It seems to me that you are trying to take a piece of rather
> badly-written code you don't really understand, and alter it do do
> something that isn't really possible anyway. Given that you're in that
> much of a mess, a simple edit of $ENV{QUERY_STRING} may well be the best
> way out :).
>
> Ben
>

I plan to check and test more things and choose what to do.

I thank you for your constant help. Have a nice day!

Raymundo at South Korea.



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

Date: 7 Mar 2007 00:00:33 GMT
From: jt@toerring.de (Jens Thoms Toerring)
Subject: Re: Need Estimate of Programming Effort
Message-Id: <556dl1F22siiaU1@mid.uni-berlin.de>

Uri Guttman <uri@stemsystems.com> wrote:
> >>>>> "JS" == Jeff Sheffel <bogus@bogus.com> writes:
>   JS> Design a web scraping utility to scrap information from various
>   JS> shopping sites.  The code should be written in Object Oriented
>   JS> Perl, with use strict and warnings enabled.

> oh boy! strict and warnings add many hours to any project. a stupid
> requirement which doesn't help at all with estimates.

Awfully sorry for chiming in like that but I am labouring under the
impression that using strict and warnings actually saves me a lot
of time since it helps to catch my more stupid errors. Can you help
me to find out about the errors of may ways and write a bit more about
why you think it would "add many hours to any project" instead?

> Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com

This might be a temporary problem but when I try to go to the URL
at the end I got "403 Forbidden".

                              Regards, Jens
--
  \   Jens Thoms Toerring  ___      jt@toerring.de
   \__________________________      http://toerring.de


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

Date: Tue, 06 Mar 2007 20:35:50 -0500
From: Uri Guttman <uri@stemsystems.com>
Subject: Re: Need Estimate of Programming Effort
Message-Id: <x74poxesy1.fsf@mail.sysarch.com>

>>>>> "JTT" == Jens Thoms Toerring <jt@toerring.de> writes:

  JTT> Uri Guttman <uri@stemsystems.com> wrote:
  >> >>>>> "JS" == Jeff Sheffel <bogus@bogus.com> writes:
  JS> Design a web scraping utility to scrap information from various
  JS> shopping sites.  The code should be written in Object Oriented
  JS> Perl, with use strict and warnings enabled.

  >> oh boy! strict and warnings add many hours to any project. a stupid
  >> requirement which doesn't help at all with estimates.

  JTT> Awfully sorry for chiming in like that but I am labouring under the
  JTT> impression that using strict and warnings actually saves me a lot
  JTT> of time since it helps to catch my more stupid errors. Can you help
  JTT> me to find out about the errors of may ways and write a bit more about
  JTT> why you think it would "add many hours to any project" instead?

i was being sarcastic about estimating a project schedule when strict
and warnings are enabled. of course i endorse their use all the time but
it was silly for the requirements to specify them. and considering that
this was job application homework it is even sillier. how would using
strict and warnings affect project time estimation?


  >> Uri Guttman  ------  uri@stemsystems.com  -------- http://www.stemsystems.com

  JTT> This might be a temporary problem but when I try to go to the URL
  JTT> at the end I got "403 Forbidden".

it is down until i can redo the site as its hosting was moved. i should
put up an under construction thing already. an interview i did for
perlcast last summer was just broadcast last week and i got some emails
about it being down.

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: Wed, 7 Mar 2007 05:42:10 GMT
From: merlyn@stonehenge.com (Randal Schwartz)
Subject: new CPAN modules on Wed Mar  7 2007
Message-Id: <JEIqIA.9sL@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.

Acme-Hyde-0.01
http://search.cpan.org/~nozzzzz/Acme-Hyde-0.01/
Hyde Calculator
----
Acme-SDUM-Renew-0.02
http://search.cpan.org/~root/Acme-SDUM-Renew-0.02/
Renew your books from www.sdum.uminho.pt
----
Audio-MPD-0.13.4
http://search.cpan.org/~jquelin/Audio-MPD-0.13.4/
Class for talking to MPD (Music Player Daemon) servers
----
Brick-0.2186_01
http://search.cpan.org/~bdfoy/Brick-0.2186_01/
This is the description
----
Brick-0.2191_01
http://search.cpan.org/~bdfoy/Brick-0.2191_01/
Complex business rule data validation
----
CORBA-Python-0.32
http://search.cpan.org/~perrad/CORBA-Python-0.32/
----
Cache-Memcached-Indexable-0.03
http://search.cpan.org/~taniguchi/Cache-Memcached-Indexable-0.03/
A key indexable Cache::Memcached wrapper
----
Catalyst-Model-S3-0.01
http://search.cpan.org/~dcardwell/Catalyst-Model-S3-0.01/
Catalyst Model for Amazon's S3 web service
----
Catalyst-Plugin-RequireSSL-0.06
http://search.cpan.org/~agrundma/Catalyst-Plugin-RequireSSL-0.06/
Force SSL mode on select pages
----
Catalyst-View-TT-FunctionGenerator-0.02
http://search.cpan.org/~nuffin/Catalyst-View-TT-FunctionGenerator-0.02/
Generate functions from ... to be used from a TT view
----
Config-Basic-1.25
http://search.cpan.org/~fdulau/Config-Basic-1.25/
----
Config-JSON-1.0.3
http://search.cpan.org/~rizen/Config-JSON-1.0.3/
A JSON based config file system.
----
Contextual-Return-v0.2.0
http://search.cpan.org/~dconway/Contextual-Return-v0.2.0/
Create context-senstive return values
----
Continuity-0.9
http://search.cpan.org/~awwaiid/Continuity-0.9/
Abstract away statelessness of HTTP using continuations, for stateful Web applications
----
Crypt-SSLeay-0.53_04
http://search.cpan.org/~dland/Crypt-SSLeay-0.53_04/
OpenSSL support for LWP
----
DBIx-Class-QueryLog-0.02
http://search.cpan.org/~gphat/DBIx-Class-QueryLog-0.02/
Log queries for later analysis.
----
DBIx-Perlish-0.20
http://search.cpan.org/~gruber/DBIx-Perlish-0.20/
a perlish interface to SQL databases
----
Data-Validate-IP-0.05
http://search.cpan.org/~neely/Data-Validate-IP-0.05/
ip validation methods
----
FormValidator-Simple-0.22
http://search.cpan.org/~lyokato/FormValidator-Simple-0.22/
validation with simple chains of constraints
----
IO-Simple-0.04
http://search.cpan.org/~ericjh/IO-Simple-0.04/
Adds error checking to file handles and provides per file handle options.
----
IO-Socket-SSL-1.03
http://search.cpan.org/~sullr/IO-Socket-SSL-1.03/
Nearly transparent SSL encapsulation for IO::Socket::INET.
----
JE-0.005
http://search.cpan.org/~sprout/JE-0.005/
Pure-Perl ECMAScript (JavaScript) Engine
----
JavaScript-Minifier-0.02
http://search.cpan.org/~herrera/JavaScript-Minifier-0.02/
Perl translation of jsmin.c.
----
Kwiki-0.39
http://search.cpan.org/~ingy/Kwiki-0.39/
The Kwiki Wiki Building Framework
----
Mail-Audit-2.218
http://search.cpan.org/~rjbs/Mail-Audit-2.218/
Library for creating easy mail filters
----
Mail-Audit-List-1.851
http://search.cpan.org/~rjbs/Mail-Audit-List-1.851/
Mail::Audit plugin for automatic list delivery
----
Mail-Audit-PGP-1.701
http://search.cpan.org/~rjbs/Mail-Audit-PGP-1.701/
Mail::Audit plugin for PGP header fixing
----
Mail-Audit-Razor-1.801
http://search.cpan.org/~rjbs/Mail-Audit-Razor-1.801/
Mail::Audit plugin for the Vipul's Razor spam detection system
----
Mail-Karmasphere-Client-2.07
http://search.cpan.org/~shevek/Mail-Karmasphere-Client-2.07/
Client for Karmasphere Reputation Server
----
Math-Expression-1.17
http://search.cpan.org/~addw/Math-Expression-1.17/
Evaluate arithmetic/string expressions
----
Module-Build-Convert-0.47_07
http://search.cpan.org/~schubiger/Module-Build-Convert-0.47_07/
Makefile.PL to Build.PL converter
----
Net-SMS-Optimus-0.03
http://search.cpan.org/~root/Net-SMS-Optimus-0.03/
Send SMS through www.optimus.pt
----
Net-Twitter-v1.0.0
http://search.cpan.org/~cthom/Net-Twitter-v1.0.0/
Perl interface to twitter.com
----
POE-Component-CPAN-YACSmoke-0.17
http://search.cpan.org/~bingos/POE-Component-CPAN-YACSmoke-0.17/
bringing the power of POE to CPAN smoke testing.
----
POE-Component-Server-SimpleHTTP-1.20
http://search.cpan.org/~bingos/POE-Component-Server-SimpleHTTP-1.20/
Perl extension to serve HTTP requests in POE.
----
Parse-QTEDI-0.01_02
http://search.cpan.org/~dongxu/Parse-QTEDI-0.01_02/
Parse QT/KDE preprocessed headers
----
QWizard-3.05
http://search.cpan.org/~hardaker/QWizard-3.05/
Display a series of questions, get the answers, and act on the answers.
----
RT-Extension-RT2toRT3-1.26
http://search.cpan.org/~falcone/RT-Extension-RT2toRT3-1.26/
This tool migrates your RT2 instance to an RT 3.x instance
----
Roman-1.10_01
http://search.cpan.org/~chorny/Roman-1.10_01/
Perl module for conversion between Roman and Arabic numerals.
----
Solaris-SysInfo-0.01
http://search.cpan.org/~pevans/Solaris-SysInfo-0.01/
A perl wrapper around Solaris' sysinfo(1) system call
----
Statistics-Forecast-0.3
http://search.cpan.org/~falcao/Statistics-Forecast-0.3/
calculates a future value
----
SyslogScan-Daemon-SpamDetector-0.52
http://search.cpan.org/~muir/SyslogScan-Daemon-SpamDetector-0.52/
Notice spammers in the log files
----
Thread-Pool-Simple-0.02
http://search.cpan.org/~jwu/Thread-Pool-Simple-0.02/
A simple thread-pool implementation
----
Thread-Pool-Simple-0.03
http://search.cpan.org/~jwu/Thread-Pool-Simple-0.03/
A simple thread-pool implementation
----
XML-MyXML-0.094
http://search.cpan.org/~karjala/XML-MyXML-0.094/
A simple-to-use XML module, for parsing and creating XML documents
----
XML-MyXML-0.095
http://search.cpan.org/~karjala/XML-MyXML-0.095/
A simple-to-use XML module, for parsing and creating XML documents
----
XML-MyXML-0.0951
http://search.cpan.org/~karjala/XML-MyXML-0.0951/
A simple-to-use XML module, for parsing and creating XML documents
----
XML-MyXML-0.096
http://search.cpan.org/~karjala/XML-MyXML-0.096/
A simple-to-use XML module, for parsing and creating XML documents


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: Wed, 07 Mar 2007 12:58:05 +0800
From: Zhou <zhouyan1986@gmail.com>
Subject: Re: Question about wizard Perl programmers
Message-Id: <m28xe9ejky.fsf@dy151-060.ust.hk>

De Vliegende Hollander
<devliegendehollander@attempt-at-not-applicable-domain-name.com>
writes:

> The sentient life form Ayaz Ahmed Khan posted the following:
>
>> I find Python much more fun to code in than Perl. I have been coding in
>> Perl longer than in Python, though, but having dived into Pythonic waters
>> (so to speak), I prefer Python over Perl whenever I have the room to do
>> so.
>
> But it's not nearly as powerful as Perl...

I fond perl is more useful. Every time I encounter some problem
annoying. For I will use perl to solve them. Though they are all tiny
problems but often need people to do something repeatedly. For example, I
want to convert all CWEB files to C code and meanwhile produce the PDF
documents of these codes. There are several subfolders each have
dozens files. Then, I will use perl to write a script to do that.

Actually, I find I almost do not need to use Shell scripting, and the
rex is so convenient in perl. I use it to replace most work I need to
do using shell script and Applescript( I use Mac ) before.

Beside such trivial system tasks, Perl of course can do much other
things and there is no need to point them all out.



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

Date: Wed, 7 Mar 2007 01:06:01 +0100
From: "Petr Vileta" <stoupa@practisoft.cz>
Subject: Re: Subroutines and Callbacks in Perl/Tk
Message-Id: <esl0hu$1rml$1@ns.felk.cvut.cz>

"doni" <doni.sekar@gmail.com> píse v diskusním príspevku 
news:1173140373.547676.307290@q40g2000cwq.googlegroups.com...
> Hi,
>
> I am right now learning about Perl/TK and have a basic question
> regarding subroutines and callbacks.
>
> I was wondering how can I have the subroutine output to display in the
> MainWindow if the subroutine is called using a button widget from the
> MainWindow.
>
> Here is the code that I wrote to test my above question.
>
> #!/usr/bin/perl
>
> use strict;
> use Tk;
>
> my $mw = MainWindow->new;
> $mw->title("Demo Program");
> $mw->Button(-text => "Test",
>            -command => sub{test()})->pack;
> $mw->Button(-text => "Exit",
>            -command => sub{exit})->pack;
> MainLoop;
>
> sub test {
>    print "We have reached the subroutine part \n";
> }
>
>>From the above code, I wanted the print statement "We have reached the
> subroutine part" to display in the MainWindow when I press the "test"
> button.
>
> When I press the "Test" button the result is getting displayed on the
> command line and not on the MainWindow.
>

You must have some widget to display text, for example Label()

#!/usr/bin/perl
use strict;
use Tk;
use Tk::Label;
use Tk::Button;

my $text_to_display = '';
my $mw = MainWindow->new;
$mw->title("Demo Program");
$mw->Button(-text => "Test",
           -command => \&test)->pack;
$mw->Label(-textvariable => \$text_to_display)->pack;
$mw->Button(-text => "Exit",
           -command => sub{exit})->pack;
MainLoop;

sub test {
   $text_to_display = "We have reached the subroutine part";
}

-- 

Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail 
from another non-spammer site please.)




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

Date: 6 Mar 2007 15:22:08 -0800
From: "DJ Stunks" <DJStunks@gmail.com>
Subject: Re: Unable to install Math::BigInt::GMP on Solaris 10
Message-Id: <1173223328.443130.73350@t69g2000cwt.googlegroups.com>

On Mar 6, 12:48 pm, sumit...@gmail.com wrote:
> The solution, for anyone interested, was to install GNU make 3.81,
> compile gmp-4.2 with this version of make, and then install
> Math::BigInt::GMP pointing the lib and INC to the location of the
> newly installed gmp-4.2.

It's good to know you got it to work, but I would suggest that this
post is going to be nearly useless to some future googler unless they
come across your OP first AND the thread remains intact.  In the
future perhaps you could consider full-quoting your OP and posting the
solution below.

We've all Googled issues like this but, as I'm sure you know, all one
normally finds is other people with the same problem.

$0.02
-jp



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

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 200
**************************************


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