Perl

25K

Solutions

10

Articles & Videos

9K

Contributors

Perl is a high-level, general-purpose, interpreted, dynamic programming languages with over 25 years of development. Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large-scale development projects.  Perl gained widespread popularity as a Common Gateway Interface (CGI) scripting language, in part due to its regular expression and string parsing abilities. In addition to CGI, Perl is used for graphics programming, system administration, network programming, finance, bioinformatics, and other applications.

Refine results

Need to add to my unsophisticated Perl script the ability to parse a "local_tran_id" returned from an Oracle Sql-query to use in another query to the database.

Need to parse each of the values in …

19 views
PRTG Network Monitor: Intuitive Network Monitoring
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Hi, I have a sub-folder on my website,  /info/. In that directory, I have maybe 100 original articles which I can separate into 11 topics. I'm trying to create an article index, so that readers can …

916 views

I am totally new to this.  I have a DLP which uses perl syntax.  I'm trying to get started to write a syntax which will catch phone numbers.  Can any help with the syntax.  

The phone number format…

34 views

Help!  Loosing faith in humanity here!  On Sunday evening my leased server started displaying 'Internal Server Error' messages on all sites running server side scripts.  The host, 1&1 have thus far …

320 views

Hi folks.

I am in need of some help to parse a file named input.log  It basically looks like this:

Server:            200.200.200.200
Address:      200.200.200.200#53

** server can't find …

1147 views

My internet reading shows me this:

(CODE)

I understand that the 's' in the regex means substitute and the g at the end means substitute all matches. The $search is, of course, a regex expression…

122 views

I know how to get the API link manually from browser plugins such as developer tools or firebug. I have a requirement to get all the APIs for testing. I have to write a script in any language(python, …

1192 views

I have a grep statement that would like it converted to perl or phyton

The issues was :

need a way to to read a file that's in csv format ( keeping in mind the header)  like so:

Country      View…

642 views

i have a file and a line in file is   "0 Rows successfully loaded"
how to return number in line . its always $1.
i can with sed find and print the line
 sed -n '/successfully/{p}' test/test.log  > …

1125 views

Amongst many rows, I am able to get only the last row through email in the body. Can you please let me know where I am going wrong?

----------------------------------------------------------------…

337 views
Comprehensive Backup Solutions for Microsoft
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Requirement is to have an ongoing log file where entries are periodically written to the file.  Current Perl script opens file in append mode, so that if file already exists, then entries are simply …

1796 views

(CODE)

896 views

Hi,

My "While condition" is located near the bottom of this script. I'm trying to eliminate several characters by a specific identity from the front of strings in a flat file database.

I tried …

546 views

Hi

I'm attempting to get certain attribute if they exist from .mov files I've used MediaInfo (https://mediaarea.net/en/MediaInfo)  to create an XML I now need help in extracting the following

232 views

http://perldoc.perl.org/perlop.html#Regexp-Quote-Like-Operators

    $rex = qr/my.STRING/is;
    print $rex;                 # prints (?si-xm:my.STRING)

Why would it print (?si-xm:my.STRING) …

742 views

What does msixpodualn stand for and how do I read this "qr/STRING/msixpodualn"?

http://perldoc.perl.org/perlop.html#Regexp-Quote-Like-Operators
gave explanation but it's confusing syntax.

470 views

Hi - I am building a csv file with the below format

Name,23,2000,00000,123
Name2,24,3000,00000213,123341

I dont want users to enter data in CSV so want to build an HTML so that they can enter …

24114 views

Hello Experts,

I have the below perl scripts, I want to export the below variables at the start of the script, How do I do it

export https_proxy=http://proxy.company.com:80
export …

368 views

HI - I am using the below command to compress the file

(CODE)
the above command now creates a tar file
example: myfile1.tar.gz

how to do the opposite uncompress the file and also want another …

145 views
Optimizing Cloud Backup for Low Bandwidth
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Hi - I wrote a perl script and I have a case where if a condition is satisfied it needs to call a shell script to execute.
I dont want the output I just want to run that shell script, so how do I …

6102 views

I have an application written in Perl, that generates huge number of files.  Need a Perl snippet to limit the number of log files written to our "/var/tmp" directory.  Yesterday we accumulated 7,500 …

774 views

Hi, I have a file with a large number of character conversion errors and all non-ASCII characters were converted to question marks - "?" - so there are a number of instances of such strings as: Jos?, …

262 views

I have a file that is riddled with words containing HTML character codes & entities such as: Müller, Étre or "Flying—High" -- however, there's also a lot of junk ones that …

793 views

Hi - I wrote the below code to find a file in a directory and later compare the MD5 values of those files.
The only problem I have is I used "File::Find::Rule" to find the file and now I don't want …

170 views

Hi - I am storing all the files that come in a folder (example folderA), all the files have same name so I store them using time stamp after compressing them.
So for example folderA has the below …

687 views
Show more content
201506-LO-Top-001

TOP EXPERTS

view all

RELATED TOPICS view all topics

  1. Scripting Languages
    (26,518)
  2. Shell Scripting
    (9,844)
  3. Linux
    (64,659)
  4. Regular Expressions
    (6,729)
  5. Programming
    (52,042)
  6. PHP
    (117,761)
  7. Unix OS
    (32,732)
  8. Web Languages and Standards
    (39,505)
  9. Apache Web Server
    (19,644)
  10. Programming Languages-Other
    (19,712)