Re: [Ilugc] Perl package !!

2009-03-20 Thread Raman.P


--- On Fri, 20/3/09, anbu mani  wrote:
> 
> I need to do the following activities on
> solaris server. Now we can go with linux .
> 
>*) Need to take a table form oracle
> server and convert this into CSV in PERL. Using solaris.
> 
>   Kindly help me out in this note. Now
> the solaris server has only perl installed. Want to add all
> the modules related to oracle and CSV. How to do these
> things. If need to have CPAN how to install those things..

Use DBI for Oracle to fetch table data. Use Spreadsheet::Write to create the 
csv file.
 Spreadsheet::Write  help is at 
http://search.cpan.org/~amaltsev/Spreadsheet-Write-0.03/lib/Spreadsheet/Write.pm

Or even simpler may be using Spreadsheet-Writeexcel-fromdbquery. See at

http://search.cpan.org/~cpkois/Spreadsheet-WriteExcel-FromDB-Query-0.01/lib/Spreadsheet/WriteExcel/FromDB/Query.pm

Raman.P



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Perl package !!

2009-03-20 Thread anbu mani
Hi ,

I need to do the following activities on solaris server. Now we can go with 
linux .

   *) Need to take a table form oracle server and convert this into CSV in 
PERL. Using solaris.

  Kindly help me out in this note. Now the solaris server has only perl 
installed. Want to add all the modules related to oracle and CSV. How to do 
these things. If need to have CPAN how to install those things..

If any one knows this kindly post your comments and can call me.


Regards,
Anbu (9841870003) 


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Perl Package !!!

2009-03-20 Thread Raja Subramanian
On Fri, Mar 20, 2009 at 4:10 PM, anbu mani  wrote:
>  I have a doubt. That how to view existing perl packages that are there in my 
> local machine in linux.

Run "perl -V" and see the contents of the @INC array.  This lists all include
paths where perl looks for additional modules.

Note that you can make perl look into additional folders by specifying the
-I flag or manipulating the @INC variable.


> If i need to install a new package example :
>
> Spreadsheet::WriteExcel
>
> What are the steps i should follow.

The installation procedure is different if you want to install the
package for yourself (eg on a shared hosting provider), or for
all users (eg on your own box).  There are some distro specific
ways of doing this too.

These CPAN instructions should get you started:
http://www.cpan.org/misc/cpan-faq.html#How_install_Perl_modules

Running "perldoc perlmodinstall" should also get you the details.

- Raja
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Perl Package !!!

2009-03-20 Thread Kenneth Gonsalves
On Friday 20 March 2009 16:18:13 Venkatraman S wrote:
>   1. mice
>    2. rats
>    3. white doves
>    4. cats
>    5. black doves
>    6. non-purple dogs
>    7. non-red chickens
>    8. purple dogs
>    9. red chickens
>    10. sheep
>    11. white goats
>    12. small children with birthmarks
>    13. black goats
>    14. small children without birthmarks *

15. Venkatraman
-- 
regards
kg
http://lawgon.livejournal.com
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Re: [Ilugc] Perl Package !!!

2009-03-20 Thread Venkatraman S
On Fri, Mar 20, 2009 at 4:10 PM, anbu mani  wrote:

>
> What are the steps i should follow.
>

http://www.perlmonks.org/?node_id=298941";>
*
this might require a stronger sacrifice than just a chicken. You might have
to sacrifice a whole goat for this one. Though, personally, I'd start with a
white dove and increase the sacrifice as needed. *

*In case you don't remember the sacrificial hierarchy, it's: *

   *
   1. mice
   2. rats
   3. white doves
   4. cats
   5. black doves
   6. non-purple dogs
   7. non-red chickens
   8. purple dogs
   9. red chickens
   10. sheep
   11. white goats
   12. small children with birthmarks
   13. black goats
   14. small children without birthmarks *



-V-
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe  "
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


[Ilugc] Perl Package !!!

2009-03-20 Thread anbu mani
Hi friends,

 I have a doubt. That how to view existing perl packages that are there in my 
local machine in linux.

If i need to install a new package example : 

Spreadsheet::WriteExcel

What are the steps i should follow. 

Regards,
Anbu.



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
___
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with
"unsubscribe  "
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc