connecting perl to windows db

2002-01-21 Thread louie miranda
$dbh = DBI->connect("dbi:mysql:world", "username", "mypassword", { RaiseError => 1 } ); Hi, does connecting perl to a windows db differ from what? like mysql it will connect using that example on top, sample only. k? thanks, louie... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

What's this error?

2002-01-14 Thread louie miranda
Hi, i was hoping for some assistance. Could some one tell me what does this error means? ### Global symbol "$root" requires explicit package name at /usr/perl5/5.00503/i86pc-solaris/CS/Config.pm line 44. Compilation failed in require at /usr/sbin/checkservice line 23. BEGIN failed--compilation ab

appending to a file a 'match' string, PLS HELP!.

2001-12-04 Thread louie miranda
open(INFO, $file); @lines = ; close(INFO); for ($a = 0; $a < $#lines; $a++) { if ($lines[$a] =~ /Nov 4/) { print "$lines[$a]"; print "$lines[$a] >> $append"; } else { Hi, how do you do, that when the perl m

parsing exact date/line on a certain file.

2001-11-30 Thread louie miranda
Hi, im really clueless.. #!/usr/bin/perl $logfile = '/etc/services'; $date = 'date'; open(INFO, $logfile); @lines = ; close(INFO); print @lines; All i have is this line of code.. what i want to make is, ex: the perl script will parse a file and match the cur date. how can i do that? any h

Re: Off-Topic (200%) - Where are you from?

2001-11-15 Thread louie miranda
philippines here :) louie miranda (axishift.ath.cx) -- Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) - Original Message - From: "nafiseh saberi" <[EMAIL PROTECTED]> To: "Gustavo Ja

Re: Unix time

2001-09-27 Thread louie miranda
yeah try that it will work :) #!/usr/bin/perl $unixtime = localtime(); print $unixtime; louie miranda (axishift.ath.cx) -- Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) - Original Message - From: "D