Uncategorized

How to make online songs repository using Perl

Problem Scenario:
Write a Perl script which will search all sub directories and its files under a given sub-directory and would do the following:

  1. Display all directories on a web page
  2. When user clicks on any of the list directories show files under it (toggle things)
  3. When user clicks on file, it should play that song using yahoo media player
  4. You should use CSS3, JavaScript and Perl only

How to use Perl to fetch website details

Whenever I was surfing any good technical website,  I was getting curious to know what’s its page rank, alexa rank, where it is hosted, who handles its mails, when this domain was registered and by whom, when it will get expired and so on.
For all these, I had to visit different websites to gather all such information, then I thought it’s better to write a script which will fetch all the details for me and came up with site info details script using Perl.
Fully working code is available here.