[Israel.pm] Gabor's problem with newbies
szabgab at gmail.com
Sun Dec 28 05:02:20 PST 2008
lovely. Now you make it sound as if I had problems with newbies.
No. I am teaching and the students encounter issues of legitimate
Perl code that does not do what they expect.
I gave one example of such code.
On Sun, Dec 28, 2008 at 2:51 PM, Peter Gordon <peter at pg-consultants.com> wrote:
> I deleted the email, but from what I remember the problem is:
> @argv = "123456"
> split("4", at argv)
> The context forces @argv to a scalar, much like $n = @argv.
> So the @argv tranlsates to 1.
this is really the case.
More information about the Perl