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 ...
-1
votes
0answers
62 views
Should I learn a new text manipulation language or how to set up a linux system? [closed]
In past jobs I have written shell scripts to manipulate HTML and XML files.
This job, I only have access to windows, so I'm not sure if I should learn perl, python or what is even available on ...
0
votes
0answers
7 views
perl comparing 2 data file as array 2D for finding match one to one [migrated]
I'm doing a program that uses combinations of variables ( combiData.txt 63 rows x different number of columns) for analysing a data table ( j1j2_1.csv, 1000filas x 19 columns ) , to choose how many ...
0
votes
0answers
60 views
How to parse a CSV file containing serialized PHP? [migrated]
I've just started dabbling in Perl, to try and gain some exposure to different programming languages - so forgive me if some of the following code is horrendous.
I needed a quick and dirty CSV parser ...
1
vote
1answer
68 views
Discovering functionality from parallel class hierarchy
I have an abstract syntax tree which I want to compile down to different representations. I am now struggling to arrange the classes in a way that new representations can be added easily.
The easiest ...
1
vote
2answers
382 views
Languages implemented in Python?
AFAIK, Scala and Clojure are implemented in Java and Java is implemented in C. I suppose that many or most languages are implemented in C, for instance Perl, Python and SQL. I don't know much about ...
1
vote
1answer
100 views
Checking for cross-site scripting vulnerabilities in Perl web applications
I'm putting together some notes for a dev team on how to write secure Perl code - especially taking into account the current OWASP top 10 web application vulnerabilities. For cross-site scripting I've ...
0
votes
2answers
356 views
Is Perl outdated for CGI and FCGI? [closed]
When we did web development in 1996 it was CGI, FCGI and Perl on the backend. Now why is Perl not that popular anymore and instead we use Java, Python, Go, PHP, C# and everything but Perl? To me it ...
2
votes
2answers
167 views
C Equivalent of Perl Unpack & Pack
I have some perl code that uses pack and unpack to transform the data in a way that I don't understand.
$unpacked_data = pack('b*', join('', unpack('(b7)*', $packed_data)))
Where $packed_data = a ...
2
votes
3answers
120 views
Perform operations in the entry-script, or create a class which just instantiates and calls methods?
I'm building a perl application which does the following operations:
Copy a bunch of files (class fileFetcher )
Parse each file (class fileParser)
Store some data from each file in a database (class ...
6
votes
3answers
343 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
255 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
267 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 ...
4
votes
1answer
186 views
How to profile a Perl + FastCGi + StarRunner web program? [closed]
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
87 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 ...
4
votes
1answer
151 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 ...