How do I make private functions in a Perl module?

From perldoc perltoot (about a quarter way through the document): Perl doesn’t impose restrictions on who gets to use which methods. The public-versus-private distinction is by convention, not syntax. (Well, unless you use the Alias module described below in “Data Members as Variables”.) Occasionally you’ll see method names beginning or ending with an underscore or … Read more

What is //= in Perl?

The //= operator is the assignment operator version of the // or ‘logical defined-or’ operator. In the context of a my variable declaration, the variable is initially undefined so it is equivalent to assignment (and would be better written as my $i = ’08’;). In general, though, $i //= ’08’; is a shorthand for: $i … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)