Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: [OT] Where does the spurious error message come from?

by jo37 (Curate)
on Aug 04, 2023 at 20:27 UTC ( [id://11153714]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Where does the spurious error message come from?
in thread Where does the spurious error message come from?

A compiler that proceeds after recognising an error reminds me of the time when I had to program in PL/I. That beast was designed for those circumstances where you drop a box full of punched cards at the data centre's desk and get the compiler's result the next day. A missing semicolon would have cost you one full day unless the compiler were forgiving enough and guessed you intention. Some of the most serious programming errors, like assigning incompatible types, e.g. pointer to character, resulted in an inconspicuous warning "data conversion done by subroutine call".

Greetings,
-jo

$gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$
  • Comment on Re^3: [OT] Where does the spurious error message come from?

Replies are listed 'Best First'.
Re^4: [OT] Where does the spurious error message come from?
by BillKSmith (Monsignor) on Aug 07, 2023 at 14:26 UTC
    I bet that the your warning was buried in a blizzard of warnings about conversions that you did intend. In Perl, there is almost no penalty for recompiling after fixing a few obvious errors. I have come to expect that some of the remaining ones will disappear.
    Bill
      I bet that the your warning was buried in a blizzard of warnings about conversions that you did intend.

      No. That's the funny thing: There are so many possible conversions that would be done "out of the box". From / to binary, decimal, float, character: no warnings AFAIR. Whenever this "done by subroutine call" warning appeared, something was badly wrong.

      Greetings,
      -jo

      $gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11153714]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (3)
As of 2026-05-10 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.