Re: ++$counter or $counter++?

2004-07-01 Thread pDale Campbell
$Bill Luebkert wrote: pDale Campbell wrote: I think I remember seeing this discussed in _The_C/C++_Uuser's_Journal_ or _Dr_Dobbs_Journal_: Use ++var unless you *need* the pre-incr value, because it's less efficient to preserve the old value "through" the increment. This is inherently true of

Re: regex issue/question...

2004-07-01 Thread Ian Boddison
- Original Message - From: "bruce" <[EMAIL PROTECTED]> > something like this... > $line =~ /(skip 3 chars)(get 5 chars)(skip 3 chars)./ Maybe I am misunderstanding the question but do you mean like: while ($input=~s/.{3}(.{5})// { $line=$1; } Cheers Bod ___

Re: regex issue/question...

2004-07-01 Thread $Bill Luebkert
bruce wrote: > i have the following sample of text... > > 02609 MTWHF 08:30A 10:45A CL2320 LG SN Delgado, > Leonel Ramon > 02646 M W 06:00P 09:30P CL2321 LG SN Saiz, Marina > 17017 M WH06:00P 09:30P CL1301 LG SN Delgado, Lui

Lanman Error: 1314

2004-07-01 Thread yop = me
Hy I need to make an App. that checks usr/psw against my domain server. I am using Lanman Module whith Win2K IIS 5.0 and Perl 5.6, but this lines always return me 1314 error code number. use Win32::Lanman; if(!Win32::Lanman::NetUserCheckPassword("mydomainserver", $usr, $psw)) { print "La c

regex issue/question...

2004-07-01 Thread bruce
i have the following sample of text... 02609 MTWHF 08:30A 10:45A CL2320 LG SN Delgado, Leonel Ramon 02646 M W 06:00P 09:30P CL2321 LG SN Saiz, Marina 17017 M WH06:00P 09:30P CL1301 LG SN Delgado, Luis Miguel 14827 MTWHF

Re: ++$counter or $counter++?

2004-07-01 Thread $Bill Luebkert
pDale Campbell wrote: > I think I remember seeing this discussed in _The_C/C++_Uuser's_Journal_ > or _Dr_Dobbs_Journal_: Use ++var unless you *need* the pre-incr value, > because it's less efficient to preserve the old value "through" the > increment. This is inherently true of any "efficient

Re: LWP Simple --> mirror URL Redirection...

2004-07-01 Thread $Bill Luebkert
Gurpreet Sachdeva wrote: > > Hi Guys, >I am using mirror function provided by the LWP:Simple Module in Perl... > > My problem is that the Url I provide to download the page, redirects to some other > Url... Though I get the page downloaded but am not able to track the corresponding >

RE: ++$counter or $counter++?

2004-07-01 Thread Gomez, Juan
I agree with them in a practice is more help this way when you try to check you own code i never use the other way -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gisle Aas Sent: Thursday, July 01, 2004 11:33 AM To: $Bill Luebkert Cc: [EMAIL PROTECTED] Sub

Re: ++$counter or $counter++?

2004-07-01 Thread Gisle Aas
"$Bill Luebkert" <[EMAIL PROTECTED]> writes: > Dominic Pain wrote: > > > 'noon, > > > > Just having a quick discussion about coding style. I say ++$counter, > > whereas another programmer says $counter++. He says that, in C, the second > > form is actually slightly quicker. > > > > Is this al

Re: open web page to IEXPLORER with getprint

2004-07-01 Thread Ian Boddison
- Original Message - From: "Adams Paul" <[EMAIL PROTECTED]> > getprint('http://www.dummies.com'); > system('C:\Program Files\Internet Explorer\IEXPLORE.EXE'); You can pass IE the URI in the command line: system('"C:\Program Files\Internet Explorer\IEXPLORE.EXE" http://www.way-finder.co.u

RE: open web page to IEXPLORER with getprint

2004-07-01 Thread Jason Brown
What's wrong with System('iexplore.exe http://www.whatever.com/') (full path omitted, and Outlook will probably capitalize parts of that) IIRC getprint just grabs the course and prints it to the console. So not exactly what you want (unless I have the wrong end of the stick?) ? -Original

RE: open web page to IEXPLORER with getprint

2004-07-01 Thread Stephens, Donald
Not sure what your intent is. If you just want to open the page in IE just call IE with the URL. my($program) = "C:\\Program Files\\Internet Explorer\\IExplore.exe"; my($arg1) = "http:www.msn.com"; system($program,$arg1); Donald Stephens -Original Message- From: Adams Paul [mailto:[

open web page to IEXPLORER with getprint

2004-07-01 Thread Adams Paul
have been trying to open a web page into internet explorer using the getprint command and then openning the file for internet explorer. The getprint command only downloads the code to the command window. I have used the following code and have used the getprint line before and after the internet

RE: outlook help

2004-07-01 Thread Grakowsky, Richard \(ETS: Communications and Network Services\)
You may want to try and see if the folks at this site can provide you with some hints: http://hangvogel.hypermart.net/pst2mail/ This product can open the PST and get the e-mail addresses, maybe they will share the file format for you to work with. If you do happen to get an answer, please post as

RE: LWP Simple --> mirror URL Redirection...

2004-07-01 Thread bruce
hi don't really use the lwp::simple function... but i imagine the redirect portion/issue should be accomplished behind the scenes if everything is setup properly. if it isn't you may have to capture the header/location/return codes to see what the server is sending, and wht should be sent back

RE: outlook help

2004-07-01 Thread Tony White
One way would be to make sure that the .PST is added to your Outlook while Outlook is running. Then use your Win32::OLE library to access Outlook and use the mailbox name for the .PST file. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Papa > Nia