comp.lang.perl.misc
  Home FAQ Contact Sign in
comp.lang.perl.misc only
 
Advanced search
February 2008
motuwethfrsasuw
    123 5
45678910 6
11121314151617 7
18192021222324 8
2526272829   9
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
comp.lang.perl.misc Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  FAQ 2.7 Is there an ISO or ANSI certified version of Perl?         


Author: PerlFAQ Server
Date: Feb 7, 2008 18:03

This is an excerpt from the latest version perlfaq2.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

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

2.7: Is there an ISO or ANSI certified version of Perl?

Certainly not. Larry expects that he'll be certified before Perl is.

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

The perlfaq-workers, a group of volunteers, maintain the perlfaq. They
are not necessarily experts in every domain where Perl might show up,
so please include as much information as possible and relevant in any
corrections. The perlfaq-workers also don't have access to every
operating system or platform, so please include relevant details for
corrections to examples that do not work on particular platforms.
Working code is greatly appreciated.

If you'd like to help maintain the perlfaq, see the details in
perlfaq.pod.
no comments
  Help with HTML:TableContentParser         


Author: roberthuberjr
Date: Feb 7, 2008 13:44

I have an html file I'm reading in from my file system (not via
get($URL) that I'm trying to parse the table from using
HTML::TableContentParser.

My script runs, but produces no results. I'm thinking I need to read
the file into an arrary to get the parser to work on it. Here's my
code (lifted from the Perl cookbook mostly) -

#!/usr/bin/perl
use HTML::TableContentParser;
use HTML::Entities;
use strict;
my $FILE = open(" #??????read the file into an arrary maybe????
my $tcp = new HTML::TableContentParser;
my...
Show full article (1.73Kb)
4 Comments
  FAQ 2.15 Where can I buy a commercial version of perl?         


Author: PerlFAQ Server
Date: Feb 7, 2008 12:03

This is an excerpt from the latest version perlfaq2.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

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

2.15: Where can I buy a commercial version of perl?

In a real sense, perl already *is* commercial software: it has a license
that you can grab and carefully read to your manager. It is distributed
in releases and comes in well-defined packages. There is a very large
user community and an extensive literature. The comp.lang.perl.*
newsgroups and several of the mailing lists provide free answers to your
questions in near real-time. Perl has traditionally been supported by
Larry, scores of software designers and developers, and myriad
programmers, all working for free to create a useful thing to make life
better for everyone.
Show full article (2.19Kb)
no comments
  XS code         


Author: Robert Henniger
Date: Feb 7, 2008 09:32

Hi to all.
Today I tried to compile my script to an .NET DLL.
This script uses HTML::Template::Pro. The compile process works well.
When I try to use this dll then I get the following message:

Unhandled Exception: PerlRuntime.PerlException: Can't locate auto/HTML/
Template/Pro/query.al in @INC (@INC contains: .... .)

I ve searched for this file but i found nothing. I also contacted the
author of the module but i am still waiting for a feedback.
Maybe someone can help me and explain what a .al file do and why it is
needed.

Is there something i have to change when i use modules with xs parts?

The same script with HTML::Template works well but is very slow.
Thats why i wanna try this module.

Thanks in advance.

Best regards
Robert
Show full article (0.88Kb)
3 Comments
  ssh using system call         


Author: seema
Date: Feb 7, 2008 06:12

Hi all,

I am new to perl programming on unix, I am trying to ssh to another
box, here is the code I have written,

#!/usr/bin/perl
system ("ssh mygoodbox; mv x y; exit;) ;

it does ssh sucessfully and mv command also works fine. But controle
doesnt return even though exit is there. It just stays in that
machine. Can some body explain how to handle
this. I am using perl 5.8

Please help
seema
1 Comment
  FAQ 3.3 Is there a Perl shell?         


Author: PerlFAQ Server
Date: Feb 7, 2008 06:03

This is an excerpt from the latest version perlfaq3.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

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

3.3: Is there a Perl shell?

The psh (Perl sh) is currently at version 1.8. The Perl Shell is a shell
that combines the interactive nature of a Unix shell with the power of
Perl. The goal is a full featured shell that behaves as expected for
normal shell activity and uses Perl syntax and functionality for
control-flow statements and other things. You can get psh at
http://sourceforge.net/projects/psh/ .

Zoidberg is a similar project and provides a shell written in perl,
configured in perl and operated in perl. It is intended as a login shell
and development environment. It can be found at http://zoidberg.sf.net/
or your local CPAN mirror.
Show full article (1.90Kb)
no comments
  problem with '>' character         


Author: JD
Date: Feb 7, 2008 02:47

Hello,

I have a html-like string, and would like to remove the left part,
including the leftmost '>'. I use s/^.*>//;
but it does not work as expected (neither does s/^.*\076//;).
Something funny is going on, but I do not know what. It looks like a
shift-operator comes into action.

Can someone tell me what the problem might be, and how to get it right?

Thank you.
16 Comments
  MIME::Head subsequent calls in a loop return empty values         


Author: ebg005
Date: Feb 7, 2008 01:45

Hi,

To read SMTP message header fields of multiple messages (in Maildir),
I have a foreach loop which is doing subsequent calls to the sub
routine below. The first call is OK and returns the from and the to
field in a hash (called by reference), but successive calls to the
same readHeader routine returns me no values into my hash and gives no
error.

sub readHeader ($$) {
my ( $headRef, $msgFile ) = @_;
# get header fields
my $head = MIME::Head->from_file ( $msgFile );
$headRef->{from} = lc $head->get ( 'From' );
$headRef->{to} = lc $head->get ( 'To' );
}

I'm using the MIME-tools-5.425.
All ideas are welcome.

Thanks
no comments
  FAQ 2.11 Perl Books         


Author: PerlFAQ Server
Date: Feb 7, 2008 00:03

This is an excerpt from the latest version perlfaq2.pod, which
comes with the standard Perl distribution. These postings aim to
reduce the number of repeated questions as well as allow the community
to review and update the answers. The latest version of the complete
perlfaq is at http://faq.perl.org .

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

2.11: Perl Books

A number of books on Perl and/or CGI programming are available. A few of
these are good, some are OK, but many aren't worth your money. There is
a list of these books, some with extensive reviews, at
http://books.perl.org/ . If you don't see your book listed here, you can
write to perlfaq-workers@perl.org .

The incontestably definitive reference book on Perl, written by the
creator of Perl, is Programming Perl:

Programming Perl (the "Camel Book"):
by Larry Wall, Tom Christiansen, and Jon Orwant
ISBN 0-596-00027-8 [3rd edition July 2000]
http://www.oreilly.com/catalog/pperl3/
(English, translations to several languages are also available)
Show full article (8.04Kb)
no comments