|
Strawberry Perl is "Open Source Perl for Windows that is exactly the same as Perl everywhere else". Vanilla Perl "provides a Perl distribution that is as close to the Perl core as possible." Strawberry Perl is built on Vanilla Perl.
Both distributions...
Started by Sean McMillan on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If necessary, it may include win32-specific....
Just read the explanation on the Vanilla Perl homepage
Vanilla Perl Series
The Vanilla Perl series provides a Perl distribution that is as close to the Perl core as possible.
|
|
I want to use Apple's or RedHat's built-in Apache but I want to use Perl 5.10 and mod_perl. What's the least intrusive way to accomplish this? I want the advantage of free security patching for the vendor's Apache, dav, php, etc., but I care a lot about...
Started by Chris Dolan on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I mostly started with this because I didn't want the... .
This was pretty straight forward.
I started with making my own perl RPM that installed perl into a different location, like /opt/ .
Since vendor perl's are usually 2-3 years old.
|
|
Possible Duplicate:
How do I include functions from another file in my Perl script?
I have a perl file suppose a.pl and I want to use a function from perl file b.pl. How do i do it
Started by manugupt1 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
This would require you to convert b.pl to a package .
In a Perl module file (.pm): See perlmod .
|
Ask your Facebook Friends
|
I have been using the Perl command line with a -ne option for years, largely to process text files in ways that sed can't. Example:
cat in.txt | perl -ne "s/abc/def/; s/fgh/hij/; print;" > out.txt
I have no idea where I learned this, and have only ...
Started by Anon Guy on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
perl -ne 'CODE' is equivalent to the program
while (<>) { CODE }
perl -ane 'CODE' and perl -F :
perl -ne 'print if/REGEX1/&&!/REGEX2/&&(/REGEX3/||/REGEX4/&&!/REGEX5/)' input perl -F/,/ -ane that uses mismatched....
|
|
I have a plain perl script that can be run from the command-line via perl -w test.pl . I then have a mod_perl2 script that can be accessed from a web browser. I want to have the latter call the former and send the output to the browser, flushing as it...
Started by Kev on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You need to find where Perl binary lives (on Unix, do which perl , on Windows, find Perl icond and find command line path or find the directory where perl is installed - for....
This is to put a "1;" at the end of your script .
|
|
My department is currently settling on some general code best practices, which we would like to somewhat enforce, providing developers with Perl::Tidy and Perl::Critic configurations.
Now we are having problems with side comments. The side comment is ...
Started by rassie on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
However, it's definitely possible to extend Perl::Critic to do this, see in particular Perl::Critic....
I don't think there is any mechanism for actually moving side comments in Perl::Tidy or in Perl probably don't want to do that.
|
|
Coming from a Perl 5 background, what are the advantages of moving to Perl 6 or Python?
Edit: If you downvoted this because you think it's just flamebait, read the answers below. They're not raving arguments; they're well-written discussions of the pros...
Started by raldi on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
There is also no advantage....
Perl is generally better than python for quick one liners, especially involve text/regular expressions
http://sial.org/howto/perl/one-liner/
There is no advantage to be gained by switching from Perl to Python.
|
|
We have an existing Perl application that supports mod_perl . However, our new host (Dreamhost) does not suppport mod_perl, only FastCGI; thus necessitating the port.
The existing code does not use any Apache specific stuff and is just normal Perl code...
Started by GeneQ on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I assume that you're using some.
Do you use any mod-perl specific an advantage in that there are FastCGI interfaces available for Perl.
Application's means of processing applicable to a FastCGI gateway.
|
|
I really like Perl/Tk, but have come to the opinion that it's DOA. I think Tcl::Tk and Tkx are better solutions. Assume I drop Perl/Tk. Is the "most supported" route to go with Tcl::Tk (which hasn't been updated since 2007, and whose author seemingly ...
Started by xcramps on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Personally....
I love the idea of this -- it would be wonderful to only need to change use use more developers .
Tkx was developed by ActiveState with Perl/Tk was possible.
The difference is in the API they present to Perl.
As a bridge to Tcl/Tk.
|
|
A couple of years back I participated in writing the best practices/coding style for our (fairly large and often Perl-using) company. It was done by a committee of "senior" Perl developers.
As anything done by consensus, it had parts which everyone disagreed...
Started by DVK on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
If the "perl to inhibit readability to either....
The great thing, is it does all of this without taking the functionality hit of "not using it" .
I'd say Moose kills off 99.9% of Perl-isms, by convention, that shouldn't be used: symbol table.
|