Difference between exec and system in perl?

scmuser created the topic: Difference between exec and system in perl? What are the Difference between exec and system in perl? please explain…. rajeshkumar replied the topic: Re: Difference between…

Read more »

Embed perl in a C++ program / Java Program?

scmuser created the topic: embed perl in a C++ program / Java Program? How can I embed perl in a C++ program / Java Program? Any sample program??

Read more »

How to read properties file using perl

scmuser created the topic: How to read properties file using perl Hi, i would like to read properties file using perl…Any sample code or any example? My properties file is…

Read more »

Creating file system info and put into mysql db

rajeshkumar created the topic: Creating file system info and put into mysql db Create a perl script for following taskā€¦ 1. Read the directory mentioned by users and list all…

Read more »

To test mysql remote server access using perl

rajeshkumar created the topic: To test mysql remote server access using perl perl -MDBI -e ‘DBI->connect(“DBI:mysql:rajesh:rajeshk-W7″,”rajesh”,”rajesh123″) or die DBI->errstr;’ perl -MDBI -e ‘DBI->connect(“DBI:mysql:myDB:server2.whatever.co.uk”,”myuser”,”mypassword”) or die DBI->errstr;’ Regards, Rajesh Kumar Twitt…

Read more »

How to Open Directory and read and display all the file using perl

rajeshkumar created the topic: How to Open Directory and read and display all the file using perl Method 1 $DIR = “/home/rajesh”; $DIRHANDLE = “HANDLE”; opendir ($DIRHANDLE, “$DIR”) || die…

Read more »

How to identify which perl module has been installed.

scmuser created the topic: How to identify which perl module has been installed. How to identify which perl module has been installed. rajeshkumar replied the topic: Re: How to identify…

Read more »

Find out which perl module installed?

scmuser created the topic: find out which perl module installed? Hi, what is the way to find out perl module which has been installed in unix / linux system? rajeshkumar…

Read more »

$_ and @_ in perl

scmuser created the topic: $_ and @_ in perl Hi, Can you please talk about $_ and @_ in perl?

Read more »

Difference Between lexicon and global in perl

scmuser created the topic: Difference Between lexicon and global in perl Hi, What is the difference Between lexicon and global in Perl? Could you please elaborate with few good examples?…

Read more »

Difference between my and use

scmuser created the topic: Difference between my and use Hi, What is the difference Between my and use in Perl? Could you please elaborate with few good examples? thanks

Read more »

Use of STDIN in perl

scmuser created the topic: Use of STDIN in perl What are the various ways we can use STDIN in perl. Could you please provide some examples?

Read more »

Types of Perl Data types

scmuser created the topic: Types of Perl Data types What are the varius data types available in perl? could you please provide details with examples?

Read more »

Questions for scalar variable in perl

scmuser created the topic: Questions for scalar variable in perl Hi, Could you please explain following questions in details.. 1. Various way to define and initialize scalar variable. 2. Various…

Read more »

Questions over Arrays variable in perl

scmuser created the topic: Questions over Arrays variable in perl Hi, Could you please explain following questions in details.. 1. Various way to define and initialize Arrays variable. 2. Various…

Read more »

Questions over hash variable in perl

scmuser created the topic: questions over hash variable in perl Hi, Could you please explain following questions in details.. 1. Various way to define and initialize hash variable. 2. Various…

Read more »

Regular expression perl question

rajeshkumar created the topic: Regular expression perl question I am just beginner in perl. Just want to do following task through regular expression. I have huge sql file and trying…

Read more »

Useful info on Perl defined Function

rajeshkumar created the topic: Useful info on Perl defined Function Very good url for the following topis… How to use Perl defined function with scalars How to use Perl defined…

Read more »

Difference between use and require in perl

rajeshkumar created the topic: Difference between use and require in perl || use Vs require in perl || What is the difference between use and require? Except of course that…

Read more »

Convert df -h output to html table

rajeshkumar created the topic: convert df -h output to html table Code shared on permonks by choroba. #!/usr/bin/perl use warnings; use strict; use Text::Table; use constant CAPACITY => 3; my…

Read more »

Using perl send an html email

rajeshkumar created the topic: using perl send an html email Using perl send an html email #!/usr/bin/perl -w use strict; use MIME::Lite; # SendTo email id my $email = ‘rajesh@scmgalaxy.com’;…

Read more »

Send an HTML email using perl and sendmail

rajeshkumar created the topic: Send an HTML email using perl and sendmail Send an HTML email using perl and sendmail open(MAIL,”|/usr/sbin/sendmail -t”); ## Mail Header print MAIL “To: rajeshk\@xxx.com\n”; print…

Read more »

Perl script to monitor disk space and send an email

rajeshkumar created the topic: Perl script to monitor disk space and send an email Perl script to monitor disk space and send an email Very good link i found out….

Read more »

Perl validation on hash key is defined or not

rajeshkumar created the topic: perl validation on hash key is defined or not Solutions Thanks Len for example program. our %SERVERS = ( “rajesh1” => {type => ‘prod’, sha =>…

Read more »

Bareword “rajesh” not allowed while “strict subs” in use at

rajeshkumar created the topic: Bareword “rajesh” not allowed while “strict subs” in use at Error: Bareword “rajesh” not allowed while “strict subs” in use at final.pl Solution: Regards, Rajesh Kumar…

Read more »

Perl function to remove any element using value validation

rajeshkumar created the topic: perl function to remove any element using value validation perl function to remove any element using value validation Not Working – my @items = (rajesh1, rajesh2,rajesh3,rajes4,rajesh5,rajesh7)…

Read more »

Delete an element from array based on custom duplicate value

rajeshkumar created the topic: Delete an element from array based on custom duplicate value Hi, I am looking for some help in one scenario. Requirement: Through some validation, I have…

Read more »

Delete line from string using perl

rajeshkumar created the topic: Delete line from string using perl Questions: Delete line from string using perl Delete entry from array based on custom duplicate value. How to delete lines…

Read more »

Remove the duplicate data from array using perl

rajeshkumar created the topic: Remove the duplicate data from array using perl Remove the duplicate data from array using perl Method 1 ============================================ sub uniqueentr { return keys %{{ map…

Read more »

Foreach Vs for Vs while in perl

rajeshkumar created the topic: foreach Vs for Vs while in perl Definition 1: In the while loop, Perl reads a line of input, puts it into a variable, and runs…

Read more »