New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eval error leaking to screen #673
Comments
From ed_peschko@csgsystems.comSite configuration information for perl 5.00561: @INC for perl 5.00561: Environment for perl 5.00561: |
From [Unknown Contact. See original ticket]The following code: eval(' 'leaks' its error message to the screen as a warning, even when '-w' is turned Scalar found where operator expected at (eval 1) line 3, near ") When you put: $SIG{__WARN__} = sub {}; it stops doing so - but why does it print at all? Not sure this is a 'bug' per Ed (PS: also noticed that the '#line 7' syntax does not work with eval, ie: if you #line 10 then the error is still reported at line #2. Not sure if this is a bug either Perl Info
|
From [Unknown Contact. See original ticket]On Sun, 03 Oct 1999 at 01:10:45 -0000, richard@tmtowtdi.perl.org wrote:
The syntax is #line 10 "foo" I.e. you need a 'file name' too. It's also the case that a #line won't I've found that interpolating qq{\nline 1 "$name"\n} does the trick. Ian |
From [Unknown Contact. See original ticket]I note that this bug report (as received by p5p) has From: richard@tmtowtdi.perl.org but lower down we see the suspicious $OOT = "/compile/epeschko1"; Is this message really from Richard or from Ed ? Has the old replacing From: lines bug resurfaced? Or is it just And other oddities: a) The ID is [ID 19991002.015], i.e. issued on 2nd Oct, but we see A timezone effect? b) Although the ID is the 15th issued on 2nd Oct, neither I nor the Mike Guy |
From @gsarOn Sun, 03 Oct 1999 09:47:24 BST, Ian Phillipps wrote:
Not true. If you don't supply the filename it defaults to the
This is probably what's biting them. Sarathy |
From [Unknown Contact. See original ticket]On Sun, Oct 03, 1999 at 09:47:24AM +0100, Ian Phillipps wrote:
well, actually both syntaxes work - ie: if you say #line 10 it takes the current file as filename. Ed |
From [Unknown Contact. See original ticket]On Mon, 04 Oct 1999 at 10:59:51 -0500, Ed Peschko wrote:
Hmm.. looks like a bug to me. Can't it be arranged so that the file name So, in a way, I'll stand by my original comment, erroneous as it was: Ian |
From [Unknown Contact. See original ticket]:-\
Probably, I'll have a look into it.
Ciao |
From @gsarOn Mon, 04 Oct 1999 18:24:16 BST, Ian Phillipps wrote:
The behavior is certainly not accidental--the implementation is quite But being able to alter just the line number would be useful too. Sarathy |
From [Unknown Contact. See original ticket]Ian Phillipps writes:
I think on WIn* #line is almost always present in $0 scripts Ilya |
From [Unknown Contact. See original ticket]
Ciao richard@rfi.net |
From @TimToadyGurusamy Sarathy writes: Er, no, actually. Given that the #line code was done in order to #line 10 "foo.h" But you'll also see other styles, such as # 10 "foo.h" or #line 10 foo.h Larry |
From [Unknown Contact. See original ticket]On Tue, 05 Oct 1999 at 11:06:19 -0700, Larry Wall wrote:
A very valuable feature, though. I have a script that concocts a dozen Ian |
From [Unknown Contact. See original ticket]This still appears to be true as of @8221. [Please enter your report here] |
From @tamiasOn Thu, Dec 21, 2000 at 03:39:09PM -0500, Stephen P. Potter wrote:
According to perldiag, "%s found where operator expected" is a severe Ronald |
Migrated from rt.perl.org#1560 (status was 'resolved')
Searchable as RT1560$
The text was updated successfully, but these errors were encountered: