Month: February 2009

Use of pragma strict.

Use the pragma strict tells the compiler to generate three types of errors An error for any variables used before it was declared An error if your code [...]

How to turn on Perl warnings? Why is that important?

Perl is very forgiving of strange and sometimes wrong code, which can mean hours spent searching for bugs and weird results. Turning on warnings helps uncover [...]

How to Run the Shell Script or External Unix or System Commands In Perl ?

Exec system backquotes (``) Using Pipe Symbol In [...]

What is stack concepts In Perl ?

One of the most basic uses for an array is as stack push | pop ==> LIFO shift | unshift ==> [...]

How do you find the length of an array?

  $#array_variable Scalar(@array_variable) $array_length = @array_variable [...]

What is difference between “Use” and “require”

Use : 1. The method is used only for the modules(only to include .pm type file) 2. The included objects are verified at the time of compilation. 3. No Need to [...]

Essential Information about Perldoc

Perl comes with documentation as standard, including a complete set of manual pages that can be accessed with the perldoc program, use the command line for [...]

Unix To Dos

 #!/usr/bin/perl [...]

Dos To Unix

perl -pi -e 's/rn/n/;' Filename.pl#!/usr/bin/perl [...]