Installing Perl modules

rajeshkumar created the topic: Installing Perl modules Perl modules may be installed using the CPAN module or from source. CPAN method perl -MCPAN -e shell (to get…

Read More

Access denied for user ‘ODBC’@’localhost

rajeshkumar created the topic: Access denied for user ‘ODBC’@’localhost I am getting following error while running following command…any help > perl -MCPAN -e “install DBD::mysql”; Error D:\wamp\bin\mysql\MYSQL5~1.36\bin\MYSQLA~1.EXE:…

Read More

Perl -MCPAN -e “install DBD::mysql”

rajeshkumar created the topic: perl -MCPAN -e “install DBD::mysql” I am getting following issues while running following command in Windows Machine… perl -MCPAN -e “install DBD::mysql” Error…

Read More

Use of use DBI;

scmuser created the topic: Use of use DBI; Hi, why do we use following syntax in perl program. can you please explain it? use DBI; rajeshkumar replied…

Read More

Connect to my MySQL database using Perl?

rajeshkumar created the topic: connect to my MySQL database using Perl? #!/usr/bin/perl use DBI; $database = “DBNAME”; $hostname = “DBSERVER”; $port = “3306”; $username = “DBUSERNAME”; $password…

Read More

Why we use ‘use strict’ in perl

scmuser created the topic: Why we use ‘use strict’ in perl Hi, Why you should ‘use strict’? what is the significant of “strict” in out module? rajeshkumar…

Read More

Why do you program in Perl?

scmuser created the topic: Why do you program in Perl? Why do you program in Perl? What are the advantages of Perl ovber python and other languages?…

Read More

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:…

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…

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…

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…

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,…

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,…

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:…

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 /…

Read More

$_ and @_ in perl

scmuser created the topic: $_ and @_ in perl Hi, Can you please talk about $_ and @_ in perl? Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about…

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…

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…

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? Rajesh…

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? Rajesh KumarI’m…

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…

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…

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…

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…

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…

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…

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…

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…

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…

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…

Read More