Re: Saturdays in a month

2009-12-23 Thread Venkat Saranathan
) { $wday_count++; } } return($wday_count); } # 0 - sunday 6- saturday print day_in_a_month(6, 12, 2009), "\n"; with warm regards, Venkat Saranathan Gulf Breeze Software. On Tue, Dec 22, 2009 at 9:51 AM, Johnson, Reginald (GTS) < reggie_john...@ml.com> wrote: > Is there

Re: Perlcritic complains about assignment within conditional

2009-12-15 Thread Venkat Saranathan
nth ) { > $radius->aggregate_monthly( { month => $month } ); > } > else { > $radius->aggregate_monthly(); > } > > ~ > -- VISUAL -- > 331,1 > All > > -- > To unsubscribe, e-mail: beginner

Re: Net::SNMP OID doubt

2009-11-18 Thread Venkat Saranathan
Yes, you can use the OID octets instead. with warm regards, Venkat Saranathan Gulf Breeze Software. On Wed, Nov 18, 2009 at 8:19 AM, Shameem Ahamed wrote: > On checking the SNMPv2-SMI MIB, i found out that, corresponding to > > SNMPv2-SMI::enterprise i can use the 1.3.6.1.4.1 > >

Re: Can anyone comment on "Sams Teach Yourself Perl in 21 Days" ?

2009-03-13 Thread Venkat Saranathan
That was the first book I read in Perl about 10 years back and IMO, it is a great book for beginners. It was fun to read and it helped me to set a goal to finish at least one chapter every day. I highly recommend it. with warm regards, Venkat Saranathan Gulf Breeze Software. On Thu, Mar 12

Re: Printing special characters

2008-07-16 Thread Venkat Saranathan
> This one works. You need quotes around 0xa9. > > my $text; > $text = chr(hex('0xa9')); > print "CR $text\n"; > Hth, > > with warm regards, > Venkat Saranathan > Gulf Breeze Software. > > On Tue, Jul 15, 2008 at 1:13 PM, ChrisC <[

Re: Tony or Anthony

2007-10-11 Thread Venkat Saranathan
http://perldoc.perl.org/Benchmark.html -- with warm regards, Venkat Saranathan Gulf Breeze Software. On 10/10/07, newBee <[EMAIL PROTECTED]> wrote: > > On Oct 9, 8:18 pm, [EMAIL PROTECTED] (Jeff Pang) wrote: > > 2007/10/10, Dr.Ruud <[EMAIL PROTECTED]>: > > > >

RE: How to make a perl program to an exe file

2006-11-21 Thread Venkat Saranathan
Dharshana, Here is a link that you'll find useful. <http://www.gulfsoft.com/modules.php?op=modload&name=News&file=article&sid=2 36> with warm regards, Venkat Saranathan Gulf Breeze Software www.gulfsoft.com GulfBreeze Blog www.gulfsoft.com/blog -Original Messa

RE: Converting Perl Script to Module

2006-08-09 Thread Venkat Saranathan
Tivoli product lingo, still the basic idea of writing a module is the same. Hth, with warm regards, Venkat Saranathan Gulf Breeze Software www.gulfsoft.com GulfBreeze Blog www.gulfsoft.com/blog -Original Message- From: Mike Martin [mailto:[EMAIL PROTECTED] Sent: Wednesday, Augu

RE: XML: :Simple -- can't print still: config problem?

2006-07-25 Thread Venkat Saranathan
with warm regards, Venkat Saranathan Gulf Breeze Software www.gulfsoft.com GulfBreeze Blog www.gulfsoft.com/blog -Original Message- From: brian bwarn [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 11:50 AM To: beginners@perl.org Subject: RE: XML: :Simple -- can't print still:

RE: :Simple -- can't get anything to print from array

2006-07-25 Thread Venkat Saranathan
ot;C:\\temp\\input.xml"); # dereference hash reference # access array print "before loop ...\n"; foreach $d (@{$data->{dataschema}->{includes}->{include}}) { print "in \$d loop ...\n"; print $d->{name}, "\n"; } print "finished\n

RE: fork question

2006-07-22 Thread Venkat Saranathan
of fork. It is platform independent, light-weight and easy to pass information back and forth. Please refer to perlthrtut for more information. Hth, with warm regards, Venkat Saranathan Gulf Breeze Software www.gulfsoft.com GulfBreeze Blog www.gulfsoft.com/blog -Original Message- Fr

RE: MySQL question

2006-07-21 Thread Venkat Saranathan
If you have MySQL 5.0 or greater, you will be able to create a stored procedure and call it from DBI. with warm regards, Venkat Saranathan Gulf Breeze Software www.gulfsoft.com GulfBreeze Blog www.gulfsoft.com/blog -Original Message- From: Karjala [mailto:[EMAIL PROTECTED] Sent

RE: write out filenames of files existing on a filesystem into afile

2006-07-20 Thread Venkat Saranathan
ARGV[0]); print $xmldata->{'filemap_generic'}, "\n"; Hth, with warm regards, Venkat Saranathan Gulf Breeze Software www.gulfsoft.com GulfBreeze Blog www.gulfsoft.com/blog -Original Message- From: Jay Savage [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 20

Re: Perl Beginner

2006-07-17 Thread Venkat Saranathan
?op=modload&name=News&file=article&sid=300 Just my $0.02... with warm regards, Venkat Saranathan GulfBreeze Software http://www.gulfsoft.com >> Hello all, This is my first post to the list. I just started studying Perl I was just wondering if anyone has read the book: Per