Wednesday, February 25, 2009

How to list installed Perl Modules in Linux

Getting the list of installed Perl modules can be accomplished by the following ways:

**********************************************************************************
1. Just paste the following lines in the console and it will print all the installed Perl modules.

perl -MFile::Find=find -MFile::Spec::Functions -Tlwe \
'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'

*************************************************************************

2. Use the following Perl program to get plain TEXT dump of the list. Ensure that ExtUtils::Installed module is being installed.

use ExtUtils::Installed;

my $instmod = ExtUtils::Installed->new();

foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module -- $version\n";
}

exit(0);

****************************************************************************

Monday, February 23, 2009

THE POWER OF LOVE

A mighty King was marching home after being victorious in a gruesome battle. He had captured the crown prince of the neighbouring kingdom and killed the King. The King was crossing through a jungle. He wanted to rest. The army halted there for the evening. Nearby was a hermitage.The king decided to pay his respects to the sage there. He sent his Minister and some soldiers to seek an audience. They told the disciples there, "Maharaj wants to meet the sage." The disciples said,"Guruji has retired for the day, you can come tomorrow." The next morning the King came to the hermitage dressed in his royal finery,accompanied by his ministers and attendants. The sage was sitting under a tree and scattering bajra seeds all around. Hundreds of birds of different kinds were eating and the sound of their twittering filled the air. The King walked up to the sage. The sage did not look up.


The king said, "Pranam, Guruji!"

No answer.
He spoke louder, "Pranam, Guruji!"
Still, no answer.

"Guruji, I said Pranam!" he said in an angry voice.
The sage looked up and said, "Stop shouting, you are scaring the birds.
That made the king even more furious. "Do you know who I am?" he shouted. The sage said calmly, "Yes, I do. You are the one who kills for the love of power. You are the one who knows not that this power is temporary. One day another King shall kill you in the same way. The love of power shall bring about your downfall.
The king was beside himself with rage. He said, "Your impertinence is intolerable. I shall behead you just now!" He drew out his sword and raised it to strike the sage. In an instant, hundreds of birds flew up and attacked the king. They poked their beaks into his face, his eyes and his arms and all over. The king moved his arms up and around to ward off the birds. But the birds wouldn't leave him. The sage said,"Leave him! Leave him! Come to me my dears!" All at once, the birds quietened down and sat meekly at the feet of the sage.
The sage said, "All I ever gave these birds is love. Oh King! Realize the power of love. The love of power has blinded you and brought you to the level of a killer. These birds would have killed you, but that's because they love me. I rule over them like a king too, but the only power I ever exercise over them is the power of love and it is greatest power on this Earth."

It's not what you gather, but what you scatter that tells what kind of life you have lived!

Friday, December 12, 2008

Nice Quotes - To read every day


A sharp tongue can cut my own throat.
If I want my dreams to come true, I mustn't oversleep.
Of all the things I wear, my expression is the most important.
The best vitamin for making friends..... B1.
The happiness of my life depends on the quality of my thoughts.
The heaviest thing I can carry is a grudge.
One thing I can give and still keep...is my word.
I lie the loudest when I lie to myself.

If I lack the courage to start, I have already finished.
One thing I can't recycle is wasted time.
Ideas won't work unless ' I ' do.
My mind is like a parachute...it functions only when open.
The 10 commandments are not a multiple choice.
The pursuit of happiness is the chase of a lifetime! It is never too late to become what I might have been.
Life is too short to wake up with regrets.
So love the people who treat you right.. Forget about the one's who don't.
Believe everything happens for a reason.
If you get a second chance, grab it with both hands.
If it changes your life, let it.
Nobody said life would be easy, they just promised it would be worth it.


Friends are like balloons; once you let them go,
you might not get them back.

Sometimes we get so busy with our own lives and
problems that we may not even notice that we've let them fly away.

Sometimes we are so caught up in who's right and who's wrong that we forget what's right and wrong.
Sometimes we just don't realize
what real friendship means until it is too late.

I don't want to let that happen so I'm gonna tie you
to my heart so I never lose you.

Send this to all your friends including me
and see how many you get back.

Even send it to your balloons that you think have flown away forever.
You may be surprised to see it return.
Send this heart to everybody you like.

You may also return it to me.

VALUE HAS A VALUE ONLY IF ITS VALUE IS VALUED

Talk with people politely according to their understanding level, not of your own intellectual level




The desire to excel is exclusive of the fact whether someone else appreciates
it or not. "Excellence" is a drive from inside, not outside.



Excellence is not for someone else to notice but for your own satisfaction and
excellence.


Effort is important,
but knowing where to make an effort

in your life makes all the difference.





Friday, November 21, 2008

Nice Quotes - To read every day


A sharp tongue can cut my own throat.
If I want my dreams to come true, I mustn't oversleep.
Of all the things I wear, my expression is the most important.
The best vitamin for making friends..... B1.
The happiness of my life depends on the quality of my thoughts.
The heaviest thing I can carry is a grudge.
One thing I can give and still keep...is my word.
I lie the loudest when I lie to myself.

If I lack the courage to start, I have already finished.
One thing I can't recycle is wasted time.
Ideas won't work unless ' I ' do.
My mind is like a parachute...it functions only when open.
The 10 commandments are not a multiple choice.
The pursuit of happiness is the chase of a lifetime! It is never too late to become what I might have been.
Life is too short to wake up with regrets.
So love the people who treat you right.. Forget about the one's who don't.
Believe everything happens for a reason.
If you get a second chance, grab it with both hands.
If it changes your life, let it.
Nobody said life would be easy, they just promised it would be worth it.


Friends are like balloons; once you let them go,
you might not get them back.

Sometimes we get so busy with our own lives and
problems that we may not even notice that we've let them fly away.

Sometimes we are so caught up in who's right and who's wrong that we forget what's right and wrong.
Sometimes we just don't realize
what real friendship means until it is too late.

I don't want to let that happen so I'm gonna tie you
to my heart so I never lose you.

Send this to all your friends including me
and see how many you get back.

Even send it to your balloons that you think have flown away forever.
You may be surprised to see it return.
Send this heart to everybody you like.

You may also return it to me.

VALUE HAS A VALUE ONLY IF ITS VALUE IS VALUED

Talk with people politely according to their understanding level, not of your own intellectual level




The desire to excel is exclusive of the fact whether someone else appreciates
it or not. "Excellence" is a drive from inside, not outside.



Excellence is not for someone else to notice but for your own satisfaction and
excellence.








Monday, November 17, 2008

Nice Quotes - To read every day


A sharp tongue can cut my own throat.
If I want my dreams to come true, I mustn't oversleep.
Of all the things I wear, my expression is the most important.
The best vitamin for making friends..... B1.
The happiness of my life depends on the quality of my thoughts.
The heaviest thing I can carry is a grudge.
One thing I can give and still keep...is my word.
I lie the loudest when I lie to myself.

If I lack the courage to start, I have already finished.
One thing I can't recycle is wasted time.
Ideas won't work unless ' I ' do.
My mind is like a parachute...it functions only when open.
The 10 commandments are not a multiple choice.
The pursuit of happiness is the chase of a lifetime! It is never too late to become what I might have been.
Life is too short to wake up with regrets.
So love the people who treat you right.. Forget about the one's who don't.
Believe everything happens for a reason.
If you get a second chance, grab it with both hands.
If it changes your life, let it.
Nobody said life would be easy, they just promised it would be worth it.


Friends are like balloons; once you let them go,
you might not get them back.

Sometimes we get so busy with our own lives and
problems that we may not even notice that we've let them fly away.

Sometimes we are so caught up in who's right and who's wrong that we forget what's right and wrong.
Sometimes we just don't realize
what real friendship means until it is too late.

I don't want to let that happen so I'm gonna tie you
to my heart so I never lose you.

Send this to all your friends including me
and see how many you get back.

Even send it to your balloons that you think have flown away forever.
You may be surprised to see it return.
Send this heart to everybody you like.

You may also return it to me.

VALUE HAS A VALUE ONLY IF ITS VALUE IS VALUED

Talk with people politely according to their understanding level, not of your own intellectual level

Thursday, November 13, 2008

A Nice Quote

"What we see when watching others depends on
the purity of the window through which we look.
Before we give any criticism, it might be a good
idea to check our state of mind and ask ourselves
if
we are ready to see the good rather than to be looking
for something in the person we are about to judge.


"You were born an original...Don't die a copy" - John Mason

"The more you praise and celebrate your life, the more there is in life to celebrate" - Oprah Winfrey

"You can never know how much good a simple smile can do" - Mother Theresa

Thursday, October 23, 2008

Nice Quotes - To read every day


A sharp tongue can cut my own throat.
If I want my dreams to come true, I mustn't oversleep.
Of all the things I wear, my expression is the most important.
The best vitamin for making friends..... B1.
The happiness of my life depends on the quality of my thoughts.
The heaviest thing I can carry is a grudge.
One thing I can give and still keep...is my word.
I lie the loudest when I lie to myself.

If I lack the courage to start, I have already finished.
One thing I can't recycle is wasted time.
Ideas won't work unless ' I ' do.
My mind is like a parachute...it functions only when open.
The 10 commandments are not a multiple choice.
The pursuit of happiness is the chase of a lifetime! It is never too late to become what I might have been.
Life is too short to wake up with regrets.
So love the people who treat you right.. Forget about the one's who don't.
Believe everything happens for a reason.
If you get a second chance, grab it with both hands.
If it changes your life, let it.
Nobody said life would be easy, they just promised it would be worth it.


Friends are like balloons; once you let them go,
you might not get them back.

Sometimes we get so busy with our own lives and
problems that we may not even notice that we've let them fly away.

Sometimes we are so caught up in who's right and who's wrong that we forget what's right and wrong.
Sometimes we just don't realize
what real friendship means until it is too late.

I don't want to let that happen so I'm gonna tie you
to my heart so I never lose you.

Send this to all your friends including me
and see how many you get back.

Even send it to your balloons that you think have flown away forever.
You may be surprised to see it return.
Send this heart to everybody you like.

You may also return it to me.