Re: Use of uninitialized value $j in numeric eq (==) at myfile line 125

2015-07-03 Thread Shlomi Fish
Hi Tamas, On Fri, 3 Jul 2015 15:10:18 + "Nagy Tamas (TVI-GmbH)" wrote: > Hi, > > My code: > > Use strict; > Use warnings; > > my $j = 0; > my $doread = 0; > my ($buf, $data, $n); > $n = read FILE, $data, 1; > $buf = $data; > while($n != 0) { > > $doread = 0; > > # there has to be a begi

Re: Use of uninitialized value $j in numeric eq (==) at myfile line 125

2015-07-03 Thread Brandon McCaig
On Fri, Jul 3, 2015 at 11:10 AM, Nagy Tamas (TVI-GmbH) wrote: > Hi, Hello, > My code: It's evident that this is not actually your code, let alone the full code... > Use strict; > > Use warnings; Those must be 'use', not 'Use'. Obviously you aren't actually using them or at least this isn't ac

Use of uninitialized value $j in numeric eq (==) at myfile line 125

2015-07-03 Thread Nagy Tamas (TVI-GmbH)
Hi, My code: Use strict; Use warnings; my $j = 0; my $doread = 0; my ($buf, $data, $n); $n = read FILE, $data, 1; $buf = $data; while($n != 0) { $doread = 0; # there has to be a begin tag before the end tag # so we can check for begin tag first if($begintagfound == 0) { if($buf eq chr hex

Re: Customized Module Concept

2015-07-03 Thread Shawn H Corey
On Fri, 3 Jul 2015 12:48:22 +0530 ayush kabra wrote: > Hi Team, > > I want to make customized module on perl but i don't know how to make > it. i have checked on google but it's little bit confusing. i am not > able to understand what is the meaning of EXPORTER_OK ,IMPORT and > there is lot of t

Re: Customized Module Concept

2015-07-03 Thread Kent Fredric
On 3 July 2015 at 19:18, ayush kabra wrote: > I want to make customized module on perl but i don't know how to make it. i > have checked on google but it's little bit confusing. i am not able to > understand what is the meaning of EXPORTER_OK ,IMPORT and there is lot of > thinh which i am not able

Customized Module Concept

2015-07-03 Thread ayush kabra
Hi Team, I want to make customized module on perl but i don't know how to make it. i have checked on google but it's little bit confusing. i am not able to understand what is the meaning of EXPORTER_OK ,IMPORT and there is lot of thinh which i am not able to understand. Can you please send me some

Re: Perl Hash concept.

2015-07-03 Thread Kent Fredric
On 3 July 2015 at 18:54, bikram behera wrote: > Hi Team, > > > Any body can explain me how to do perl hash refernce and dereference. > Create a hash: my (%hash) = ( "key" => "value" , "otherkey" => "othervalue" ); Create a reference to said hash: my $reference = \%hash; You can also make a h