Re: problems with 'require'

2009-11-30 Thread Matt Whipple
Paweł Prędki wrote: > > I changed all the permissions and what I get now is that everything > works fine but whenever I make changes to the .pm file I need to > restart the server that is running locally for the changes to be seen > in my main script... This is not the case on the live target serve

Re: problems with 'require'

2009-11-30 Thread Matt Whipple
Paweł Prędki wrote: > > package dbredwings; For organization reasons, you should probably make the package name match the file name > > my $platform = "mysql"; > my $database = "dbplayers"; > my $host = "localhost"; > my $tablename = "players"; > my $user = "player"; >

Re: problems with 'require'

2009-11-29 Thread Mike Williams
On Sun, Nov 29, 2009 at 1:02 PM, Paweł Prędki < pawel.pre...@detroitredwings.pl> wrote: > > > I changed all the permissions and what I get now is that everything works > fine but whenever I make changes to the .pm file I need to restart the > server that is running locally for the changes to be se

Re: problems with 'require'

2009-11-29 Thread Paweł Prędki
Matt Whipple pisze: Paweł Prędki wrote: package dbredwings; For organization reasons, you should probably make the package name match the file name my $platform = "mysql"; my $database = "dbplayers"; my $host = "localhost"; my $tablename = "players"; my $user = "play

problems with 'require'

2009-11-28 Thread Paweł Prędki
Hey, I've been using simple CGI scripts to make some things on my website require less human touch and some of them require mysql database connection. I've started with only one such scripts but now there are more so I've decided to move the connection data (table name, database name, username