Re: Parsing a Text File using regex

2011-08-04 Thread Uri Guttman
> "ta" == timothy adigun <2teezp...@gmail.com> writes: ta> I believe you know that in Perl there are more than one way to do ta> it! i.e solve a problem. And that one way is no better than the ta> other, it only depend on what the programmer preferred to use, as ta> long as the syntax

install the prerequisite module automatically

2011-08-04 Thread Feng He
Hi, I have wrote a module and released it with module-starter. (http://search.cpan.org/~xsawyerx/Module-Starter-1.58/lib/Module/Starter.pm) When I install it from the CPAN shell, how can I make the shell install the prerequisite modules automatically? for example, my module: package ABC; use MI

Re: Hardware?

2011-08-04 Thread Marc
On Aug 4, 2011, at 5:05 PM, s...@missionstclare.com wrote: > I use Perl on my own machine to assemble HTML files (no networking stuff). My > current machine is a Mac running OSX Tiger. The MacOS doesn't seem friendly > to Perl, so I want to change to something that won't make me feel like > thr

Re: Parsing a Text File using regex

2011-08-04 Thread timothy adigun
Hi John, I believe you know that in Perl there are more than one way to do it! i.e solve a problem. And that one way is no better than the other, it only depend on what the programmer preferred to use, as long as the syntax are correct. Secondly, most of your why would have been answered, if only y

Hardware?

2011-08-04 Thread sb
The simpliest questions don't seem to have readily available answers: I need a hardware recommendation! I use Perl on my own machine to assemble HTML files (no networking stuff). My current machine is a Mac running OSX Tiger. The MacOS doesn't seem friendly to Perl, so I want to change to s

Re: Parsing a Text File using regex

2011-08-04 Thread John W. Krahn
timothy adigun wrote: Hi Ryan, Try the the code below, it should help. === #!/usr/bin/perl -w use strict; my $ln=""; my ($yr,$cat,$win)=("","",""); my $filename="New_output.txt"; chomp(my $raw_file=<@ARGV>); That is the same as saying: chomp( my $raw_file = glob

Re: XAMPP

2011-08-04 Thread Marc
Chris, > I'm thinking about testdriveing XAMPP. Does anyone have any opinions > on the product? Good or bad? I used it for awhile and I thought it was a good package for testing purposes, but on the Mac, I prefer MAMP and Perlbrew. I like being able to test my scripts with multiple ver

RE: XAMPP

2011-08-04 Thread Bob McConnell
From: Chris Stinemetz > I'm thinking about testdriveing XAMPP. Does anyone have any opinions > on the product? Good or bad? My first reaction is to suggest you replace that toy database with something that is actually enterprise ready. But you may not need to do that depending on your application

XAMPP

2011-08-04 Thread Chris Stinemetz
I'm thinking about testdriveing XAMPP. Does anyone have any opinions on the product? Good or bad? http://www.apachefriends.org/en/xampp.html Thank you, Chris -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org

Re: perl code to export data to excel

2011-08-04 Thread Uri Guttman
> "MM" == Mike McClain writes: MM> use strict; # this can be removed when all bugs are fixed that is not a good comment. you should keep strict on as it isn't about finding bugs but making sure all variables are properly declared and spelled correctly. uri -- Uri Guttman -- uri

Re: perl code to export data to excel

2011-08-04 Thread Mike McClain
On Thu, Aug 04, 2011 at 02:33:19PM +0530, VinoRex.E wrote: > Hi > i am a beginner in Perl i have a pdb file containing the X,Y,and Z > coordinates of atoms example given below. the data extends upto 1000 atoms > and its coordinates. I need a perl program to export these data into excel > worksheet

Re: perl code to export data to excel

2011-08-04 Thread shawn wilson
On Aug 4, 2011 8:02 AM, "Emeka" wrote: > > Vino, > > First learn how to use Excel with Perl. The below might be useful, please > check them out. > > http://support.microsoft.com/kb/214797 > > http://www.ibm.com/developerworks/linux/library/l-pexcel/ > That is (of course) a decent 'getting started

Re: perl code to export data to excel

2011-08-04 Thread Mohan L
On Thu, Aug 4, 2011 at 6:31 PM, Emeka wrote: > Vino, > > First learn how to use Excel with Perl. The below might be useful, please > check them out. > > http://support.microsoft.com/kb/214797 > > http://www.ibm.com/developerworks/linux/library/l-pexcel/ > > Emeka > > You can also learn here : 1)

Re: perl code to export data to excel

2011-08-04 Thread Emeka
Vino, First learn how to use Excel with Perl. The below might be useful, please check them out. http://support.microsoft.com/kb/214797 http://www.ibm.com/developerworks/linux/library/l-pexcel/ Emeka On Thu, Aug 4, 2011 at 10:03 AM, VinoRex.E wrote: > Hi > i am a beginner in Perl i have a pdb

Re: Parsing a Text File using regex

2011-08-04 Thread Ryan
Timothy, That worked like a charm. Thank you so much for the help. -Ryan On Thu, Aug 4, 2011 at 4:41 AM, timothy adigun <2teezp...@gmail.com> wrote: > Hi Ryan, > Try the the code below, it should help. > > === > > #!/usr/bin/perl -w > use strict; > > my $ln=""; > my ($yr,

perl code to export data to excel

2011-08-04 Thread VinoRex.E
Hi i am a beginner in Perl i have a pdb file containing the X,Y,and Z coordinates of atoms example given below. the data extends upto 1000 atoms and its coordinates. I need a perl program to export these data into excel worksheet into distinct columns and ROws. ATOM 1 N GLY A 2 1.8

Re: AES Encryption

2011-08-04 Thread Rob Coops
On Thu, Aug 4, 2011 at 8:23 AM, SDA wrote: > I'm interested in using AES encryption in Perl. I've tried installing > Crypto from CPAN, but can't get it to work. Any ideas? Modules... > > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h

Re: Parsing a Text File using regex

2011-08-04 Thread timothy adigun
Hi Ryan, Try the the code below, it should help. === #!/usr/bin/perl -w use strict; my $ln=""; my ($yr,$cat,$win)=("","",""); my $filename="New_output.txt"; chomp(my $raw_file=<@ARGV>); open READFILE,"<","$raw_file" or die "can't open $!"; open OUTPUTFILE,">","$filenam

AES Encryption

2011-08-04 Thread SDA
I'm interested in using AES encryption in Perl. I've tried installing Crypto from CPAN, but can't get it to work. Any ideas? Modules... -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/