Perl is a portable general-purpose dynamic programming language. It is used in a diverse variety of domains: system management scripting, text processing, web content management, Biology calculations, and others. It has a rich library of free reusable modules - the CPAN and a vibrant community of ...
2
votes
2answers
166 views
Programming style in Perl
I work in Java so basically I use OOP paradigm during coding.
I am about to start working in Perl and I was wondering what is the paradigm that Perl developers follow.
In wiki it mentions that it ...
0
votes
1answer
80 views
Task Scheduler shared hosting
I am using a shared host that which doesn't support CRON/TaskScheduler (it is a windows Godaddy server).
I need to search on email server for new emails on each 1 hour, I have the script on PHP.
Can ...
8
votes
2answers
203 views
Is Non-Deterministic Resource-Management a Leaky Abstraction?
From what I can see, there are two pervasive forms of resource-management: deterministic destruction and explicit. Examples of the former would be C++ destructors and smart pointers or Perl's DESTROY ...
0
votes
0answers
8 views
getting form data values as null in %fdat varible in EmbPerl [migrated]
I am getting form data values as null in %fdat varible in EmbPerl, if we go for file upload and form property enctype="multipart/form-data".
Here is the EmbPerl code :
if(( defined $fdat{file} ...
3
votes
1answer
92 views
How to profile a Perl + FastCGi + StarRunner web program?
I've written an extension to RequestTracker for a client, but he says the performance isn't good enough. I'd like to do some profiling, but I'm not sure how to connect up a profiler (say NYTProf, for ...
1
vote
1answer
76 views
is it possible to monitor more than one stream simultanously?
E.g.
- $stream1 is the STDOUT of a child process and $stream2 is the STDERR of the same child process
- $stream1 is one child process and $stream2 is another child process
Is there a possiblility in ...
3
votes
1answer
122 views
Is it better to use $filehandler or FILEHANDLER?
It seems like FILEHANDLER is more commonly used as a handler naming convention than $filehandler.
But it can give a bareword error if one forgets to use *FILEHANDLER in some constructions.
What are ...
1
vote
1answer
91 views
API for building rich clients in Perl
Is there an API/framework for building rich client apps in Perl?
If 1. is no, why do you think that is?
What would it take to enable rich client development on various windowing platforms (MSFT, X11, ...
4
votes
3answers
410 views
How does the GPL static vs. dynamic linking rule apply to interpreted languages?
In my understanding, the GPL prohibits static linking from non-GPL code to GPL code, but permits dynamic linking from non-GPL code to GPL code. So which is it when the code in question is not linked ...
-3
votes
2answers
223 views
What language Nginx using? [closed]
I like to EDIT the nginx.conf , and nginx virtual host conf files.
What languages they are using for Editing? Perl ? or bash ?
And I like to learn how to write module for NginX too. What language I ...
2
votes
3answers
116 views
conventions for friend methods in Perl
Perl doesn't support a friend relationship between objects, nor does it support private or protected methods. What is usually done for private methods is to prefix the name with an underscore. I ...
0
votes
2answers
276 views
Basic web architecture : Perl -> PHP
This is an architecture question. If there is a better forum, please redirect me. Apologies in advance.
Essentially every website is built around a relational database, right? When a user uploads ...
1
vote
1answer
121 views
What is a “template” in Perl?
I can find all sorts of weird information about templates in Perl, but nothing about what they actually are.
Are they generic types like in C++? Is it a class-like structure? Or maybe something ...
0
votes
1answer
75 views
Converting data-structure in Perl [closed]
A function produces this hash of arrays:
'KEYNAME1' => ARRAY(0x1edeeb0)
0 'val11'
1 'val12'
2 'val13'
'KEYNAME2' => ARRAY(0x1efacb8)
0 'val21'
1 'val22'
2 'val23'
...
0
votes
1answer
192 views
Arrow => in Perl
What does the => mean in Perl?
my $CreateArray = [
objectClass => [ "top", "person", "organizationalPerson", "inetOrgPerson" ],
cn => "Jane User",
uid => "0000001",
sn => "User",
mail ...
1
vote
1answer
450 views
UML representation of specific factory pattern
I have to create an UML class diagram from the following example code (Perl). I don't think that the standard factory pattern match in my case or I don't understand it correctly. I don't have ...
4
votes
4answers
959 views
Scripting language for filling out web form
I have a job as an intern at a technology company, I was given the unfortunate job of performing some data entry into our web management system. The information entered into the web form is stored in ...
5
votes
4answers
561 views
Improving grepping over a huge file performance
I have FILE_A which has over 300K lines and FILE_B which has over 30M lines. I created a bash script that greps each line in FILE_A over in FILE_B and writes the result of the grep to a new file.
...
0
votes
2answers
79 views
Queuing rpc calls
I'm designing a system which listens to JSON RPC calls from clients, piles them up inside a list, and if the list gets full it should store them in a DB and keep receiving calls.
My original plan is ...
2
votes
1answer
145 views
Alternative to Perl's POD Documentation in Other Languages?
Perl has this really cool documentation method that makes documenting really easy. It's called POD (Plain Old Documentation). Here is an example:
=head1 NAME
Example::Module - an example
=head1 ...
1
vote
1answer
159 views
Unique aspects and uses of perl [closed]
I'm learning Perl for a web programming internship this summer (with a background in PHP). Though I'm comfortable learning new languages, my experience is that there are always useful and unique ...
0
votes
1answer
210 views
Teaching programming (languages) in central/northern Europe
I hope this question is not going to be off-topic; in case you think there'd be a better place to ask it, please let me know.
Anyway, I'm currently doing my PhD working in bioinformatics. I would, ...
1
vote
1answer
107 views
differences between Statistics::R and Statistics::useR — which one should I look into? [closed]
I've been looking into tools to seamlessly data munge from Perl into R and back into Perl, and I've seen two packages recommended: Statistics::R and Statistics::useR which seem to cater for different ...
2
votes
1answer
114 views
What conventions or frameworks exist for MVVM in Perl?
We're using Catalyst to render lots of webforms in what will become a large application. I don't like the way all the form data is confusingly into a big hash in the Controller, before being passed to ...
0
votes
1answer
60 views
Which technology should be used for a minimal Job Controlling System on Linux shell? [closed]
I'm designing some sort of console tool for linux shell, which must be able to start processes in the background and, depending on their output, continue it's functonality in a specific manner.
...
12
votes
3answers
2k views
What are the similarities between Perl and Java?
I have my mind set that I'm learning Java as my second language (I am a Perl developer). But just from reading a little of the online tutorials, I really can't find any similarities between the two. ...
11
votes
12answers
2k views
How to write a command interpreter/parser?
Problem: Run commands in the form of a string.
command example:
/user/files/ list all;
equivalent to:
/user/files/ ls -la;
another one:
post tw fb "HOW DO YOU STOP THE TICKLE MONSTER?;"
...
10
votes
12answers
1k views
As a young developer, should I be worried about having to use “out-of-style” tech at work?
I'm a recent college graduate (last May!). While I was still in school, I wanted to make sure that I had a job before I graduated, and very early (probably too early) in my job search I settled on one ...
7
votes
2answers
922 views
Why is Perl's smart-match operator considered broken?
I've seen a number of comments across the web Perl's smart-match operator is broken.
I know it originally was part of Perl 6, then was implemented in Perl 5.10 off of an old version of the spec, and ...
5
votes
5answers
497 views
increasing productivity - mastering a language vs. selecting efficient tools
I'm looking for advice from experienced developers on this question.
In my work there's a need for a lot of one-off code. It's tempting to just dip into the right python/perl library calls to do ...
5
votes
1answer
372 views
S-Shaped Perl Program?
In his Why I Hate Django presentation, Cal Henderson brings up this awesome program in Perl which is a giant "S," which solves a Sudoku problem. Does anyone know where I could get access to this code? ...
3
votes
2answers
429 views
How Should I Go About Learning Ruby From Perl? [closed]
I am looking to start learning Ruby, migrating from Perl. What are the major differences and how should I go about learning Ruby? Also, what are some "gems" in Ruby that are similar to Perl's modules?
...
51
votes
20answers
20k views
Is Perl still a useful, viable language? [closed]
I know it may have been asked before, but here goes nothing...
Is Perl still something that would be considered useful? If someone was a new programmer (either completely new to programming or just a ...
1
vote
3answers
385 views
Learning Perl for Web Development? [closed]
I am a PHP developer and practically everything I do is written in PHP. This is fine. However, I get a bit bored and I would like to pick up something else.
I have dabbled in Python and found it ...
7
votes
3answers
594 views
What does a company typically expect from a Perl developer?
Are there any common expectations from perspective employers when they hire a Perl developer?
For a student who likes Perl and Linux and would like to get a job as Perl developer, what would you ...
5
votes
6answers
328 views
PHP as a scripting language
I have reasonable knowledge of PHP, Perl, and Bash. I use Perl for most text processing on my system (find, replace, filter output, etc). I use PHP for web development, allowing a user to view and ...
6
votes
6answers
528 views
What is an effective way to familiarize yourself with a new application in a new language (and still look productive at a new job)?
I started a new job working on an application I'm vaguely familar with, and it's in Perl! I come from a PHP and Java background, so while I understand the basics, there are lot of nuances in Perl that ...
5
votes
1answer
77 views
What is an effective way to familiarize yourself with a new application in a new language? [duplicate]
Possible Duplicate:
How do I pick up a new language quickly, given I know several others?
I started a new job working on an application I'm vaguely familar with, and it's in PERL! I come ...
4
votes
3answers
426 views
Is it possible to deploy Perl or Python scripts in the same way as PHP scripts?
PHP's deployment model is uber simple: upload and run. This is especially ideal for web applications that are intended to be installed on shared hosting by end users (think: Wordpress). Compare this ...
8
votes
2answers
1k views
Is it true that “Real programmers can write assembly code in any language.”?
Real programmers can write assembly code in any language.
(Larry Wall).
As far as I can make out, Mr. Larry Wall is trying to say that to a real programmer any language can have the same ...
3
votes
4answers
543 views
Is Independent Java Development Worth it Compared to Objective-C?
First I would like to say that I'm not developer, but I love to code whenever I can. I mainly use Perl which is the language I use when doing System Administration.
For different reasons (that I'm ...
12
votes
6answers
2k views
Why is Perl so heavily used in Bioinformatics?
What is it about Perl that makes it so useful in Bioinformatics ? Why isn't C++ or Matlab or Python the big language?
7
votes
10answers
922 views
Is dynamic language always interpreted?
Looking at most (if not all) dynamic languages [i.e Python, PHP, Perl and Ruby], they are all interpreted. Correct me if I'm wrong. Is there any example of dynamic language that goes through ...
0
votes
6answers
504 views
Java API vs. Other APIs
I'm more at the novice end of the software developer spectrum, but nevertheless I've had exposure to quite a few programming languages and frameworks. From all the technologies I've used, I haven't ...
2
votes
5answers
328 views
Source Control on a Live Shared Hosting Site
I'm not sure this is the right place to ask this question, but here goes.
I have a website on a shared hosting linux server. In an ideal world I would make all changes to it offline in a version ...
2
votes
5answers
2k views
What language to use for prototyping and creating quick scripts?
Right now, I use Python for my quick scripts and prototypes (e.g. algorithms, my pseudocode is very Python-like as well). The oher languages that I am familiar with include Java, C, x86 Assembly and ...
7
votes
8answers
603 views
Beginning Perl? [closed]
What is the best book for beginning Perl? Where to learn Perl from the basics?
I only know bash/Linux at an intermediate level. I would like to learn Perl because it has the same syntax on every ...
2
votes
6answers
272 views
Feedback On Choosing A Language For A Project?
Without starting a religious war, I'd like feedback on languages I'm considering for a project. I've done a lot of research, but I have a lot of gaps still and am hoping to narrow my research ...
7
votes
3answers
744 views
Why does the Perl community have such a bad reputation? [closed]
I'm still fairly new to programming. I spend most of my time in Ruby, and I'm discovering a certain fondness for playing with regular expressions. That being said, I'm considering taking a look at ...
7
votes
9answers
3k views
Is there any good reason for someone who knows Python to learn Perl? [closed]
Reading the answers to Python vs. Perl in ten years time here on SE, most people seem to say go with Python. I agree (sorry Perl fans ;-) ). I already know Python, and I think it is a very good ...