EmbperlObject: offline Windows usage

2000-11-23 Thread Freddy Vulto
When trying to use Embperl 1.3b7 offline with DjGpp on Windows 98 I ran into some problems, mainly because the directory comparison was done case sensitive, while the Windows filesystem is case tolerant, and because EmbperlObject doesn't take into account the volume/drive part of a filename. Also,

@INC and Modules

2000-11-23 Thread Antti Linno
Apache 1.3.11 mod_perl/1.21 HTML::Embperl 1.3b2 I ran into strange trouble today. Program/script modules in two different location, but with identical names e.g. MyDBI.pm . Scripts always start with BEGIN {unshift @INC,"location"}; . Now when the scripts run, @INC is ignored every fifth time, and

[$ var $] and req_rec

2000-11-23 Thread Michael Stevens
Hi. I'm having problems using [$ var $] and $req_rec together. Specifically, if I do: [$ var $foo $] [- $req_rec; -] embperl isn't happy, and wants me to declare $req_rec with [$var$] too. But it doesn't seem to do this for other members of the class of 'predefined variables' such

Re: Re: Re: about UPDATE table

2000-11-23 Thread Gerhard Egger
> $ki="UPDATE table1 SET name= 'ok5' where id=4 " !! Is there a semicolon after "where id=4 ""?? # well, i´m using Linux & mySQL, # i don´t have any idea about using disconnect on M$-SQL # (but it will propably work the same (??)) regards (gerhard); --

Re: Re: about UPDATE table

2000-11-23 Thread lyf
i have try it .but server error also? i have cut the select out .left this: my system is :winnt+sql+perl5.6.0+apache1.3.12 #!perl5.6.0.exe print "Content-type:text/html\n\n"; $table="table1"; use DBI ; $DSN = 'driver={SQL Server};Server=172.16.166.49;database=myweb;uid=sa;pwd=sa;'; $dbh = DBI->c