Shlomi Fish <shlo...@shlomifish.org> writes:

> Hi Frank,
>
> On Sun, 23 Apr 2017 10:07:56 -0700
> SSC_perl <p...@surfshopcart.com> wrote:
>
>>      Is ‘vendor’ a reserved word of some type in either Perl, MySQL, or
>> DBM?  
>
> It is not a reserved word of Perl. No idea about MySQL.


,----
| mysql> create database vendor;
| Query OK, 1 row affected (0.00 sec)
| 
| mysql> drop database vendor;
| Query OK, 0 rows affected (0.00 sec)
| 
| mysql> 
`----


So far, I've only had trouble starting identifiers with an at sign,
which mysql uses to mark variables.


,----
| mysql> create database `@vendor`;
| Query OK, 1 row affected (0.00 sec)
| 
| mysql> drop database `@vendor`;
| Query OK, 0 rows affected (0.00 sec)
| 
| mysql> 
`----


Nonetheless, don't do stupid things like this.


>> I tried to add a ‘vendor’ field to SurfShop but it didn’t work.  I

"Didn't work" is an error ;)

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to