Re: Slurping a Text file

2003-01-14 Thread Vitaliy Babiy
my %var = ('FirstName'=>'John Doe', 'time' => '12:12:56', 'date' => '2002-12-12'); $line =~ s{<([^>]+)>} { exists( $var{$1} ) ? $var{$1} : "" }gsex; "Colin Johnstone" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: uploading and downloading files to MySQL

2003-01-09 Thread Vitaliy Babiy
I don't think it's good idea to store files in DB. Especially big files like music... The common way is to store path_to_files in DB "Mariusz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I found some info on how to upload files into a directory on the

Re: check file existence

2003-01-09 Thread Vitaliy Babiy
Try this unless (-f $a) { $notAvialible = 1 } = "Alex Cheung Tin Ka" <[EMAIL PROTECTED]> wrote in message 021501c2b791$0c935bc0$[EMAIL PROTECTED]">news:021501c2b791$0c935bc0$[EMAIL PROTECTED]... Dear All, I have a problem on using CGI to ch

Re: How to create DBI connection on unix to MS SQL server ?

2002-08-02 Thread Vitaliy Babiy
"Learn Perl" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi guys, > > just wondering how to establish a DBI connection from a unix machine to a > WINNT machine running MS SQL server? do I have to specify an OBDC? I think you can do it as usually. For exam