RE: Can't Locate Perl in Registered File Lists

2002-05-16 Thread Todd_Hemsell
How to make .pl files open in Notepad when double clicked yet maintain current icon. (Win2k OS) Open My Computer. Tools Folder Options click the File Associations tab. Select .pl Click advanced. Click New Type Edit (or foo for that matter) in the Action textbox Click Browse Find app of your

RE: Can't Locate Perl in Registered File Lists

2002-05-16 Thread Burak Gürsoy
adding a new command named NOTEPAD is better IMO -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 16, 2002 3:51 PM To: [EMAIL PROTECTED] Subject: RE: Can't Locate Perl in Registered File Lists How to make .pl files

Using qw(....) on data from database.

2002-05-16 Thread barons
I'm using. while(($nums) = $sth-fetchrow_array) { print $nums; } This will give me 01 02 03 04 I want to push this into an array. push @nums, $nums; But I want the result of @nums = qw(01 02 03 04); The same as: @nums = ('01', '02', '03', '04'); How do I get this? I have tried and I know

Re: Using qw(....) on data from database.

2002-05-16 Thread Johan Lindstrom
At 12:14 2002-05-16 -0400, [EMAIL PROTECTED] wrote: This will give me 01 02 03 04 I want to push this into an array. push @nums, $nums; If you only want numbers: push(@nums, split(/\D+/, $nums); i.e. split on one or more chars that are not numbers (\d is any number, \D is the opposite). or,

Re: Using qw(....) on data from database.

2002-05-16 Thread Johan Lindstrom
At 18:28 2002-05-16 +0200, Johan Lindstrom wrote: If you only want numbers: push(@nums, split(/\D+/, $nums); Add a ) for syntactic completeness :) /J -- --- -- -- -- -- - - - Johan LindströmSourcerer @ Boss Casinos [EMAIL PROTECTED] Latest

connecting via perl to mysql on another windows 2000 box -

2002-05-16 Thread Norris, Joseph
group, Here is the situation. I have to connect to Mysql running on another windows 2000 box. I have never done this before. Do I set this up in the tables as another host and use the -h parm in command shell and the host parm in my perl scripts? or is there another way to do it? Any help

RE: Using qw(....) on data from database.

2002-05-16 Thread Thomas_M
I think what you want is push @nums, qw($nums); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 12:15 PM To: [EMAIL PROTECTED] Subject: Using qw() on data from database. I'm using. while(($nums) =

Re: More or Pager function is Perl

2002-05-16 Thread Dirk Bremer \(NISC\)
I'm output a massive list to STDOUT but wish to break it like the MORE function in DOS. For instance I have a huge array and for each row the array I'm outputting to STDOUT. But when the output reaches the end of the page, I would like to pause it. What's the best way to do this? thanks

Creating a Timeline

2002-05-16 Thread Brian Gibson
I need to generate a Timeline on a web page dynamically. I have heard inklings about HTML::Timeline but what is the easiest way ( either with Perl or without ) that someone has experienced doing this? I can't seem to find much on this module. -- Thanks, Brian Gibson Systems Administrator

Re: Creating a Timeline

2002-05-16 Thread Mark Pryor
Hi Brian, I need to generate a Timeline on a web page dynamically. I have heard inklings about HTML::Timeline but what is the easiest way ( either with Perl or without ) that someone has experienced doing this? I can't seem to find much on this module. You might have to go to CPAN for

Re: Using qw(....) on data from database.

2002-05-16 Thread Thomas R Wyant_III
_I_ think you need @nums = split '\s+', $nums; If you do push @nums, qw{$nums}; the list ends up containing ('$nums'), because qw is _not_ double-quotish. Tom Wyant [EMAIL PROTECTED]@listserv.ActiveState.com on 05/16/2002 12:14:51 PM Sent by:[EMAIL PROTECTED] To:[EMAIL

perldoc in tk window?

2002-05-16 Thread Bob Davis
Is there a command to have perldoc command display in a text window? An option off of perldoc -tk. bob ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

OT Q: Internet Information Server mailing list

2002-05-16 Thread Moulder, Glen
Hi all, Sorry for the OT post, but google didn't turn up anything. I've got a complex perl CGI app running that works very well on our intranet, *except* that it only works correctly if the user logs in as an admin. A normal user can run the script in the browser but none of the .GIFs or

GUI and Documentation Q's

2002-05-16 Thread George Gallen
Title: GUI and Documentation Q's I'm used to PERL on unix, and am now starting to do some work on Windows. q1. How do you do GUI, if the perlcode runs in a Dos Window? q2. Recommend some sites on implements GUI with Win32 modules and documentation on it's functions? I'm currently

Re: Internet Information Server mailing list

2002-05-16 Thread Mark G. Franz
I know IIS pretty well... permissions are always an item of discussion when new apps or virtual directories get implemented. And it is really quite simple once you think about it. When IIS is installed, an IUSER_XYZ, (XYZ is the server name) account is created, this account is basically the

Re: GUI and Documentation Q's

2002-05-16 Thread Johan Lindstrom
At 16:22 2002-05-16 -0400, George Gallen wrote: q1. How do you do GUI, if the perlcode runs in a Dos Window? q2. Recommend some sites on implements GUI with Win32 modules and documentation on it's functions? A deja vurl for you: (GUI) Windows Programming FAQ

Re: connecting via perl to mysql on another windows 2000 box -

2002-05-16 Thread Ron Grabowski
Here is the situation. I have to connect to Mysql running on another windows 2000 box. I have never done this before. Do I set this up in the tables as another host and use the -h parm in command shell and the host parm in my perl scripts? or is there another way to do it? What happens

RE: OT Q: Internet Information Server mailing list

2002-05-16 Thread Allegakoen, Justin Devanandan
Glen, I had this problem, what I did was to put the image files in a share drive that everybody has access to. HTH Just in -Original Message- From: Moulder, Glen [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 4:07 AM To: perl-win32-users Subject: OT Q: Internet Information

Re: More or Pager function is Perl

2002-05-16 Thread Ron Grabowski
This is what I use in a program that mimics the Unix head command: http://www.perl.com/language/ppt/src/head/ ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: HOWTO: break up a directory path name into components ...

2002-05-16 Thread Simmons, Aaron
Title: RE: HOWTO: break up a directory path name into components ... All, I have a subroutine splitFilename that I wrote that does this for me. It's been enhanced over time to include support for UNC, but this is the meat of that subroutine that handles directory/path/filename strings:

Re: HOWTO: break up a directory path name into components ...

2002-05-16 Thread Ron Grabowski
I have a subroutine splitFilename that I wrote that does this for me. It's been enhanced over time to include support for UNC, but this is the meat of that subroutine that handles directory/path/filename strings: Not to be a wet blanket, but isn't File::Basename part of the core? I looked