Exception error in perl code

2009-06-16 Thread Rajini Naidu
Hi, I have the following code in my program. use strict; use warnings; use diagnostics; use Time::Local; my @match_list; my $days1 = ""; my $days2 = ""; my $day = ""; if ($failtag eq "CompileErr") { open my $pipe, "-|", "/usr/atria/bin/cleartool", "desc", "$include_path/$srcfile" or die "co

Re: need help on perl code

2009-06-16 Thread Dermot
2009/6/16 Irfan Sayed : > Hi All, Hello, > I have perl script like this : > > use strict; > use warnings; > use Cwd; > my $chver; > my $fina; > &chversion(); &chversion() should be kept as simply chversion(); > sub chversion { >   print STDERR "Current directory is " . cwd() . "\n"; >   print

AW: need help on perl codebeginn...@perl.org

2009-06-16 Thread Thomas Bätzler
Irfan Sayed asked: > I have perl script like this : [...] > open (VER1, "+>", [...] > while () { [...] > the issue is that , it is executing properly till while loop but it is > not going inside the while and executing while loop. > there is no any error and all the files are present in their l

need help on perl code

2009-06-16 Thread Irfan Sayed
Hi All, I have perl script like this : use strict; use warnings; use Cwd; my $chver; my $fina; &chversion(); sub chversion {   print STDERR "Current directory is " . cwd() . "\n";   print "Reading version file\n"; open (VER2, "<", 'D:\hudson\workspace\RTU_Trunk_Build_Official\Trunk\versions.txt

Re: Alpaca Chap7 Question

2009-06-16 Thread Randal L. Schwartz
> ""Thomas" == "Thomas H George" writes: Thomas> If all this is obvious as is stated on page 228, please pardon me for Thomas> taking up any readers' time but I would appreciate any confirmation Thomas> that I have thought it through correctly. If I have it wrong I do Thomas> need help. Tha

RE: Price comparison-agent

2009-06-16 Thread Mimi Cafe
Yes, the search engine API should be a better way to go than parsing HTML output. I will see whether I can use Google API (sandbox) for testing. Thanks -Original Message- From: dan [mailto:d...@entropy.homelinux.org] Sent: 16 June 2009 00:01 To: Mimi Cafe Cc: beginners@perl.org Subject: