Category Archives: Uncategorized

In Perl, if I use “$0

(You): In Perl, if I use “$0=’foo’;” to change my program’s process name, how can people still see the original process name? (Martin): $0 is a variable that is only pertinent to the internal perl context, the kernel will still … Continue reading

Posted in Uncategorized | Leave a comment

In MySQL, what’s the easiest way to strip the leading ‘N’ from a field. In other words, “UPDATE tabname SET field

(You): In MySQL, what’s the easiest way to strip the leading ‘N’ from a field. In other words, “UPDATE tabname SET field=[something] WHERE field LIKE ‘N%’;” (Neil): You can use SUBSTRING to trim the matching fields… http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_substring-index ———————- (Erik): use … Continue reading

Posted in Uncategorized | Leave a comment

What programming languages still support the LET keyword? As in “LET x

(You): What programming languages still support the LET keyword? As in “LET x = 7″ (Patrick): In most variants of BASIC, LET is legal syntax, but it is unnecessary for an assignment statement. (You): I know, that’s why I was … Continue reading

Posted in Uncategorized | Leave a comment