For reading the whole file just needed one line code . hueeeeeee
> perl -ne ‘print’ filename
-n option is something that will read the file untill it gets null
filename is the name of the file which u wants to read
Archive for June, 2008
Now some amazing stuffs with file reading
June 30, 2008perl very easy language
June 30, 2008How?
Lets take very simple example
$a =A;
$a++;
print $a;
what will be the output ? Don’t think too much its “B” surprised ! hahahahaha
Lets take another example
$x= po1;
$x++ ;
yea , now many will jumble whether the alphabet will get repeated or number?
Now its number now the output will be “po2″
how to unpack the jar file in linux
June 16, 2008The command is very easy .
> jar xf yourjar.jar
This will unpack the jar files and make folders like com and jar bean .jar files
perl quote
June 5, 2008“There is more than one way to do things”
perl important links
June 5, 20081) http://www.perl.com/pub/a/2008/04/23/a-beginners-introduction-to-perl-510.html
2) http://perldoc.perl.org/index-functions.html