Hello, Sign in or Join Our Community Help | Site Map
Connecting Tech Pros Worldwide

Perl Forum

Perl programming language - ask questions about perl programming, sytax, variables, scoping, constructs, operators and functions, files, I/O, regular expressions, regex, subroutines, OO (object oriented), perl modules, CGI and more.
Views: 588 Announcement: Site Downtime Apologies
May 13th, 2008 msquared (Admin)
Perl Resources
Post Reply? | Posted by: eWish | Last post by eWish, 45 days ago
This thread is designed to provide links to Online Perl Resources which will be helpful in learning how to use and code in the Perl... more »
sticky
Guidelines To Ensuring Better Answers and Assistance To Your Thread(s)
Post Reply? | Posted by: numberwhun | Last post by numberwhun, 186 days ago
Please remember the following when posting a question in the Perl Forum. Doing so will get you better assistance. Provide Sample Code - You will... more »
sticky
Using * works but using + doesn't work in matching MHI:;
2 Replies | Posted by: poolboi | Last post by poolboi, Today
hey guys, another question for thoughts, i'm matching this: MHI:; if($data1 =~ /^(\s\D\D\D:.+\;)/) more »
how to match front and end of a sentence using regexp?
6 Replies | Posted by: poolboi | Last post by poolboi, Yesterday
hi, this is somewhat link to the other post i posted but i shall put it in another topic for easy reference previously i had /* 4... more »
Replace special character
3 Replies | Posted by: dillipkumar | Last post by dillipkumar, 3 days ago
Can somebody help me, Take any string from command line prompt & replace what ever special character will get in that string that should be replaced... more »
How to insert 2 arrays into 2 fields in MySQL using Perl
3 Replies | Posted by: poolboi | Last post by Atli, 3 days ago
hi guys, i dunno if this post should be in Perl or MySQL but i'm using Perl DBI to do manupilations now in MySQL i've got problem trying to input... more »
cURL with Perl
4 Replies | Posted by: rottmanj | Last post by rottmanj, 3 days ago
I am working on a revamp of a previous application that I have written in coldfusion. The application deals with RETS data. The issue that I am... more »
CPAN module compilation
1 Reply | Posted by: sowm18 | Last post by KevinADC, 3 days ago
Hi all, I am trying to install IO::Tty module from CPAN on my Windows Machine which has Active Perl 5.8.8 Version running. During the module... more »
how to match a paragraph by regexp?
7 Replies | Posted by: poolboi | Last post by nithinpes, 3 days ago
hey guys, another regexp problem which i'm probably not good at here goes my text file has this /* 1 TB VTP-1 SESSION=01547 USERID STARTED... more »
how to store my date in variables using locatime
2 Replies | Posted by: poolboi | Last post by poolboi, 4 days ago
hey guys, ($sec, $min, $hrs, $day, $month, $year) = (localtime) ; printf("%04d-%02d-%02d\n", $year+1900, $month+1, $day); the above right print... more »
Regexp query
2 Replies | Posted by: poolboi | Last post by poolboi, 5 days ago
hey guys, this is one regexp i did and it worked but i dunno if it's correct could anyone verfy for the sentence in the file /* 1 TB Hi VTP-10... more »
Problem extracting data from text file
4 Replies | Posted by: poolboi | Last post by poolboi, 5 days ago
hi guys i've having some problem extracting data from a text file example if i got a text file with infos like: Date 2008-05-01 Time 22-10 Date... more »
setting range of indices in an array with a constant value
1 Reply | Posted by: zcabeli | Last post by nithinpes, 5 days ago
Hi i'd like to set a range of indices in a list with one constant value. for example if list = then list(1..4,6) = 9 will change 'list' as... more »
MS Project task name cell color
Post Reply? | Posted by: mohanprasadgutta | Last post by mohanprasadgutta, 6 days ago
Hello, I am facing problem when trying to update a MS project task name cell color. here is my code. Win32::OLE->FreeUnusedLibraries... more »
removing extra fields
1 Reply | Posted by: ajd335 | Last post by Ganon11, 8 days ago
Hi.. I have the below result in my one text file. |-------------------|- |email | |-------------------|-- | | | ... more »
Match between the arrays
9 Replies | Posted by: MyMarlboro | Last post by MyMarlboro, 8 days ago
there are two arrays in arrayA and arrayB, I wish to match the list between them regardless of the number(1 2 3 or...) to list down which is not in... more »
On file sending
Post Reply? | Posted by: sasimca007 | Last post by sasimca007, 8 days ago
Hello friends, Generally when some systems are in LAN we can pass some files from one computer to another through some commands... more »
Connect to the remote machine using Telnet module
1 Reply | Posted by: thamayanthi | Last post by numberwhun, 9 days ago
Hi, Please find the below code which is used to Print the Operating System of a remote Machine of linux.This code is working fine,if i give the... more »
how to append to a text file?
2 Replies | Posted by: poolboi | Last post by poolboi, 9 days ago
hi guys, i've got a problem in appending text file i'm creating a history log for people who use my my programs in my text file i got root Thu May... more »
How to call on terminate function in perl
3 Replies | Posted by: cnsabar | Last post by cnsabar, 10 days ago
Hi., I want to call some function when the user force to terminate the perl program. For example., I write a program to create a file when the... more »
Array!! diffrencess
1 Reply | Posted by: lokeshrajoria | Last post by KevinADC, 10 days ago
Hello, I've some doubt about array definition. what is diffrence to define the array: 1. @arr = split(/\s+/, $dest_sig); ... more »
How to search values in an array & if it matches data in a file, perform an action?
3 Replies | Posted by: hutch75 | Last post by nithinpes, 12 days ago
Question could also be asked, how to compare data between two arrays and perform an action (print cmd) everytime there is a match? The problem I'm... more »
Stylized perl/tk GUI
1 Reply | Posted by: govindadya | Last post by numberwhun, 12 days ago
Hello, I am developing an application which is GUI based for that I am using perl/tk. and my developed perl/tk GUI is a simple visibilty to the... more »
Problem in Date Function
5 Replies | Posted by: cnsabar | Last post by numberwhun, 12 days ago
Hi, I am using localtime() function to fetch the date and time. But the problem arise is when the user change the date and time ., it will affect... more »
How to match?
2 Replies | Posted by: sasimca007 | Last post by numberwhun, 12 days ago
Hello friends, I am using matching pattern in javascript. But total html and scripting code is in perl code(modperl). When i... more »
creating array of hash..
13 Replies | Posted by: dillipkumar | Last post by nithinpes, 12 days ago
Hi, I Have 3 arrays @name=('abcv','abcdv'); @add=('Mumbai','Delhi'); @ph= ('838246','237546'); I want to create a hash like below: more »
Extract and compile a list of IP addresses after doing a system call of traceroute
2 Replies | Posted by: hutch75 | Last post by hutch75, 16 days ago
Hi All - chasing down a means to initiate a traceroute, record results, and extract IP addresses in an (array?) Here's what I'm thinking about so... more »

Top Perl Forum Contributors