Re: Binary characters in my URL

2004-07-21 Thread $Bill Luebkert
Keith C. Ivey wrote: > $Bill Luebkert <[EMAIL PROTECTED]> wrote: > > Both forms should work from an HREF. &part should not be interpreted as an HTML entity since there is no trailing ;. >>> >>> >>>Yes, but only the latter is valid HTML, see >>>http://www.w3.org/TR/html401/appendix/notes

Re: Binary characters in my URL

2004-07-21 Thread Keith C. Ivey
$Bill Luebkert <[EMAIL PROTECTED]> wrote: > >>Both forms should work from an HREF. &part should not be > >>interpreted as an HTML entity since there is no trailing ;. > > > > > > Yes, but only the latter is valid HTML, see > > http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2 > > Sorry,

VBScript using Active-X

2004-07-21 Thread h-taguchi
Title: VBScript using Active-X (B (B (B (B (B (BHello, (B (B (BI like to change this VBScript using Active-X into (B (BPerl CGI or Perlscript if required. (B (BI'm using perl for years but not know about VBScript (B (Band active-x so well... (B (BSomeone show me a changed code? (

RE: Binary characters in my URL

2004-07-21 Thread Allegakoen, Justin Devanandan
Gisle, I'm slightly confused as to what should be the correct approach with the problem I'm facing. As the original author of the module I'm indrectly using, it would be best for you to have the final say. I wrote a program to extract links from a HTML document e.g. http://etext.lib.virginia.e

Re: Binary characters in my URL

2004-07-21 Thread $Bill Luebkert
Thomas, Mark - BLS CTR wrote: >>>If the HTML document contains something like this (without line >>>breaks): >>> >>> http://etext.lib.virginia.edu/etcbin/toccer- >>> new2?id=RsvGene.sgm&images=images/modeng&data=/texts/ >>> english/modeng/parsed&tag=public&part=all"> >>> >>>then it's wrong.

Re: Backslashes and system:

2004-07-21 Thread $Bill Luebkert
Aaron.Tesch wrote: > You are using a single quote. > > 2 options. > > Use double quotes: > my $outdir = "ldn1dta1\\summitreports\\mark-it\\dev\\"; There is no difference between the above using single vs double quotes. > remove the extra back slashes: either of these should work. > my $o

CryptoAPI and perl

2004-07-21 Thread mark pryor
Hello, I'm coding a perl/DBI/MySQL tool to build a keyspace database from all the keys/containers/certs defined by the Win2k+ CryptoAPI. I'm especially interested to hear from a peer that is using Certificates in ActiveDS. Any cert that has a private key is included in the DB making it easy to se

RE: Binary characters in my URL

2004-07-21 Thread Thomas, Mark - BLS CTR
> > If the HTML document contains something like this (without line > > breaks): > > > >http://etext.lib.virginia.edu/etcbin/toccer- > >new2?id=RsvGene.sgm&images=images/modeng&data=/texts/ > >english/modeng/parsed&tag=public&part=all"> > > > > then it's wrong. It should be written as

Re: file age comparison

2004-07-21 Thread $Bill Luebkert
Miha Radej wrote: > hi! > > first off i'd like to thank you for the answers to my last question. now > here's another :) > > in a script i need to take two directory parameters, first one being the > source, second the destination of the file copying. i need to compare > the files and copy ne

Re: Binary characters in my URL

2004-07-21 Thread $Bill Luebkert
Keith C. Ivey wrote: > Sisyphus <[EMAIL PROTECTED]> wrote: > > >>From what you've told us the only problem is going to be >>with URLs that contain 'part' in them. I'd be hopeful that >>there's a simple hack to fix this (very odd) problem. > > > It sounds like the bug may be in the original doc

RE: Backslashes and system:

2004-07-21 Thread Aaron.Tesch
You are using a single quote. 2 options. Use double quotes: my $outdir = "ldn1dta1\\summitreports\\mark-it\\dev\\"; remove the extra back slashes: either of these should work. my $outdir = '\\ldn1dta1\summitreports\mark-it\dev\'; my $outdir = 'ldn1dta1\summitreports\mark-it\dev\'; I

RE: file age comparison

2004-07-21 Thread Aaron.Tesch
You could use the built in perl function stat() to get details about the file. Create time, modified time, etc you could then compare. I have included a portion of the perldoc that comes with activeperl 5.6 stat FILEHANDLE stat EXPR stat Returns a 13-element list

Backslashes and system:

2004-07-21 Thread wardp
I have a string containing a directory: my $outdir = 'ldn1dta1\\summitreports\\mark-it\\dev\\'; I then concantenate this with a command eg: my $cmd = "command ".$outdir."filename.txt"; print $cmd; Gives command \\ldn1dta1\summitreports\mark-it\dev\filename.txt As expected. When I try to e

Re: Determining user account privileges

2004-07-21 Thread Miha Radej
hi! this is what i use: use Win32; $name = Win32::LoginName; print "Name: $name\n"; Regards, Miha steve wrote: Good day. I am trying to determine what "privilege" level the user running a perl script has. In researching this, I have found that you can determine the permissions for *all* the acc