Re: filename creating regular expression problem

2007-10-15 Thread Jenda Krynicky
From: "Brad Cahoon" <[EMAIL PROTECTED]> > I keep getting errors saying: > > Use of uninitialized value in concatenation (.) or string at > pagecreate.pl line 25. Apparently one of the variables you use on that line is not initialized. Do you know which one? > print() on closed filehandle FILE a

Re: filename creating regular expression problem

2007-10-15 Thread Brad Cahoon
solved the first problem: while (@ary = $sth->fetchrow_array()){ if ($ary[0] =~ /\//) { @parts = split /\s/, $ary[0]; open FILE, "> c:\/\/output\/$ary[1]\/$parts[0]$ending\n";

filename creating regular expression problem

2007-10-15 Thread Brad Cahoon
HI I keep getting errors saying: Use of uninitialized value in concatenation (.) or string at pagecreate.pl line 25. print() on closed filehandle FILE at pagecreate.pl line 29. i have a script which calls a database and there are values in $ary[0] like: bob smith joe susan / john larry jones /