On Mon, Jun 7, 2010 at 01:22, Bryan Harris wrote:
snip
> How do other people deal with this? If I have a printf with seven complex
> (?, like the above) variables in it and one of them is undef, aside from
> breaking them all onto different print lines and re-running the script, how
> else can I
> On Sun, Jun 6, 2010 at 08:19, Shawn H Corey wrote:
>> On 10-06-05 03:26 PM, Bryan Harris wrote:
>>>
>>> [console]
>>> $ perl -e 'use warnings; $c=undef; printf("%s", $c->[0]{dog})'
>>> Use of uninitialized value in printf at -e line 1.
>>> [/console]
>>>
>>> Anything that can help me here?
> "SHC" == Shawn H Corey writes:
SHC> On 10-06-05 03:26 PM, Bryan Harris wrote:
>> [console]
>> $ perl -e 'use warnings; $c=undef; printf("%s", $c->[0]{dog})'
>> Use of uninitialized value in printf at -e line 1.
>> [/console]
>>
>> Anything that can help me here? I wish it'd
On Sun, Jun 6, 2010 at 10:49, Philip Potter wrote:
> On 6 June 2010 14:37, Shawn H Corey wrote:
>> On 10-06-06 09:06 AM, Chas. Owens wrote:
>>>
>>> But that is not the problem; autovivification will create the references:
>>>
>>> perl -MData::Dumper -le '$c->[0]{a}; print Dumper $c'
>>>
>>
>> But
On 10-06-06 10:49 AM, Philip Potter wrote:
On 6 June 2010 14:37, Shawn H Corey wrote:
On 10-06-06 09:06 AM, Chas. Owens wrote:
But that is not the problem; autovivification will create the references:
perl -MData::Dumper -le '$c->[0]{a}; print Dumper $c'
But that is the problem. Autovivi
On 6 June 2010 14:37, Shawn H Corey wrote:
> On 10-06-06 09:06 AM, Chas. Owens wrote:
>>
>> But that is not the problem; autovivification will create the references:
>>
>> perl -MData::Dumper -le '$c->[0]{a}; print Dumper $c'
>>
>
> But that is the problem. Autovivification should not happen for
On Sun, Jun 6, 2010 at 09:37, Shawn H Corey wrote:
> On 10-06-06 09:06 AM, Chas. Owens wrote:
>>
>> But that is not the problem; autovivification will create the references:
>>
>> perl -MData::Dumper -le '$c->[0]{a}; print Dumper $c'
>>
>
> But that is the problem. Autovivification should not hap
On 10-06-06 09:06 AM, Chas. Owens wrote:
But that is not the problem; autovivification will create the references:
perl -MData::Dumper -le '$c->[0]{a}; print Dumper $c'
But that is the problem. Autovivification should not happen for
r-values, only l-values.
--
Just my 0.0002 million
On Sun, Jun 6, 2010 at 08:19, Shawn H Corey wrote:
> On 10-06-05 03:26 PM, Bryan Harris wrote:
>>
>> [console]
>> $ perl -e 'use warnings; $c=undef; printf("%s", $c->[0]{dog})'
>> Use of uninitialized value in printf at -e line 1.
>> [/console]
>>
>> Anything that can help me here? I wish it'd sa
On 10-06-05 03:26 PM, Bryan Harris wrote:
[console]
$ perl -e 'use warnings; $c=undef; printf("%s", $c->[0]{dog})'
Use of uninitialized value in printf at -e line 1.
[/console]
Anything that can help me here? I wish it'd say:
Use of uninitialized value $c->[0]{dog} in printf at -e line 1.
> On Thursday 03 Jun 2010 19:53:48 Bryan R Harris wrote:
>> Seems like the first time I run a new script I *always* get an error
>> message something like this:
>>
>> "Use of uninitialized value in printf at /Users/harrisb/Library/perl/matc
>> line 414."
>>
>> The problem is usually I'm print
On Thursday 03 Jun 2010 19:53:48 Bryan R Harris wrote:
> Seems like the first time I run a new script I *always* get an error
> message something like this:
>
> "Use of uninitialized value in printf at /Users/harrisb/Library/perl/matc
> line 414."
>
> The problem is usually I'm printing several
Seems like the first time I run a new script I *always* get an error message
something like this:
"Use of uninitialized value in printf at /Users/harrisb/Library/perl/matc
line 414."
The problem is usually I'm printing several things, so I have no idea which
variable wasn't initialized from t
13 matches
Mail list logo