« March 2009 »
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
You are not logged in. Log in
Entries by Topic
All topics  «
Blog Tools
Edit your Blog
Build a Blog
RSS Feed
View Profile
Perlblog
Saturday, 28 March 2009

Now Playing: perl faq

http://faq.perl.org/

http://faq.perl.org/perlfaq1.html

http://faq.perl.org/perlfaq2.html

http://faq.perl.org/perlfaq3.html

http://faq.perl.org/perlfaq4.html

http://faq.perl.org/perlfaq5.html

http://faq.perl.org/perlfaq6.html

http://faq.perl.org/perlfaq7.html

http://faq.perl.org/perlfaq8.html

 


Posted by shenh at 12:42 AM EDT
perl environment

1): which perl
/usr/bin/perl

2): which perl version
perl -v
perl -version

3): which perl path
PERL5LIB=c:\perl\lib;c:\perl\site\lib
perl -e 'print join "\n", @INC'
perl -e 'print "\@INC is @INC\n";'

# add a search path for perl lib
{push @INC, "/tmp"}

#use lib "/tmp";


4): where is the perl module
4a): perl -MDBD::Oracle -e 'print $INC{"DBD/Oracle.pm"}, "\n"'

perl -MDBI -e 'print $INC{"DBI.pm"}, "\n"'
perl -MTerm::ReadKey -e 'print $INC{"Term/ReadKey.pm"}, "\n"'

4b): which perl module is installed
find . -name ReadKey.pm -exec ls -l {} \;

./perl5/site_perl/5.8.0/sun4-solaris/Term/ReadKey.pm

# for each perl module, find its pm file
find . -name "*.pm" -print
find . -name "*.pm" -exec ls -l { } \;
find . -name "*.pm" -print|xargs ls -l
find . -name "*.pm" |xargs ls -l

-- ------------------------------

# perl DBI version
perl -MDBI -e 'DBI->installed_versions;'
perl -e 'use DBD::Oracle; print $DBD::Oracle::VERSION,"\n";'
perl -MDBD::Oracle -e 'print $INC{"DBD/Oracle.pm"}, "\n"'

 


Posted by shenh at 12:31 AM EDT
Friday, 27 March 2009


perl books:
http://www.perl.org/books/library.html
http://www.freeprogrammingresources.com/perlbook.html

Best:

Practical Perl Programming
http://www.cs.cf.ac.uk/Dave/PERL/
 

Essentail Perl
http://cslibrary.stanford.edu/108/
http://cslibrary.stanford.edu/108/EssentialPerl.html

vsbabu

http://vsbabu.org/tutorials/perl/index-2.html#ss2.1

http://www.urgentclick.com/perl-tutorial.html


http://www.perlmonks.org/index.pl?node=Tutorials


http://www.ebb.org/PickingUpPerl/pickingUpPerl.html


http://www.perltutorial.org/


http://www.comp.leeds.ac.uk/Perl/start.html


http://www.perl.com/pub/a/2000/10/begperl1.html


http://www.tizag.com/perlT/perlfirstscript.php


http://www.sthomas.net/roberts-perl-tutorial.htm


http://www.pageresource.com/cgirec/index2.htm

http://affy.blogspot.com/p5be/index.htm

http://docs.rinet.ru/P7/

http://www.linuxtopia.org/online_books/perl/index.html

http://www.faqs.org/docs/perl5int/

http://www.perl.com/pub/a/2000/10/begperl1.html
http://www.perl.com/pub/a/2000/11/begperl2.html
http://www.perl.com/pub/a/2000/11/begperl3.html
http://www.perl.com/pub/a/2000/12/begperl4.html
http://www.perl.com/pub/a/2000/12/begperl5.html
http://www.perl.com/pub/a/2001/01/begperl6.html

http://www.perl.com/pub/a/2008/04/23/a-beginners-introduction-to-perl-510.html
http://www.perl.com/pub/a/2008/05/07/beginners-introduction-to-perl-510-part-2.html


http://news.oreilly.com/2008/06/a-beginners-introduction-to-pe.html


http://broadcast.oreilly.com/2008/09/a-beginners-introduction-to-pe.html

http://www.perl.org/books/beginning-perl/  Simon Cozens ( good but in pdf format )

 


Posted by shenh at 10:41 PM EDT
Updated: Saturday, 28 March 2009 11:05 PM EDT

Newer | Latest | Older