Re: a problem about function returning point



Thank u Klaus:

Thank u for your point out my program line by line, thank you:)
This program be wroten three years before when i first met
Perl. So, it's be designed so complex that not necessary. And without
using strict and warnings.
Today i add 'using strict' and 'using warnings' and reduced
complex, the problem solved.
Thank u.

Havel Zhang

On Apr 29, 11:40 pm, Klaus <klau...@xxxxxxxxx> wrote:
On Apr 29, 4:00 pm, "havel.zhang" <havel.zh...@xxxxxxxxx> wrote:

Today I came cross a strange problem about function returning
point.

Like with every strange problem in Perl, first try the following, put
the following two lines at the beginning of your program:

use strict;
use warnings;

.



Relevant Pages

  • Re: debugger exiting
    ... strict and warnings pragmas. ... I think portraying Perl as a command-line tool limits it to fewer platforms than ... work only as a Unix shell command line. ...
    (perl.beginners)
  • Re: dns querry script.
    ... use warnings; ... use strict; ... C:\Dload> perl dns.pl ...
    (comp.lang.perl.misc)
  • Re: Any way to access global variable in Perl script from one module file?
    ... use strict; ... use warnings; ... a separate process has a completely separate memory space. ... There is probably no reason to create a new perl ...
    (comp.lang.perl.misc)
  • Re: Debug Help Please
    ... In Perl there is the expression TIMTOWTDI which means that you will probably get different opinions on "The Right Way" to do something in Perl. ... use strict; ... That is a specious argument because you can disable specific strictures or warnings in local scope: ... for all Failures ...
    (perl.beginners)
  • Re: List Variable becomes undefined inexplicably
    ... warnings and strictures very often find bugs in programs. ... It is inconsiderate of your audience to post without warnings and strict. ... There is a Perl and there is a perl. ... chomp $LINE; ...
    (comp.lang.perl.misc)