Re: parse json

2015-06-10 Thread Shlomi Fish
Hi Irfan, On Wed, 10 Jun 2015 18:30:27 + (UTC) Irfan Sayed wrote: > Hello,i am writing mail directly to you because i am getting failure > notification when i am sending mail to beginners Yes, E-mailing beginners@perl.org has been flaky from here too. > DLneed help please. I need > topars

Re: When is qw used

2015-06-10 Thread Shawn H Corey
On Wed, 10 Jun 2015 17:49:44 +0530 rakesh sharma wrote: > I have seen perl syntax like use Carp qw(some list items)so when do > we need to write like this and why is not the items of the module > getting imported As others have said, to import a selected set of functions or to import functions n

Re: When is qw used

2015-06-10 Thread Shlomi Fish
Hi Rakesh, On Wed, 10 Jun 2015 18:10:12 +0530 rakesh sharma wrote: > Hi Krzysztof > If that was the case , using the subs inside Carp should not show any > error.Bu I was not able to use cluck without using qw and was able to use > croak and confess without the qw.Don't get it thanksrakesh >

Re: When is qw used

2015-06-10 Thread bars0
Hi, Please run perldoc Carp at your command prompt. As you can see, cluck, longmess and shortmess not exported by default. NAME Carp - alternative warn and die for modules SYNOPSIS use Carp; # warn user (from perspective of caller) carp "string trimmed to 80 chars";

Re: When is qw used

2015-06-10 Thread Carl Inglis
Some modules import all their endpoints by default; other only export a subset, requiring you to explicitly request others. Carp does not, by default, export "cluck". Regards, Carl On 10 June 2015 at 13:40, rakesh sharma wrote: > Hi Krzysztof > > If that was the case , using the subs inside C

RE: When is qw used

2015-06-10 Thread rakesh sharma
Hi Krzysztof If that was the case , using the subs inside Carp should not show any error.Bu I was not able to use cluck without using qw and was able to use croak and confess without the qw.Don't get it thanksrakesh > Date: Wed, 10 Jun 2015 14:30:28 +0200 > From: bars0.bars0.ba...@gmail.com > T

Re: When is qw used

2015-06-10 Thread bars0
Hi, As far as I know qw(some list item) will import from Carp module only subs that you've explicitly requested. In this example `some, list, item` will be available in your namespace but not other from Carp module. `use Carp;` will import all of them. Krzysztof On 2015-06-10 14:19, rakesh

When is qw used

2015-06-10 Thread rakesh sharma
I have seen perl syntax like use Carp qw(some list items)so when do we need to write like this and why is not the items of the module getting imported thanksrakesh