mapping usernames in unix/windows

2003-08-30 Thread Gupta, Sharad
Hi Friends, Any suggestions on how one can map usernames between unix/windows machines. Eg: Administrator-root Any modules/thoughts??. -Sharad -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

why doesn't this pattern work?

2003-08-30 Thread Ling F. Zhang
I have just read in an html file to a variable $htmlpg...I want to extract the CSS information from it, basically between (and including) style type=text/css and /style so I use: $htmlpg =~ /style*?\/style/ but matching would fail...how come? __ Do you Yahoo!?

Build.BL - static linking? or env setting? please?

2003-08-30 Thread Reid Beels
Is there a way to get Module::Build to build a module with static linking to required libraries? Currently, I am running Image::Imlib2 and am having to set LD_LIBRARY_PATH to /home/lwire/perllib/lib before I run anything using the module. The problem is, I haven't found a way to successfully

Insecure $ENV{PATH}

2003-08-30 Thread PANNEER SELVAN
Hi, I am running a perl program with -T -W switches.. while executing system function , i am getting an error like Insecure $ENV{PATH} while running with -T switch at try.pl Any idea of solving this problem? - D.P.S

Re: rearrange text

2003-08-30 Thread Mike
Well this is the final code I put together with everyones help from this group: #!/usr/bin/perl use warnings; use strict; print Enter the path of the INFILE to be processed:\n; chomp (my $infile = STDIN); open(INFILE, $infile) or die Can't open INFILE for input: $!; print Enter in the

Re: Managing Pictures with Perl

2003-08-30 Thread zentara
On Fri, 29 Aug 2003 18:19:23 -0300, [EMAIL PROTECTED] (Geraldo Milagre) wrote: Hi, I would like to write a program to manage my pictures colection and generate statics html pages for view the pics. I would like to use Perl to do this, as a way to learning more about the language. What

Re: Insecure $ENV{PATH}

2003-08-30 Thread Bob Showalter
PANNEER SELVAN wrote: Hi, I am running a perl program with -T -W switches.. while executing system function , i am getting an error like Insecure $ENV{PATH} while running with -T switch at try.pl Any idea of solving this problem? You need to explicilty set

Re: Testing for the existence of a file

2003-08-30 Thread Randal L. Schwartz
Kevin == Kevin Struckhoff [EMAIL PROTECTED] writes: Kevin Actually, using glob works easily enough: Kevin $file = glob $DATA_HOME/KeyLinks\*.csv; Kevin print $file; Kevin print \n; Using glob() in a scalar context like that will give you gas, and make your coding life miserable. You want this

new, exciting error message II

2003-08-30 Thread Nestor, John
Hi, Sent this MacPerl yesterday, no response yet. But from what little I've seen on this error via google, I think it's a reg exp problem, not platform specific. Any ideas? Any documentation I should check out? All help accepted gratefully. -- Hi, I've just run across an error

Re: or operator

2003-08-30 Thread zsdc
Nigel Peck - MIS Web Design wrote: In Perl can I say: if this = that or that or that instead of saying: if this = that or this = that or this = that Not yet, but good point. In Perl 6 you'll be able to write: if $x == 1|2|7 but now there's only: if $x == 1 or $x == 2 or $x == 7 Maybe

Re: why doesn't this pattern work?

2003-08-30 Thread zsdc
Ling F. Zhang wrote: I have just read in an html file to a variable $htmlpg...I want to extract the CSS information from it, basically between (and including) style type=text/css and /style so I use: $htmlpg =~ /style*?\/style/ but matching would fail...how come? It will match things like e.g.

Re: rearrange text

2003-08-30 Thread John W. Krahn
Mike wrote: Well this is the final code I put together with everyones help from this group: #!/usr/bin/perl use warnings; use strict; print Enter the path of the INFILE to be processed:\n; chomp (my $infile = STDIN); open(INFILE, $infile) or die Can't open INFILE for input:

How to use mget with Filesys::SmbClientParser module ?

2003-08-30 Thread Waxiwil zererz
Hi, Im trying to get some files using Filesys::SmbClientParser module but, I got this error when i run the script, sh: -c: line 1: unexpected EOF while looking for matching `'' sh: -c: line 2: syntax error: unexpected end of file it seems to work fine when i use get, but if i try to use mget