in reply to Re: Re: syntax error with constant
in thread syntax error with constant
But why does it happen with multi-character constant names?
DB<1> use constant foo => 1 DB<2> print 1-foo Ambiguous use of -foo resolved as -&foo() at (eval 15)[/usr/lib/perl5/ +5.8.0/perl5db.pl:17] line 2. eval '($@, $!, $^E, $,, $/, $\\, $^W) = @saved;package main; $ +^D = $^D | $DB::db_stop; print 1-foo; ;' called at /usr/lib/perl5/5.8.0/perl5db.pl line 17 DB::eval called at /usr/lib/perl5/5.8.0/perl5db.pl line 1323 DB::DB called at -e line 1 0
Same thing happens with FOO.
I don't encounter this problem, because I put spaces between terms and operators. Insert invisible 'nyah nyah' here
--
TTTATCGGTCGTTATATAGATGTTTGCA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: syntax error with constant
by liz (Monsignor) on Aug 04, 2003 at 07:30 UTC | |
|
Re: Re: Re: Re: syntax error with constant
by sgifford (Prior) on Aug 04, 2003 at 06:56 UTC |