RE: configure perlscript

2003-12-18 Thread Burak Grsoy
: Thursday, December 18, 2003 12:36 AM To: Burak Grsoy Cc: Perl-Win32-Users Subject: Re: configure perlscript Burak Grsoy wrote: I've installed activeperl (a long time ago) on win98 and now I'm using windows 2000 for a while, but I'm also using perl that I've installed on win98, because of this, I

RE: OOP and variables!

2003-10-31 Thread Burak Grsoy
because you are trying to call a subroutine inside a string... there is a trick to do this, but I find it unnecessary. you can use printf() printf new Obj-Phone is %s ,$Obj-phone; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent:

OpenGL

2003-10-28 Thread Burak Grsoy
is it possible to use the OpenGL module on windows? http://search.cpan.org/~ilyaz/OpenGL/ ... and; are there any binaries somewhere? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

sub() or eval() ?

2003-10-08 Thread Burak Grsoy
Which one is better (equal?)? why? %some_hash = ( blah = sub { bleh() }, foo = sub { $bar - $baz / 100 }, . . . ); $some_hash{foo}-(); [or] %some_hash = ( blah = 'bleh()', foo = '$bar - $baz / 100', . . . ); eval { $some_hash{foo} }; Well... I'm curious about sub()...

parse search string?

2003-09-02 Thread Burak Grsoy
I've searched cpan but only found some APIs to several search engines... I want to parse search string and split parameters. like user can put a plus sign for wanted words and minus for not-wanted or put single or double quotes or some other weird thing etc... if such a module exists I'd like to

'generic' member management?

2003-07-25 Thread Burak Grsoy
Is there a perl module or anything in any language like this? I mean, we only pass some parameters like where the data is and define some required data like username and password areas and it will return a member object to use? it can be a cgi or anything... I'm just curious :)

[Win32::GUI] How can I add links to a Richedit?

2003-03-31 Thread Burak Grsoy
I want to add html-like clickable hyperlinks inside a richedit. How can I do this with Win32::GUI? ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: Win32::GUI - How can I add links to a Richedit control?

2003-03-31 Thread Burak Grsoy
Sorry for sending this one two times... There was an error in the mail server last weekend I think... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Burak Grsoy Sent: Sunday, March 30, 2003 8:23 PM To: Perl-Win32-Users Subject: Win32::GUI - How can I

RE: Win32 Icon (resource) extraction from exe/dll

2003-03-14 Thread Burak Grsoy
If there is a perl way to extract icons and such things from a file, I'd also like to know it... Not any commercial progs please... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gregory, Carlton Sent: Friday, March 14, 2003 4:37 PM To: [EMAIL

RE: Tk question

2003-02-16 Thread Burak Grsoy
I found that packForget() is doing (nearly) what I want :) But instead of updating the area, it deletes the hlist part... -Original Message- From: Burak Gürsoy [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 15, 2003 3:28 PM To: Tillman, James; Perl-Win32-Users Subject: RE: Tk

Scroll mouse in a Tk window?

2003-02-16 Thread Burak Grsoy
Maybe a silly question but, can we use the wheels of a scroll mouse in a Tk window? I couldn't find a way to do this... ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Tk icon - transparent?

2003-02-16 Thread Burak Grsoy
I archive some old messages, and used the code that Chris Anderson posted last year to replace the Tk icon with an image I've defined. I've realised that Tk accepts base64 encoded image codes, instead of a raw image data, so I've changed the code a little: if (my $image = image('logo.gif')) {

RE: Tk question

2003-02-15 Thread Burak Grsoy
Thank you :) pack() did it. The code I'm referring is, in the User Contributed Demonstrations section of widget It's name is HList and ItemStyle, multicolumn listbox with individual cell styles I'm just writing this for a search program for my mp3 archive. It was (and is) a console program, but

bless question

2003-01-11 Thread Burak Grsoy
Can anyone explain this? is this a bug or feature? #!/usr/bin/perl -w use strict; package Test::One; sub new { my $class = shift; my $self = {}; bless $self, $class; return $self; } package Test::Two; sub new { my $class = shift; my $test_it = shift; my $self=

RE: IP Address

2003-01-10 Thread Burak Grsoy
hmm... ok :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Carl Jolley Sent: Friday, January 10, 2003 10:00 PM To: Burak Grsoy Cc: [EMAIL PROTECTED] Subject: RE: IP Address On Fri, 10 Jan 2003, [iso-8859-9] Burak Grsoy wrote: why

RE: Find and stop and first instance of (A,B,C,...)

2003-01-03 Thread Burak Grsoy
my($ca,$b); while (($data) = $sth-fetchrow_array) { if($data =~ /^A$/i) { print a name=\A\/a unless $ca; $ca = 1; } if($data =~ /^B$/i) { print a name=\B\/a unless $cb; $cb = 1; } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Pattern match file extenstions

2002-11-08 Thread Burak Grsoy
if(/\.(exe|bat)$/i) { # i: ignore case # do something } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of steve silvers Sent: Friday, November 08, 2002 2:56 AM To: [EMAIL PROTECTED] Subject: Pattern match file extenstions Im trying to match on both .bat

RE: File::Recurse Question

2002-11-08 Thread Burak Grsoy
$_ = 'c://WINDOWS/system32/winver.exe'; my @tmp = split /\//; print pop @tmp; #or print $tmp[-1]; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of steve silvers Sent: Friday, November 08, 2002 3:58 PM To: [EMAIL PROTECTED] Subject: File::Recurse Question

RE: ole? notepad?

2002-05-28 Thread Burak Grsoy
To: Burak Grsoy; ActivePerl Subject: Re: ole? notepad? how can i launch notepad and print something in it? You can print with Notepad from a shell command line using the following: prompt notepad /p filename.txt There's several ways (as one would expect from Perl) to launch that command line