Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: How to import "global" variables into sub-scripts from main script?

by Polyglot (Friar)
on Mar 22, 2021 at 11:23 UTC ( #11130105=note: print w/replies, xml ) Need Help??


in reply to Re: How to import "global" variables into sub-scripts from main script?
in thread How to import "global" variables into sub-scripts from main script?

Sigh. Perhaps a little more context is in order.

In a third-world country, the electric grid is not what you are acquainted with. Furthermore, being in the tropics, the lightning storms would be tremendously active during rainy season. My copper ground rod was the only thing grounded in the entire house. I believe the lightning actually struck the pond next to the house, and traveled UP the ground rod to my UPS. It was the ONLY thing in the house that was damaged. I'm very grateful that the UPS did save the computer that it was attached to--but I never again dared to ground anything in my house.

We would sometimes have transient power issues (not surges) where one could measure 270 volts between the ground and the neutral on a 220V system. For these reasons, I never dared to install an electric water heater, preferring to take cold showers than risk electrocution.

My copper ground rod was very likely the only such ground rod for at least 200 meters radius of my house. Beyond that there may have been a business or two that had one--I don't know. In the housing sector, where I was, likely no one had one. It was an area of relative poverty where many homes would have been condemned by the standards of the West.

As one person told me after the lightning damaged my UPS, "Sucks to be the best ground around."

Having no ground isolates one in a similar manner to putting on thick rubber boots before grabbing the electrical wires--as many electricians will do. There are definitely times when one does NOT wish to have any path to ground!

Blessings,

~Polyglot~

  • Comment on Re^2: How to import "global" variables into sub-scripts from main script?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2021-09-24 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?