Using @ISA and strict

chris Blog
0

Ok, In Perl we use the following code to make a sub class of a class. @ISA = (inherited class); However if you are using strict like below, package MySubClass; use strict; @ISA = qw( MyClass ); … you will get the error Global symbol “@ISA” requires explicit package name (did you forget to declare… continue reading »

SQL INSERT With SELECT

chris Blog , ,
0

So recently I had to insert 10,000 entries into a table in a MySQL database.   I wanted to select a group of users by some criteria and then grab their username and insert the username and a code xyz.  My criteria gave me about 10,000 users out of about 230,000 users.  There are way to… continue reading »