tag:blogger.com,1999:blog-1158653486009791669.post51380888801244202..comments2023-09-05T04:17:36.326-07:00Comments on Vampire Software Development: Perl Course help!Anonymoushttp://www.blogger.com/profile/05926250964970803769noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-1158653486009791669.post-63754333735706396452013-07-16T02:44:50.047-07:002013-07-16T02:44:50.047-07:00Delphi Development OTS Solutions : ISO 9001 & ...<a href="http://www.otssolutions.com/delphi-software-development.html" rel="nofollow">Delphi Development</a> OTS Solutions : ISO 9001 & Microsoft Certified Software Outsourcing & Development service provider company offering software Application development , IT outsourcing services to its clients across the globe.Anonymoushttps://www.blogger.com/profile/12608276406063278424noreply@blogger.comtag:blogger.com,1999:blog-1158653486009791669.post-50241600066926131552011-07-12T06:41:41.597-07:002011-07-12T06:41:41.597-07:00Very interesting review. Thank you for sharing wit...Very interesting review. Thank you for sharing with helpful info. It is simple to find <a href="http://homeownersinsurancem.com" rel="nofollow">cheap homeowners insurance quotes</a> online from top home insurance companies by zip code.Joshua Smithhttps://www.blogger.com/profile/09956978234577871712noreply@blogger.comtag:blogger.com,1999:blog-1158653486009791669.post-31304626904750811872011-02-09T01:04:17.339-08:002011-02-09T01:04:17.339-08:00Thanks for your responses.
I hadn't realised ...Thanks for your responses.<br /><br />I hadn't realised (although I probably should have had an inkling with DBI) that it was being used under the hood of (probably) many modules (but I suppose that the sign of a good API - I don't need to know)<br /><br />I think I shall leave out the '0 but true' concept in this course. The students I am expecting will probably find four days of any language daunting to start with, and an extra concept like this will be too much. However, I will ensure they know the 5 false values.Anonymoushttps://www.blogger.com/profile/05926250964970803769noreply@blogger.comtag:blogger.com,1999:blog-1158653486009791669.post-85342618578839378212011-02-08T05:00:09.646-08:002011-02-08T05:00:09.646-08:00The main point of "0 but true" is that i...The main point of "0 but true" is that it is numerically zero, yet boolean true.<br /><br />DBI uses this, for example, when returning the number of rows affected by a transaction. If a real error happens it returns false. To distinguish the case where no error happened, but no rows happened to match (e.g. because of a WHERE clause), the value "0 but true" is returned.<br /><br />my $rows = $dbh->....<br /><br />if( $rows ) {<br /> printf "Affected %d rows\n", $rows;<br />}<br />else {<br /> printf STDERR "An error occurred - %s\n", $dbh->errstr;<br />}LeoNerdhttps://www.blogger.com/profile/06161372680495361467noreply@blogger.comtag:blogger.com,1999:blog-1158653486009791669.post-29851452909077890132011-02-07T12:45:24.255-08:002011-02-07T12:45:24.255-08:00There are a lot of things that people using Perl f...There are a lot of things that people using Perl for many years have never seen. In some cases, they just haven't used enough Perl.<br /><br />There are five values that are false - the number 0, the string '0', the empty list, the empty string, and undef. The undef really turns into one of the other values. Everything else is true. That's the concept to teach people.<br /><br />To get a '0 but true', it depends on what you are doing with it. That literal string, '0 but true', turns into the number 0 but is still true because it isn't one of those five values. It's the same with the string '00', or the string '0E'.brian d foyhttps://www.blogger.com/profile/18193842316187266664noreply@blogger.com