-
2010
- June
-
May
-
How to find world writable directories by "find" command?
05/15/10
find . -type d -perm -a+w -exec ls -lah {} \; > ww.txt -
perl - handling sigint
05/14/10
Write a small Perl program that waits for 30 seconds and exits with printing “Bye”. If interrupted by any key before 30 second then print “Hello” before exiting.
perl -e "$SIG{INT}= sub {print 'Hello';exit;};for ($i=0;$i<30;$i++){sleep 1;}; print 'bye';" -
Perl Important links
05/14/10
Remove repeated characters from a string - http://www.perlmonks.org/?node_id=353072
How to find and remove duplicate elements from an array? - http://www.perlmonks.org/?node_id=90493
perlfaqs - http://perldoc.perl.org/perlfaq4.html
perl references - http://www.sdsc.e -
Perl - Difference Between my local our
05/14/10
The variables declared with my() are visible only within the scope of the block which names them. They are not visible outside of this block, not even in routines or blocks that it calls.
local() variables, on the other hand, are visible to routines that are called from the block where t
-
How to find world writable directories by "find" command?
- April
- March
- February
- January
- 2009
- 2008

Calendar



