Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread Jim Gibson
On 3/28/12 Wed Mar 28, 2012 10:02 AM, "timothy adigun" <2teezp...@gmail.com> scribbled: > Hi Chris, > > On Wed, Mar 28, 2012 at 12:02 PM, Chris Stinemetz > wrote: > >>> >> foreach my $cell ( @wanted ) { >> print "$cell:"; >> foreach my $hr ( @hours ) { >> >foreach(keys %{$href-

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread timothy adigun
Hi David, On Wed, Mar 28, 2012 at 4:36 PM, Kronheim, David (Contr) < david.kronh...@ftr.com> wrote: > timothy adigun [2teezp...@gmail.com] wrote: > >#!/usr/bin/perl > >use warnings; > >use strict; > > > >my @wanted = qw( dad mum children); > >my @children = qw(tim dan mercy); > >my $ref =

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread timothy adigun
Hi Chris, On Wed, Mar 28, 2012 at 12:02 PM, Chris Stinemetz wrote: > > > > It is always better to post a complete, short, working program rather > than a > > snippet. > > > > Maybe this will make it more clear as to what I am trying to > accomplish. I simply want to test to see if @hours exists a

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread Алексей Мишустин
2012/3/28 Chris Stinemetz : > I simply want to test to see if @hours exists as a second > key in the hash of hashes %data. > foreach my $cell ( @wanted ) { >  print  "$cell:"; >  foreach my $hr ( @hours ) { >    if ( defined keys %{ $href->{$hr}}){ if ( defined $href->{$cell}{$hr}){ >      pri

Re: Use of uninitialized value in concatenation (.) or string

2012-03-28 Thread Chris Stinemetz
> > It is always better to post a complete, short, working program rather than a > snippet. > Maybe this will make it more clear as to what I am trying to accomplish. I simply want to test to see if @hours exists as a second key in the hash of hashes %data. If it does not print \t otherwise print

Re: Proc::PID::File - non-default location

2012-03-28 Thread Mendor
On 03/27/2012 05:39 PM, Steve Bertrand wrote: On 2012-03-27 08:36, Mendor wrote: Hello, I'm trying to write some daemon application using Proc::Daemon and Proc::PID::File modules. But I've encountered that Proc::PID::File crashes when I'm trying to put lockfile to a non-default location. E.g. t