On 9/7/06, Rob Dixon <[EMAIL PROTECTED]> wrote:
It's very bad form to post something to the list that simply doesn't work. This
won't even compile:
Type of arg 1 to shift must be array (not concatenation (.) or string) at
E:\Perl\source\xx.pl line 2, near "" ")"
Ok, my fault. I was hasty to offer a solution to Li. But fortunately
it provided a clue that Li used it to find one way towards his
solution.
On 9/7/06, chen li <[EMAIL PROTECTED]> wrote:
Hi Adriano,
The line code you provide doesn't work on my computer
but based on what you say I change it into this line
code and it works.
On 9/7/06, Rob Dixon <[EMAIL PROTECTED]> wrote:
Why did I have to test this code for you?
You don't. The bad code was not intentional, but it worked as a
how-not-to-do-it that Li (to whom the code was addressed) turned out
for good. That was a case of "learning by bad example", that I do not
intend to advocate here. I will be more careful in the next posts.
Adriano Ferreira.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>