I've got a Perl program that processes a data file 200 lines long.
15 of the lines are comments that start with a # (I test for those using ($line =~ /^#/), and 181 of the lines contain real data - in other words they start with a character that's not a # - my regular expression match reads ($line ....
"Do what I mean". One of the new buzzwords for Perl 6.
I first heard the new term "DWIM" mentioned some three or four years ago and it's a noble target. And I thought of it again last night as I was looking through hotel reviews and considering how we'll react to customer comments - indeed how ....
Do you want to run a database query on a remote server and save the results into a text file on your LOCAL disc - i.e. the disc of the computer at which you're seated and not the disc of the server that's in a remote location?
It's not as easy as you think it should be. Because of the security ri ....
We follow an old British tradition - we have milk delivered in bottles every morning, and our Milkman's here before the sun rises. I think he was away last week and a standin was doing his rounds - the milk was left on the front step rather than in the rack by the side door, and on several mornings ....
Around a half of my training time is spend presenting public courses - the other half goes on private courses to groups ranging in size from a handful of trainees up to (in exceptional cases) 15 or 16.
Every customer has a slightly different requirement ... so wants a slightly different agenda. O ....
An irate woman stood in front of me. "I want you to stop keeping my Darren behind and let him leave at the time that everyone else can go" she demanded.
School scene? No - this was at work, and Sharon had marched in, past the bemused receptionist and up to my desk, and Darren was her husband and n ....
* Course - Perl for Beginners.
* Tutor lead lessons - Learning to Program in PHP.
* Classes in MySQL from the ground up.
Our IT industry can be so inward-looking at times! Many training courses are really conversion courses where a programmer skilled in language P learns language Q. Such courses ....
You wouldn't choose to use a Ford Ka as your car for that holiday of a lifetime travelling across Europe, neither would you choose a Jaguar as your idea car for the school run. Yet both of them are perfectly good models of car. Indeed as a family, you might have one of each.
Apache httpd and Apac ....
Hello from Southend, where I'm giving a private course on Apache httpd and Tomcat. Last night, a cold January evening left me preferring to stick around my hotel and the attached restaurant / pub rather than traipse down to a blustery Seafront, and that gave me an opportunity to catch up on some sl ....
"There's a function to do that ..." is the oft-used answer to many questions asked of PHP, but naturally that's followed by a plea of "what's it called". If you're looking to divide a string into a series or pieces, choose from these.
explode Returns an array, elements divided at a particular sep ....