Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Using "my" suppresses "Name used only once" warning?

by Abigail-II (Bishop)
on Feb 03, 2003 at 23:05 UTC ( [id://232403]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Using "my" suppresses "Name used only once" warning?
in thread Using "my" suppresses "Name used only once" warning?

I'm a bit confused. You find C too unforgiving of errors, yet you want to make Perl less forgiving and more like C. (I don't have a clue what you mean by 'causing the machine to reset').

As for thinking that JavaScript is close to Java, you're wrong. JavaScript has nothing to do with Java, except the name. Netscape developed LiveScript around the time SUN launched Java. As a marketing ploy, just before releasing it to the masses, Netscape renamed LiveScript to JavaScript.

Abigail

Replies are listed 'Best First'.
Re: Re: Using "my" suppresses "Name used only once" warning?
by Wysardry (Pilgrim) on Feb 04, 2003 at 00:01 UTC

    By 'unforgiving of errors' I was referring to those times when the pre-processor and compiler don't realise you've done something dumb with a variable and caused a value (or values) to be sent into an area of memory reserved for use by the O/S.

    On a PC running Windoze, this generally either gives you the "blue screen of death" (a blue screen with a bunch of hex characters on) or does the same thing as pressing the reset button.

    In other words, you have to reboot or the computer does that for itself without asking.

    Well, I've used BASIC, C, COBOL, Perl, PHP, a little Z80 assembler and a tiny bit of JavaScript. I've also read articles and books about Pascal and Modula 2, but haven't actually used them.

    Out of those, I would assume that JavaScript is the closest to Java, although I've never actually seen Java code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-28 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found