Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am using the following code:
The code does work, but I recieve the following errorif ($_ =~ /^DATA\:/) { $LINE = join("", $LINE, $_); }
Use of uninitialized value in join or string at C:\Test.pl line 5.
Is there a way to initialize the variable with a value before I join it, or should I switch my join statement around?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: recursive join
by BrowserUk (Patriarch) on Dec 21, 2002 at 14:35 UTC | |
by Anonymous Monk on Dec 21, 2002 at 14:47 UTC | |
by BrowserUk (Patriarch) on Dec 21, 2002 at 14:56 UTC | |
by Anonymous Monk on Dec 21, 2002 at 15:04 UTC | |
by BrowserUk (Patriarch) on Dec 21, 2002 at 15:10 UTC | |
by Eimi Metamorphoumai (Deacon) on Dec 22, 2002 at 17:58 UTC | |
|
Re: recursive join
by adrianh (Chancellor) on Dec 21, 2002 at 14:44 UTC | |
by Anonymous Monk on Dec 22, 2002 at 18:37 UTC | |
|
Re: recursive join
by demerphq (Chancellor) on Dec 21, 2002 at 21:24 UTC |