|
|
Up |
|
|
  |
Author: Vakayil ThobiasVakayil Thobias
Date: Apr 20, 2008 22:13
Hello,
How can create a line chart with bar in the graph ?
I am using perl+win32
Thanks in advance.
Regards,
Thobias
|
| |
|
| |
7 Comments |
|
  |
Author: PerlFAQ ServerPerlFAQ Server
Date: Apr 20, 2008 18:03
This is an excerpt from the latest version perlfaq1.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 .
--------------------------------------------------------------------
1.3: Which version of Perl should I use?
(contributed by brian d foy)
There is often a matter of opinion and taste, and there isn't any one
answer that fits anyone. In general, you want to use either the current
stable release, or the stable release immediately prior to that one.
Currently, those are perl5.10.x and perl5.8.x, respectively.
Beyond that, you have to consider several things and decide which is
best for you.
* If things aren't broken, upgrading perl may break them (or at least
issue new warnings).
* The latest versions of perl have more bug fixes.
* The Perl community is geared toward supporting the most recent
releases, so you'll have an easier time finding help for those.
|
| Show full article (3.24Kb) |
|
| |
no comments
|
|
  |
Author: David G. HongDavid G. Hong
Date: Apr 20, 2008 17:39
Hi,
I am writing a fairly customised piece of software. And some parts of
the software are configurable - meaning that there exists some sort of
configuration file like httpd.conf (for Apache 2). Now, I want to be
able to set this up upon package installation.
Is there a procedure I can use to do this?
|
| |
|
2 Comments |
|
  |
Author: PerlFAQ ServerPerlFAQ Server
Date: Apr 20, 2008 12:03
This is an excerpt from the latest version perlfaq1.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 .
--------------------------------------------------------------------
1.4: What are Perl 4, Perl 5, or Perl 6?
(contributed by brian d foy)
In short, Perl 4 is the past, Perl 5 is the present, and Perl 6 is the
future.
The number after perl (i.e. the 5 after Perl 5) is the major release of
the perl interpreter as well as the version of the language. Each major
version has significant differences that earlier versions cannot
support.
The current major release of Perl is Perl 5, and was released in 1994.
It can run scripts from the previous major release, Perl 4 (March 1991),
but has significant differences. It introduced the concept of
references, complex data structures, and modules. The Perl 5 interpreter
was a complete re-write of the previous perl sources.
|
| Show full article (2.18Kb) |
|
no comments
|
|
  |
Author: M.O.B. i L.M.O.B. i L.
Date: Apr 20, 2008 10:45
I'm using WWW::Mechanize 1.34 and have a problem.
This doesn't work:
$agent->follow_link(text => 'Edit Librarians', n => 1);
It doesn't work in the sense that the link isn't followed and the $agent
is still on the same page. Is there a bug in my code or is there a known
bug in WWW::Mechanize. I've tried to change to space but that
didn't work.
This works:
$agent->follow_link(url_regex => qr/librarians/, n => 1);
The corresponding XHTML code is:
Edit Librarians
I want it to work since I use HTTP::Recorder to generate the code
automatically as I surf using a proxy and it generates code of the type
that doesn't work.
This works:
$agent->follow_link(text => 'Logout', n => 1);
By the way HTTP::Recorder actually generates:
$agent->follow_link(text => 'Edit Librarians', n => '1');
|
| |
|
31 Comments |
|
  |
Author: PerlFAQ ServerPerlFAQ Server
Date: Apr 20, 2008 06:03
This is an excerpt from the latest version perlfaq1.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 .
--------------------------------------------------------------------
1.7: How stable is Perl?
Production releases, which incorporate bug fixes and new functionality,
are widely tested before release. Since the 5.000 release, we have
averaged only about one production release per year.
Larry and the Perl development team occasionally make changes to the
internal core of the language, but all possible efforts are made toward
backward compatibility. While not quite all Perl 4 scripts run
flawlessly under Perl 5, an update to perl should nearly never
invalidate a program written for an earlier version of perl (barring
accidental bug fixes and the rare new keyword).
--------------------------------------------------------------------
|
| Show full article (1.61Kb) |
|
no comments
|
|
  |
Author: PerlFAQ ServerPerlFAQ Server
Date: Apr 20, 2008 00:03
This is an excerpt from the latest version perlfaq1.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 .
--------------------------------------------------------------------
1.2: Who supports Perl? Who develops it? Why is it free?
The original culture of the pre-populist Internet and the deeply-held
beliefs of Perl's author, Larry Wall, gave rise to the free and open
distribution policy of perl. Perl is supported by its users. The core,
the standard Perl library, the optional modules, and the documentation
you're reading now were all written by volunteers. See the personal note
at the end of the README file in the perl source distribution for more
details. See perlhist (new as of 5.005) for Perl's milestone releases.
|
| Show full article (2.80Kb) |
|
no comments
|
|
  |
Author: PerlFAQ ServerPerlFAQ Server
Date: Apr 19, 2008 18:03
This is an excerpt from the latest version perlfaq1.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 .
--------------------------------------------------------------------
1.6: What is Perl 6?
At The Second O'Reilly Open Source Software Convention, Larry Wall
announced Perl 6 development would begin in earnest. Perl 6 was an oft
used term for Chip Salzenberg's project to rewrite Perl in C++ named
Topaz. However, Topaz provided valuable insights to the next version of
Perl and its implementation, but was ultimately abandoned.
If you want to learn more about Perl 6, or have a desire to help in the
crusade to make Perl a better place then peruse the Perl 6 developers
page at http://dev.perl.org/perl6/ and get involved.
Perl 6 is not scheduled for release yet, and Perl 5 will still be
supported for quite awhile after its release. Do not wait for Perl 6 to
do whatever you need to do.
|
| Show full article (1.83Kb) |
|
no comments
|
|
  |
Author: ElaEla
Date: Apr 19, 2008 17:40
The following rule sets are generated by a program, which is not readily
human-readible. In order to formulate the rules into a table-like format
(supposed I know all attributes in advance), e.g.
code of (CA)n allele1 code of (CA)n allele2 LTC4Si_24
CTLA41i_22 APOB1c_29 IL61i_16 PAI12c_54 ... outcome support
Rule1 <=2 <=1
1 or 3 1 1 or 3
0 29; 0.621
Rule2 <=2 <=1
1 or 3 1 2
1 5; 1.0
....
Rulen <=2 >1
1/3 1/3 0 52; 0.692
...
|
| Show full article (1.98Kb) |
|
no comments
|
|
  |
|
|
  |
Author: Gerry FordGerry Ford
Date: Apr 19, 2008 14:11
[repost from elsewhere]
I've been looking at Mats Peterson's client for the last week. He has a
perl script and a resource file for things like your server name.
It occurs to me that a person would want to have another resource file of
some type that will hold the list of newsgroups. With my newsfeed, there's
100,000 of them, and I use a 56K dial-up, so it takes five or ten minutes.
When I fire up OE or binary vortex for the first time, it says "hold on, I'm
downloading the list of newsgroups. This could take a while, but you
prettymuch only have to do it once." Consequently it has to be serialized
somehow.
When I've had my minimal clients before, I would hard-code the group I was
looking at, like so:
#!/usr/bin/perl -w
use strict;
use Net::NNTP ();
use constant NUMBER_OF_ARTICLES => 100;
use constant GROUP_NAME => 'comp.lang.c';
use constant SERVER_NAME => ' news.newsgroups.com';
use constant NNTP_DEBUG => 0;
|
| Show full article (3.32Kb) |
|
3 Comments |
|
|
|
|
|
|