• support[@]kurinchilion.com
  • +1 (888) 666-4252

Blog

Perl: How to debug in Perl?

Apr 30, 2010 - by kurinchilamp /Perl/ 273 Views
Turn on warnings by use warning; To run a perl script with warnings, type -w with the shebang as in #!/usr/bin/perl -w print "Content-type: text/html\n\n"; print "Hello World\n"; Check if you have the following line in the program print "Content-type: text/html\n\n"; This will output the text to the browser from the server. Print error messages to the browser using use CGI::Carp qw(fatalsToBrowser); The other way is to use the print command to debug your program. Common error messages » The specified CGI application misbehaved by not returning a complete set of HTTP headers. » Can't locate missing-file.pm in @INC (@INC contains: ..... )
Continue Reading

CGI Vs. Perl … What then is CGI?

Apr 28, 2009 - by kurinchilamp /Perl/ 279 Views
CGI is not a programming language. It is a standard programming interface which gives a web page the capability to run/access other resources on the server(s) which visitors wouldn't have direct access to. Perl is a scripting language. It is often misconceived to be the same as CGI, as Perl was the popular language at the time when CGI gained momentum in the web world. CGI can refer to a "scripting language" which gets interpreted when calls to a page from the webserver is being made. It can be referred as a "program", when it gets executed on the webserver to have access to resources with hard coded paths other programs when a call from a web page happens. In short, all Web applications built using ASP/PHP/Python/Perl speaks through the channel - CGI.
Continue Reading

Install ActiveState Perl on Ubuntu

Mar 30, 2009 - by kurinchilamp /Linux Server, Perl/ 300 Views
Install Perl from ActiveState on Ubuntu machine I prefer ActiveState download for a beginner to have a Perl installation with compiled libraries for immediate execution of various Perl programs. You can grab a copy based on your OS from http://www.activestate.com/activeperl/downloads/ Download the x86 .deb file for easy installation of ActivePerl on Ubuntu. (more…)
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.