Questions tagged as 'perl'

1
answer

Arduino serial port error with communication between C and Perl

I have to make a language communicate with arduino and vice versa. I have the program in C and I have to modify it for this project, the language I will have to use is Perl . Here is the code I have: use 5.014; use str...
asked by 23.08.2016 / 20:22
1
answer

Perl is it used today?

Well, I see little about Perl and I do not know much about the language, it is still used nowadays and can replace some other language like PHP or Ruby? I do not know exactly what Perl does but as I see little about it, and it seemed interesting...
asked by 01.08.2017 / 20:37
2
answers

Perl for web development

Is it possible to use Perl for web development? In this context, does the language offer any benefit, ie are there problems that it solves more effectively than on other platforms?     
asked by 31.03.2015 / 21:12
3
answers

Retrieve groups from a regular expression in Perl

I'm running this regular expression to separate the digits of a version: ([\d]+)+ As you can see in this example , it works well enough to cover my needs. However, I have to add this to a Perl script, which is not my specialty. I run my...
asked by 03.05.2015 / 17:54
2
answers

perl: warning: Setting locale failed

There seems to be an error with the local settings of Perl and / or the system, but the details obtained do not clarify what is is passing: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANG...
asked by 15.05.2015 / 11:54
2
answers

Copy everything before the first blank line

I have a file with several blocks of text separated by a blank line. Ex.: block1 block1 block2 block3 block3 I need a solution with sed, awk or perl that finds the first blank line and redirects the previous block to another file a...
asked by 11.12.2015 / 19:34
1
answer

Concatenate new line

How to add a new line separating the inputs into a Perl script? Example: I'm using the following script: #!/usr/bin/perl print 'oi' . '\n' . 'oi,de novo' And I call by bash as follows: perl test.pl > a.txt When openin...
asked by 04.11.2016 / 13:47
1
answer

Perl: Find a line in a txt by combining typed words?

Good afternoon, I have a notepad with several lines typed as for example: ★ Bayonet ★ Bayonet | Autotronic (Battle-Scarred) ★ Bayonet | Blue Steel (Minimal Wear) ★ Bayonet | Case Hardened (Battle-Scarred) ★ Bayonet | Case Hardened (Factory...
asked by 22.05.2017 / 21:38
1
answer

openWebmail error when sending email to a person

I have installed Open WebMail, I have several more accounts in some accounts as soon as an email is sent to them, returns the error below, plus they receive the message, someone has already seen and or imagine what it can be? / p> De: Mail Del...
asked by 26.10.2016 / 14:43
3
answers

How to separate into different variables a file with multiple FASTA

I wanted to know how I can put each FASTA into a different variable, all of which are in the same file. Or even put in an array and retrieve each of them by numbers. Each Fasta starts with the symbol of > , as in the example: '&g...
asked by 16.07.2014 / 19:03