Re: ? getting appended to file name while writing o file

2015-03-19 Thread Satya Prasad Nemana
Bill, Carl, Andrew, Thanks a lot for your answers. yes, i will make the change to use the perl utilities as it will make the code platform independent. Regards, Satya On 19 March 2015 at 16:58, Carl Inglis wrote: > It's not actually ending up with a ? character at the end - it

Re: ? getting appended to file name while writing o file

2015-03-19 Thread Satya Prasad Nemana
Great Andrew. it is all good now. Could you please tell how new line ended up as ? in the file name Thanks, Satya On 19 March 2015 at 12:53, Andrew Solomon wrote: > my $logFileName="log_ping_".`date +"%d_%b_%y_%H_%M_%S"`; > > should be followed by > >

? getting appended to file name while writing o file

2015-03-18 Thread Satya Prasad Nemana
int $logFile "\nPing to host $host ip $ip is successful"; } else { print "\nPing to host $host ip $ip is failure"; print $logFile "\nPing to host $host ip $ip is failure"; } } close $logFile; -- Satya Prasad

RE: how to make perl program run continue when i press control+s to pause screen output

2013-06-06 Thread Nemana, Satya
...@yahoo.com] Sent: 06 June 2013 17:04 To: Nemana, Satya Cc: beginners@perl.org Subject: Re: how to make perl program run continue when i press control+s to pause screen output On Jun 5, 2013, at 4:18, "Nemana, Satya" mailto:snem...@sonusnet.com>> wrote: Hi I am having a slig

how to make perl program run continue when i press control+s to pause screen output

2013-06-05 Thread Nemana, Satya
ut what to do for any suggestions. Thanks, Satya

RE: variable definition error not caught when using strict and warnings

2012-11-09 Thread Nemana, Satya
From: Rob Dixon [rob.di...@gmx.com] Sent: 09 November 2012 17:17 To: beginners@perl.org Cc: Nemana, Satya Subject: Re: variable definition error not caught when using strict and warnings On 09/11/2012 17:08, Nemana, Satya wrote: > Hi > > I am

variable definition error not caught when using strict and warnings

2012-11-09 Thread Nemana, Satya
Hi I am a little confused with this program Program: use strict; use warnings; if ($999 == 1056) { print ("\nequal"); } else { print ("\nnot equal"); } What I expect: Perl to throw me an error as $999 variable is not defined, but perl executes the code with a warning.(I don't expect th

suggestions for perl program to make excel graph out from top output

2012-07-20 Thread Nemana, Satya
, most of which are irrelevant, are there smarter ways to search? Regards, Satya -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

RE: one liner for removing string from an element of string array

2012-07-20 Thread Nemana, Satya
Ron, Shlomi, I realized I haven’t thanked you. Thanks, Regards, Satya P.S : I am not a fan of one liners but as a beginner of perl there are many others out there who want to see the power of perl to do that in one line, it is just a way to be a fan of the language and then things get

one liner for removing string from an element of string array

2012-07-13 Thread Nemana, Satya
plate", "/a/b/c/d/e/f/file2.template" ); my @tokens=split( /\//, $templates[1]); print("\n".substr($tokens[$#tokens],0,-9)); However I want this to be more efficient and want to do this in a single line as I have to do this several times. How can I

RE: Perl coding standards

2012-02-01 Thread Nemana, Satya
Timothy, Shlomi Fish, Rob, jbiskofski , Thank you for your directions and inputs. I am going through them now. Regards, Satya From: timothy adigun [mailto:2teezp...@gmail.com] Sent: 01 February 2012 05:41 To: Shlomi Fish Cc: Nemana, Satya; beginners@perl.org Subject: Re: Perl coding

Perl coding standards

2012-01-31 Thread Nemana, Satya
Hi Gurus Is there a website /document which you recommend for learning perl coding standards? I understand googling will give a good number of results, but want some useful ones which are practically followed and useful. Regards, Satya

RE: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread Nemana, Satya
Hi Timothy Thank you,(sounds like a silver bullet J ) will give it a try and post the results. Regards, Satya From: timothy adigun [mailto:2teezp...@gmail.com] Sent: 27 January 2012 16:46 To: Nemana, Satya Cc: Rob Dixon; beginners@perl.org Subject: Re: How to compile just the

RE: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread Nemana, Satya
ose in the compilation or execution of the program? Thanks, Satya -Original Message- From: Rob Dixon [mailto:rob.di...@gmx.com] Sent: 27 January 2012 15:19 To: beginners@perl.org Cc: Nemana, Satya Subject: Re: How to compile just the current perl module, ignoring all the other included modules On

RE: How to compile just the current perl module, ignoring all the other included modules

2012-01-27 Thread Nemana, Satya
if $@; die "ERROR: Couldn't 'do' test suite file \"$test_suite_list_file\": $!\n" unless defined $return_val; die "ERROR: Couldn't run test suite file \"$test_suite_list_file\": $!\n" unless $return_val; is there other way of

RE: How to compile just the current perl module, ignoring all the other included modules

2012-01-23 Thread Nemana, Satya
Hi Shawn I tried perl -c also with the same results. It takes 4-5 minutes to know that I missed a " some where. It is very painful. Is there no other way? Thanks, Regards, Satya -Original Message- From: Shawn H Corey [mailto:shawnhco...@gmail.com] Sent: 23 January 2012 16:

How to compile just the current perl module, ignoring all the other included modules

2012-01-23 Thread Nemana, Satya
because ultimately I will compile the complete modules to run the program) Thanks, Regards, Satya

RE: passing arguments to perl function with - in the string

2011-11-29 Thread Nemana, Satya
perl compiler pointed at a code some 1000s of lines below this line for the error which was completely confusing. Now I learnt how small mistakes can take hours to resolve and will be careful in future. Thanks, Regards, Satya P.S : unfortunately, I cant provide more details due to the IP restric

passing arguments to perl function with - in the string

2011-11-29 Thread Nemana, Satya
tried using \" and without the " also, but nothing helped. Thanks in anticipation, Regards, Satya

Test data generation using Perl Scripting.

2007-09-07 Thread Satya
conditions derived from the set of the rules that defines fields in a claim. If it is possible to do it using the perl or any other scripting language, what would be the approach. Regards, Satya. Regards, SUHAS. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Generating flat file.

2007-09-07 Thread Satya
is possible to do it using the perl, what would be the approach. Regards, Satya. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/