Re: covert perl code to binary

2019-01-17 Thread Uday Vernekar
t; I installed B::C and ran https://metacpan.org/pod/distribution/B-C/script/ > perlcc.PL > > It actually does the compilation - as opposed to pp which is just > packaging it - so you don't see the perl code of the source file. > > Does that resolve your question? > > Andr

Re: covert perl code to binary

2019-01-13 Thread Uday Vernekar
uot;nobody"? Would Acme::Bleach do the trick? Or something > similar? > > :) > > On Fri, Jan 11, 2019, 5:01 AM Uday Vernekar >> Hi all, >> >> I have a perl code which I need to covert to binary so that nobody can >> see the code. >> >> we use

covert perl code to binary

2019-01-11 Thread Uday Vernekar
Hi all, I have a perl code which I need to covert to binary so that nobody can see the code. we used pp package to make the perl code binary but here the user can see the code which gets created in tmp. Need help if anybody knows kindly reply With regards Uday V G

Re: Installing Net::SFTP

2017-03-15 Thread Uday Vernekar
st NO SCHWIGON/Net-SSH-Perl-2.09.01.tar.gz : make_test NO one dependency not OK (Math::GMP) On Wed, Mar 15, 2017 at 1:11 PM, community tech wrote: > before that you may want to install SSLeay etc. > > cpanm Net::SSLeay > cpanm Crypt::SSLeay > > > 2017-03-15 14:22 GMT+08:00

Installing Net::SFTP

2017-03-14 Thread Uday Vernekar
Hello, Need some help on installing Net::SFTP perl module on RHEL. please guide. With Regards Uday V G -- * Don't ask them WHY they hurt you, because all they'll tell you is lies and excuses. Just know they were wrong, and try to move on

Re: Parsing Logfiles and fetching Macs programmed and putting in another file.

2017-01-31 Thread Uday Vernekar
Thanks shlomi ,working on your inputs...Thanks:) On Tue, Jan 31, 2017 at 4:34 PM, Shlomi Fish wrote: > Hi Uday, > > see my reply interim with your code. > > On Tue, 31 Jan 2017 15:31:59 +0530 > Uday Vernekar wrote: > > > Requirement: > > > > I have Test

Parsing Logfiles and fetching Macs programmed and putting in another file.

2017-01-31 Thread Uday Vernekar
Requirement: I have Test log files with filename as SerialNumber of tested Product and the log file consist of below data and other Text.the IP addresses can be repeated need to fetch only mac starting with 00:05:95:XX:XX:XX Board IP address : 192.168.1.1:ff00 Host IP addre

my makefile. Doesn’t work the way I intend it to

2015-11-19 Thread Uday Vernekar
Hello Group, I have the following in my makefile. Doesn’t work the way I intend it to. How do I do conditional test with a regular expression ? ifeq (${HOST_TYPE},x86_64)-- à works ifeq (${LATTICE_VERSION},d3.*) --

Re: Factorial of a number.

2015-09-21 Thread Uday Vernekar
Thanks Shlomi for your Valuable comments. On Mon, Sep 21, 2015 at 3:41 PM, Shlomi Fish wrote: > Hi Uday, > > please reply to the list. > > I'm going to comment on your code. > > On Mon, 21 Sep 2015 15:06:49 +0530 > Uday Vernekar wrote: > > > Hi all, >

Factorial of a number.

2015-09-21 Thread Uday Vernekar
Hi all, I wrote a simple Perl code to find the factorial of a number. Need feed back on the same.please correct me if i have done anything wrong #!/usr/bin/perl use warnings; use strict; my $fact=1; print("Enter Number:"); my $num=; if($num==0) { print("factorial of $num=$fact\n"); } elsif($num<

Re: Perl hash

2015-07-30 Thread Uday Vernekar
Hashes are complex list data, like arrays except they link a key to a value. Hashes can be used for counting, uniqueness, searching, and dispatch and lot more than just mapping from one thing to another and More. On Fri, Jul 31, 2015 at 9:15 AM, Uri Guttman wrote: > On 07/30/2015 11:38 PM, bikra

Re: last statement in a package

2015-05-21 Thread Uday Vernekar
the end of the file. On Thu, May 21, 2015 at 12:44 PM, Uday Vernekar wrote: > As Per my Understanding... > > The last line file must contain the line with the 1; statement. As This > in effect returns a true value to the program using the module. if you > are Not using the 1; stat

Re: last statement in a package

2015-05-21 Thread Uday Vernekar
As Per my Understanding... The last line file must contain the line with the 1; statement. As This in effect returns a true value to the program using the module. if you are Not using the 1; statement it will not let the module be loaded correctly. On Thu, May 21, 2015 at 11:43 AM, Sunita Pradhan

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

2015-03-20 Thread Uday Vernekar
when i use $numberOfPingPackets=2; I get following warning? PING 192.168.240.55 (192.168.240.55) 56(84) bytes of data. --- 192.168.240.55 ping statistics --- 2 packets transmitted, 0 received, 100% packet loss, time 11000ms Use of uninitialized value in index at ./pinglog.pl line 26, line 4.

ignoring bad Prompt argument Warning.

2014-12-29 Thread Uday Vernekar
Hi All, I am doing Pattern matching of the expected string if matched then pass the next command.my code works as expected but gives warning. can any body please Explain me why i am getting this at every match. ignoring bad Prompt argument "'/>>/'": missing opening delimiter of match operator a

Re: Regular expression: option match after a greedy/non-greedy match

2014-09-17 Thread Uday Vernekar
e 4. BEGIN failed--compilation aborted at ./regex.pl line 4. On Wed, Sep 17, 2014 at 2:38 PM, Uday Vernekar wrote: > When i run this script i get following Error > > bash-4.2$ ./regex.pl > feature version v5.16.0 required--this is only version v1.160.0 at ./ > regex.pl line 4. &g

Re: Regular expression: option match after a greedy/non-greedy match

2014-09-17 Thread Uday Vernekar
When i run this script i get following Error bash-4.2$ ./regex.pl feature version v5.16.0 required--this is only version v1.160.0 at ./ regex.pl line 4. BEGIN failed--compilation aborted at ./regex.pl line 4. But I am using perl version as swon below. bash-4.2$ perl -v This is perl 5, version

Difference between list and arrays.

2014-09-16 Thread Uday Vernekar
Confusion on array and list. can anybody explain me the difference between list and arrays. my @xyz = ( 4, 5, 6 ); The right-hand side of the equals sign is a list.here I assign that list to the variable @xyz. its an array,list can be assigned to an array. on similiar lines we can assign Lists t

Re: Need to understand what this script does.

2014-08-11 Thread Uday Vernekar
thanks david On Mon, Aug 11, 2014 at 3:54 PM, David Precious wrote: > On Mon, 11 Aug 2014 11:12:34 +0100 > David Precious wrote: > > > On Sun, 10 Aug 2014 16:40:07 +0530 > > Uday Vernekar wrote: > > > > > i din't understand what the whole script is do

Re: Need to understand what this script does.

2014-08-10 Thread Uday Vernekar
i din't understand what the whole script is doing.I need to understand first what this script is all about. On Sat, Aug 9, 2014 at 12:58 PM, Kent Fredric wrote: > > On 9 August 2014 16:32, Uday Vernekar wrote: > >> Hi All, >> >> >> please help me in un

Need to understand what this script does.

2014-08-08 Thread Uday Vernekar
Hi All, please help me in understanding this script. ##1./dbopt/mounts/apps/irfora/utils/scr use DBI; use lib "$ENV{IRF_ORA_HOME}/utils/scr"; use UTILS_ORA('mailing', 'db_connect');--The script location /dbopt/mounts/apps/irfora/utils/scr sub SendErr; #sub mailing; my @FN = split /\//, $0; m

How to Upgrade Perl to latest Stable Version.

2014-07-08 Thread Uday Vernekar
Hi All, Currently I am using perl 5, version 12, subversion 4 (v5.12.4) Kindly suggest on how to upgrade to latest version of Perl with regards Uday V G -- * Don't ask them WHY they hurt you, because all they'll tell you is lies and excu

Re: want to write to file in different format

2014-07-08 Thread Uday Vernekar
when i try to install Path::Tiny it gives me following error # The following REQUIRED prerequisites were not satisfied: # # File::Spec version '3.33' is not in required range '3.40' # t/00-report-prereqs.t . ok t/basename.t .. File::Spec version 3.4 required--this i

Re: Need to Grep only fail count from the Pattern.

2014-07-01 Thread Uday Vernekar
The script works fine without next if $line =~ /^-/; How it helps. On Mon, Jun 30, 2014 at 9:06 PM, Jim Gibson wrote: > > On Jun 30, 2014, at 2:44 AM, Uday Vernekar wrote: > > > please Explain > > > > next if $line =~ /^-/; > > “Skip this input line if it

Re: Need to Grep only fail count from the Pattern.

2014-06-30 Thread Uday Vernekar
please Explain next if $line =~ /^-/; my @f = split('\s*\|\s*',$line); next unless scalar @f == 8; On Fri, Jun 27, 2014 at 6:44 PM, Uday Vernekar wrote: > Thanks to allcheers > > > On Thu, Jun 26, 2014 at 10:28 PM, Jim Gibson wrote: > >> >&

Re: Need to Grep only fail count from the Pattern.

2014-06-27 Thread Uday Vernekar
Thanks to allcheers On Thu, Jun 26, 2014 at 10:28 PM, Jim Gibson wrote: > > On Jun 26, 2014, at 2:05 AM, Uday Vernekar wrote: > > > Please suggest if any Corrections Needed. > > There are several improvements you could make. > > > > > [code] &g

Re: Need to Grep only fail count from the Pattern.

2014-06-26 Thread Uday Vernekar
ound: | 72| Traffic Test |1| 561| 560|1| (none) -- Test Data ------ UAS : Test : 72 Test Name : Traffic Test Loop Count : 1 Run Count : 561 Pass Count : 560 Fail Count : 1 Arguments : (none) ------

Re: Need to Grep only fail count from the Pattern.

2014-06-25 Thread Uday Vernekar
I got it thanks jim :) On Wed, Jun 25, 2014 at 7:12 PM, Jim Gibson wrote: > > On Jun 25, 2014, at 12:11 AM, Uday Vernekar > wrote: > > > Dear Ron, > > You are better off addressing your questions to the entire mailing list, > rather than asking information

Re: Need to Grep only fail count from the Pattern.

2014-06-25 Thread Uday Vernekar
Dear Ron, How wud i grep the string | 72| Traffic Test |1| 561| from log file which is Very large. with Regards Uday V G On Tue, Jun 24, 2014 at 8:56 PM, Ron Bergin wrote: > Uday Vernekar wrote: > > Dear All, > > > > Slight Correction Made in Above Co

Re: Need to Grep only fail count from the Pattern.

2014-06-24 Thread Uday Vernekar
iled=0 Sucsess Please suggest.. with Regards Uday V G On Tue, Jun 24, 2014 at 5:31 PM, Uday Vernekar wrote: > Dear All, > > Please correct Me If i am wrong:Here's the code which I wrote > > [code] > #!/usr/bin/perl > > use 5.10.0; > use strict; > use w

Re: Need to Grep only fail count from the Pattern.

2014-06-24 Thread Uday Vernekar
rles DeRykus wrote: > On Tue, Jun 24, 2014 at 3:15 AM, Uday Vernekar > wrote: > > Hi all, > > > > I tried this its working fine when we have this pattern at hand,but the > > pattern is in a log file which is very large and i need to grep this > pattern > > first

Re: Need to Grep only fail count from the Pattern.

2014-06-24 Thread Uday Vernekar
Hi all, I tried this its working fine when we have this pattern at hand,but the pattern is in a log file which is very large and i need to grep this pattern first from the generated log file then Match.how do i do it? with Regards Uday V G On Tue, Jun 24, 2014 at 1:30 PM, Uday Vernekar wrote

Re: Need to Grep only fail count from the Pattern.

2014-06-24 Thread Uday Vernekar
Thanks everybody will work out the Feasible option from all these..Thanks a lot On Mon, Jun 23, 2014 at 10:12 PM, Charles DeRykus wrote: > On Mon, Jun 23, 2014 at 2:42 AM, Uday Vernekar > wrote: > > Hi All, > > > > > > I have following Pattern from whic

Need to Grep only fail count from the Pattern.

2014-06-23 Thread Uday Vernekar
Hi All, I have following Pattern from which I need to grep only the Fail count and store that in a variable. U/A/S|Test|Test |Loop | Run |Pass |Fail| Arguments | Name |Count|Count|Count|Count | -++---+--

Re: split an html file

2014-04-21 Thread Uday Vernekar
Awesome..Lesley On Mon, Apr 21, 2014 at 4:00 PM, lesleyb wrote: > On Thu, Apr 17, 2014 at 10:01:35AM -0700, Mike McClain wrote: > > Hi, > > My brother Rick, a windrider, put together a webpage, > > http://www.photographers1.com/Sailing/NauticalTerms&Nomenclature.html > > about sailing