What order does a computer program use to evaluate expressions? If I write
2 + 3 * 4 + 5
does it start off, left to right ...
2 + 3 is 5
5 * 4 is 20
20 + 5 is 25
No! it does not, even though the newcomer might think that was the most natural way for ....
When we're programming, we store data in our computer memory in one step of our process, then read it back for further reference or processing in a later step. In the very early days, this was planned out using the numeric location in the computer memory, but very rapidly programming langu ....
From Learning to Program in PHP and PHP Programming - presented this week, and repeating at regular intervals - see schedule.
Let's say that I want a web page - with a single URL (Uniform Resource Locator / name) - to show up differently in my browser depending on how I run it ...
• I write th ....
Newcomers to programming often ask "which loop should I use?"
Every language has a while loop, most have a for loop (though sometimes those differ in what they do - Python is an exceptional one, for example), and many have a foreach loop. Then you get the odd ones such as the until loop in Perl . ....
If you have a stock of 117 locomotives on your railway, and each is on the front of a train through Tenby as it heads for Pembroke just 12 times a year (it's a Summer Saturday Special working!), will - in the course of their 30 year life - every locomotive have worked that train? Will the reason tha ....
As I'm filtering out unwanted emails, something occasionally catches my eye and I wonder ...
Hello, My name is Elena and I live in small city in Russia. I have small daughter but husband left us a few years ago. Due to deep crisis recently I losted job and can not pay the heating bills for ....
Test your Perl knowledge
A simple little quiz that you may enjoy ... ten questions [here]. Questions good for any recent version of Perl 5 - say 5.10 and upwards, as the quiz tests your knowledge of some of the fundamentals.
The quiz was, of course, written for a purpose - to answer the questio ....
"We don't sell that at the moment, but we'll be reviewing it early next year. Please keep coming back to our website, where we'll be announcing it". Now - have I got something wrong there, or should "customer service", who gave me that answer, added me on to the list of probably hundreds of people ....
A single room, booked for a single night last night, by someone who found us online and of whom we've not heard before, working for a company that's new to us.
What's the value of us serving that customer well? Multiple choice question:
(a) About £30.00
(b) £8 ....