Help regarding file find

2009-02-22 Thread Rock Lifestyle
--- On Sat, 21/2/09, Rock Lifestyle wrote: From: Rock Lifestyle Subject: Help regarding file find To: beginners@perl.org Date: Saturday, 21 February, 2009, 6:30 PM Hi All,   I am new to any programming language .I am trying to copy one file structure.    I have a folder structures wh

Looking for mailer program

2009-02-22 Thread Dennis G. Wicks
Greetings; I have a couple of directories full of tips, photos, quotes, etc. that I want to send to a yahoo group that I have. What I want to do is compose the email, pick an item or two from the directory, put it in the email & move it/them to a "used" directory and send the email. I'll fir

Re: Looking for mailer program

2009-02-22 Thread Octavian Râsnita
From: "Dennis G. Wicks" Greetings; I have a couple of directories full of tips, photos, quotes, etc. that I want to send to a yahoo group that I have. What I want to do is compose the email, pick an item or two from the directory, put it in the email & move it/them to a "used" directory and

Re: Help regarding file find

2009-02-22 Thread Gunnar Hjalmarsson
Rock Lifestyle wrote: I am new to any programming language .I am trying to copy one file structure. I have a folder structures which contains setup files, cleanup files and test file Now I want to create another file structure where it will copy the directory tree which I have mentioned i

RE: Query in Perl Programming

2009-02-22 Thread S, Rajini (STSD)
Hi Rob, When I included the below code in my script, I am getting below errors. Use of uninitialized value in integer ge (>=) at /usr/local/lib/perl5/5.8.0/Time/Local.pm line 73. Use of uninitialized value in integer lt (<) at /usr/local/lib/perl5/5.8.0/Time/Local.pm line 73. Use of unini

Re: Simple way to do line graphs???

2009-02-22 Thread Raymond Wan
Hi Paul, If you have to do a lot of line graphs, then it might be worth investing some time on learning something like R: http://www.r-project.org/ And no, I didn't mean to do this through Perl -- R can read in CSV files, etc. Ray Paul wrote: Trying to make some kind of script to do simpl

RE: Query in Perl Programming

2009-02-22 Thread Owen
> > Hi Rob, > > When I included the below code in my script, I > am getting below errors. > > Use of uninitialized value in integer ge (>=) at > /usr/local/lib/perl5/5.8.0/Time/Local.pm line 73. > Use of uninitialized value in integer lt (<) at > /usr/local/lib/perl5/5.8.0/Time/Local.pm line 73.

RE: Query in Perl Programming

2009-02-22 Thread S, Rajini (STSD)
Hi Owen, My code is as follows : use strict; use warnings; use Time::Local; $days1 = epoch_days('30-Jan-09'); $days2 = epoch_days('16-Feb-09'); $day = $days1 - $days2; print "Difference: @{[$days1 - $days2]} days\n"; BEGIN { my %month_num = do { my $n = 0; map(($_, $n++), qw/jan

RE: Query in Perl Programming

2009-02-22 Thread Owen
> > Hi Owen, > > My code is as follows : > > use strict; > use warnings; > use Time::Local; > > $days1 = epoch_days('30-Jan-09'); > $days2 = epoch_days('16-Feb-09'); > > $day = $days1 - $days2; > > print "Difference: @{[$days1 - $days2]} days\n"; > > BEGIN { > > my %month_num = do { > my $n =

RE: Query in Perl Programming

2009-02-22 Thread S, Rajini (STSD)
#perl -c

RE: Query in Perl Programming

2009-02-22 Thread Owen
> > #perl -c

RE: Query in Perl Programming

2009-02-22 Thread S, Rajini (STSD)
Yeah, the script posted below is part of the code In my script. After including the below code, when I ran the script, I am getting the "uninitialized value" errors. -Rajini >-Original Message- >From: Owen [mailto:rc...@pcug.org.au] >Sent: Monday, February 23, 2009 12:03 PM >

RE: Query in Perl Programming

2009-02-22 Thread Owen
> > Yeah, the script posted below is part of the code > In my script. > > After including the below code, when I ran the script, > I am getting the "uninitialized value" errors. Nope Do the following Copy the code you posted to a new file add #!/usr/bin/perl to the first line then run perl

Re: Reading 2 array lists

2009-02-22 Thread marc ritorto
Chris, I installed the latest 5.10 and it does not work this is the error message C:\scripts\doubletakecheck>test.pl Can't locate List/compare.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/li b .) at C:\scripts\doubletakecheck\test.pl line 4. BEGIN failed--compilation aborted at C:\scripts

Re: Reading 2 array lists

2009-02-22 Thread mritorto
guys question are their any books that explain all of the modules or atleast the most common as well as all of the expressions used in perl thanks marc On Feb 18, 8:33 pm, chas.ow...@gmail.com (Chas. Owens) wrote: > On Wed, Feb 18, 2009 at 19:59, Gunnar Hjalmarsson wrote: > > Chas. Owens wrot

Re: Reading 2 array lists

2009-02-22 Thread mritorto
Owen, I got it to work using your script and the list compare module I figured that I had to copy the files to a certain directory . The directions cspan gave were wrong for windows thanks one question what does this mean? # my $comparison = List::Compare->new(\...@atlas, \...@isis);

Download file after https login

2009-02-22 Thread perlsql2000
I am a perl illiterate and trying to learn by applying it in my day to day tasks . I have a https page A to login with "Username", "Password" and "Realm". After login, it takes me to another page B. I need to click a link there and then it takes me to another page C. In C, I need to click a link an

Help with Compress::Zlib under cygwin

2009-02-22 Thread Robyn K
I was installing PDF::Create with cpan under cygwin and it "suggested" that I upgrade cpan by also installing Bundle::CPAN. I tried that and now I have a mess. Whenever I try to install a new module now, I get this error: CPAN: Compress::Zlib loaded ok Can't call method "value" on an undefined v