Re: Modules for printing the content of an array

2006-10-12 Thread Sami FANTAR

Mumia W. a écrit :

On 10/11/2006 10:42 AM, Sami FANTAR wrote:

[...]
I have read the Data::Dumper related doc.


Including the part where it tells you how to substitute the correct 
variable names for $VAR1,$VAR2,... ?



But, after having written your example, the output seems quite weird.
I got $VAR1,$VAR2, and so on.
Is it possible to personalize this output?



use Data::Dumper;
my @myarray = qw(blah blahblah blllah);
print Data::Dumper-Dump([EMAIL PROTECTED],[qw(myarray)]);

WARNING: UNTESTED CODE



Thanks for your help and your solutions.
I found what I was looking for.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Modules for printing the content of an array

2006-10-11 Thread Sami FANTAR

Hello everybody

I would like to know if there is any module which can display in a 
enjoyable way the content of an array with about 200 values.

Could Data::Dumper be a solution for my problem?

Any help or example  will be very appreciated.
Thanks in advance.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Modules for printing the content of an array

2006-10-11 Thread Sami FANTAR

Rob Coops a écrit :

Hi Sami,

Yes Data::Dumper is your friend when it comes to dumping data (how 
strange

is that :-)

Simply do this in your perl script:
*use Data::Dumper;*
*print Dumper @huge_array;*

And be amazed ;-)





On 10/11/06, Sami FANTAR [EMAIL PROTECTED] wrote:


Hello everybody

I would like to know if there is any module which can display in a
enjoyable way the content of an array with about 200 values.
Could Data::Dumper be a solution for my problem?

Any help or example  will be very appreciated.
Thanks in advance.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response






What do you mean by dumping data?
I have read the Data::Dumper related doc.
But, after having written your example, the output seems quite weird.
I got $VAR1,$VAR2, and so on.
Is it possible to personalize this output?

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Re: Where to change @INC in perl

2006-10-04 Thread Sami FANTAR

[EMAIL PROTECTED] a écrit :

Hi,

I am  newbie to the perl.
I have installed DBI perl module in FreeBSD under this directory
/usr/local/lib/perl5/5.00503.
But FreeBSD already contains perl5 under  /usr/local/lib/perl5/5.8.7.


# Perl -V
Built under freebsd
  Compiled at Oct 12 2005 01:26:55
  @INC:
/usr/local/lib/perl5/site_perl/5.8.7/mach
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.7/BSDPAN
/usr/local/lib/perl5/5.8.7/mach
/usr/local/lib/perl5/5.8.7


I want include libraries from /usr/local/lib/perl5/5.00503 also.
But this DBI libraries does not include in @INC.

I want to change manually. Can anyone tell me where do I change this
@INC.

Thanks
Narmadha


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

  

You can use

use lib 'the_path_to_your_local_module';

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




A round up of the perl based CMS

2006-07-31 Thread Sami FANTAR

Hello everyone

What are the perl-based CMS used for building a website?
Is it possible to have examples of websites using Perl technology?

Thanks for your help.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response