Tag Archives: perl

Installing a perl module under linux


Notice: Undefined index: sfsi_original_counts in /home/thomascojx/www/blog/wp-content/plugins/ultimate-social-media-icons/libs/controllers/sfsiocns_OnPosts.php on line 45

Sometimes you need to use perl… and quickly you need to install a missing dependencies. you can do it manually but it can be cumbersome. Here is another way using cpanminus tools: curl -L http://cpanmin.us | perl – –sudo App::cpanminuscurl … Continue reading

Posted in Computer Science | Tagged | Leave a comment

perl: define a module to be called in another script


Notice: Undefined index: sfsi_original_counts in /home/thomascojx/www/blog/wp-content/plugins/ultimate-social-media-icons/libs/controllers/sfsiocns_OnPosts.php on line 45

First, define a module. The module must be in a path reachable by perl (e.g., local directory). Then, to make a script a valid package, you need to proceed as follows: Rename the perl script with the extension .pm It … Continue reading

Posted in Uncategorized | Tagged | Leave a comment