Fw: printing elements of an array

2003-08-28 Thread Joshua Lokken
- Original Message - From: Jolok [EMAIL PROTECTED] Newsgroups: perl.beginners Sent: Thursday, August 28, 2003 11:24 AM Subject: printing elements of an array Hello This should be very straightforward: print Enter 5 of your favorite foods: ; $favorites = ( STDIN );

FW: While loop on a file handle

2003-08-14 Thread Morrison, Trevor (Trevor)
Hi Rob, Thanks for taking the time to look at my code. We'll I should have included the entire source but did not want to burn up people's bandwidth. Yes, I do have strict and warnings in my code. I run the SctiTE IDE for my development work on a windows 2000 box ( I am a RH man though!).

Fw: Can Perl dealing with PID ?

2003-08-07 Thread Li Ngok Lam
Is there any module in Perl can dealing with Procession ID on Win32? And does Perll able to stop or start a services / application? Any pointers where I can start from ? Thank you very much...

FW: search and count

2003-07-16 Thread bseel
I am a beginner to Perl. Well, I have a scenario like this. I have a pattern like VIOLATE in the file. So, I want to use the perl to search that pattern and see how many times it found such pattern. [Trimmed]. I am a beginner too but try this: my $count while my $filevar (file) { while

FW: print!?!

2003-07-09 Thread Charles Scheepers
Dan Here is the excerpt of my program that does not print to the terminal window when run on UNIX: elsif ( $tmpar[0] == 99 ) { print Number of records in the input file:\t\t$reccnt\n; print Number of corrupt records in file:\t\t$ctcnt\n; print Number of zero second

Fw: Better way to upload??

2003-07-08 Thread Ramon Chavez
You are right Dan ;-) The 'Other way' desn't really handle te size. I'm sorry for that. What I was really thinking is that you can have a control of what amount of data is being uploaded just counting the loops (1 Kb for every loop). -rm- - Original Message - From: Dan Muey

FW: help

2003-07-01 Thread Vema Venkata
-Original Message- From: Vema Venkata Sent: Tuesday, 1 July 2003 2:06 PM To: '[EMAIL PROTECTED]'; 'Sudarshan Raghavan' Subject: help For the following script can any one help me to create a log file wud be appreciated help asap rgds venkat

FW: Converting/executing a PERL script in binaries

2003-06-29 Thread Leaw, Chern Jian
Hi My apologies for resending this e-mail so many times. I noticed that some of the attachements could not be viewed. Attached are the files containing the wrapper C code and also its output. My apologies for the confusion caused. The warning message which puzzles me most is The flags you gave

FW: Re : Compilation Errors

2003-06-26 Thread Derek Byrne
Just a note - running win2k and perl v5.8.0 (built for MSWin32-x86-multi-thread). -Original Message- From: Derek Byrne Sent: 27 June 2003 00:13 To: [EMAIL PROTECTED] Subject: Re : Compilation Errors Hi All, Reading through Learning Perl (3rd Ed), and messing around with Binary

Fw: Where is @INC saved and other installation issues

2003-06-05 Thread Michael Muratet
Begin forwarded message: Date: Wed, 4 Jun 2003 11:20:44 -0500 From: Michael Muratet [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Where is @INC saved and other installation issues How do I get things _really_ clean? Where does @INC live? I'd like to start over, keep the RedHat

Fw: question about perl.

2003-03-27 Thread Dennis Stout
Sorry, for some reason I'm blocked from emailing RoadRunner accounts, by Roadrunner. Here is a forward of an email I jsut sent you personally but bounced. It's Perl CGI related, so it's not offtopic for hte list ... but oculd be an annoyance for some, possibly. Dennis Stout S.T.O.U.T. =

Fw: question about perl.

2003-03-27 Thread Dennis Stout
] To: [EMAIL PROTECTED] Sent: Thursday, March 27, 2003 13 32 Subject: Fw: question about perl. Sorry, for some reason I'm blocked from emailing RoadRunner accounts, by Roadrunner. Here is a forward of an email I jsut sent you personally but bounced. It's Perl CGI related, so it's

Fw: Help using %Hashes

2003-03-25 Thread Horace Franklin Jr.
Thanks! - Original Message - From: Jordan Mclain [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:31 PM Subject: RE: Help using %Hashes you could do this after you initiate the hash. foreach(sort keys %params) { $params{$_} = $cgi-param($_); }

Fw: Perl/TK problem with sub routines

2003-03-25 Thread Jason Archer
- Original Message - From: Jason Archer [EMAIL PROTECTED] To: Zielfelder, Robert [EMAIL PROTECTED] Cc: Perl Beginners [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:56 PM Subject: Re: Perl/TK problem with sub routines My guess would be (I am a noob also, with no experience of Tk

FW: OLDB - ODBC

2003-03-24 Thread NYIMI Jose (BMB)
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:58 PM To: [EMAIL PROTECTED] Subject: OLDB - ODBC Does this belong in the DBI list? Sorry if the answer is yes. * Hi, We have a problem. We run Perl for Window NT. We

Re: FW: OLDB - ODBC

2003-03-24 Thread Michael A Chase
On Mon, 24 Mar 2003 17:12:39 +0100 NYIMI Jose (BMB) [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, March 24, 2003 4:58 PM To: [EMAIL PROTECTED] Subject: OLDB - ODBC Does this belong in the DBI list? Sorry if the

Fw: calculating length of a number

2003-03-21 Thread Gufranul Haque
- Original Message - From: Gufranul Haque [EMAIL PROTECTED] To: David Olbersen [EMAIL PROTECTED] Sent: Friday, March 21, 2003 3:12 PM Subject: Re: calculating length of a number Hello all, I have a series of numbers 20.45,-2.00,45.450,-30.390 20.45 - length is 5 -2.00 -

Fw: Hash/Associtative Array

2003-03-20 Thread Horace Franklin Jr.
I am writing a CGI Script like the guestbook.cgi script. I wantfollowing actions to occur: a.Menu item calls my script (cgi). b. Script displays a menu with four items on it. c.Menu items callsform (sub routine) i.e., sub entry_form { my $q = shift; my $url = ""> my $form = E_FORM;

FW: Trouble running perl scripts.

2003-03-18 Thread Johnstone, Colin
Gidday All, Further to my previous email If I change the permissions to 555 it works, but if I set it to 777 it doesn't could this be a safeguard that is built into the server? Any help appreciated. Colin -Original Message- From: Johnstone, Colin Sent: Wednesday, March 19, 2003 14:34

Fw: I Wanna Get Weighed

2003-03-13 Thread Mr. Horace Franklin Jr.
Clear DayI Wanna Get Weighed John took his blind date to the carnival. What would you like to do first, Kim? asked the man. I want to get weighed, said the girl. They ambled over to the weight guesser. He guessed 120 pounds. She got on the scale; it read 117 and she won a prize.

Fw: CG I Script [guestbook.cgi]

2003-03-10 Thread Mr. Horace Franklin Jr.
Rob/Joseph, It worked, thanks. Horace - Original Message - From: R. Joseph Newton [EMAIL PROTECTED] To: Rob Dixon [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Sunday, March 09, 2003 7:51 PM Subject: Re: CG I Script [guestbook.cgi] Rob Dixon wrote: Mr. Horace Franklin Jr.

Fw: CG I Script [guestbook.cgi]

2003-03-10 Thread Mr. Horace Franklin Jr.
NO MORE ERRORS!!! The script guestbook.cgi is working! My heartfelt thank to everyone that assisted me. - Original Message - From: Mr. Horace Franklin Jr. [EMAIL PROTECTED] To: R. Joseph Newton [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, March 10,

FW: Perl/CGI with FRAMES

2003-03-03 Thread Maureen E Fischer
Thanks and thanks to Drieux and Zentra for Your generous suggestions. After looking things over I have decided to try frames, last, after I complete the Remaining changes requested on my new system. My Hesitation is that I wrote the system without this in Mind. The menu program calls

Re: FW: Perl/CGI with FRAMES

2003-03-03 Thread drieux
On Monday, Mar 3, 2003, at 09:38 US/Pacific, Maureen E Fischer wrote: [..] My Hesitation is that I wrote the system without this in Mind. [..] I was afraid you would notice that. the two crucial places you will need to think your way through the frame problem is a. a href= target=foo

Re: FW: Perl/CGI with FRAMES

2003-03-03 Thread Fred T. Sanders
- Original Message - From: Fred T. Sanders [EMAIL PROTECTED] To: drieux [EMAIL PROTECTED] Sent: Monday, March 03, 2003 9:20 PM Subject: Re: FW: Perl/CGI with FRAMES I haven't read through the whole thread but has anyone suggested just using the base tag to set a global target for all

FW: Win32::Process question

2003-02-25 Thread Peter_Farrar
but how can I tell when all three are finished? If I use $obj1-Wait(INFINITE); $obj2-Wait(INFINITE); $obj3-Wait(INFINITE); what happens if $obj2 finishes before $obj1? looks like this works fine... PHF -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

FW: Focing a page break using format statements

2003-02-13 Thread Maureen E Fischer
I am having a problem knowing how to force a top of page. I was using format statements for my report by I can change it to printf if there is a way. My report is for various clients and I want to run the job once for all the clients but go to top of page and start the page numbers over at

FW: Help with input streams

2003-02-01 Thread Jason Wozniak
Well as a followup to my own email.. This works where the while loop does not, so at least now I've found a way to pipe the output of the unix find command into my program :) I'm still not sure I understand why though... chomp(@files = ); I had also tried: while () { @files = $_; }

FW: Perl OO - Dynamic method call

2003-01-30 Thread NYIMI Jose (BMB)
Below, an input I have got from dbi-users forum. José. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 5:39 PM To: NYIMI Jose (BMB); [EMAIL PROTECTED] Subject: RE: Perl OO - Dynamic method call IMHO: This is not bad design, is

FW: Removing HTML Tags

2003-01-22 Thread Toby Stuart
small modification below. -Original Message- From: Toby Stuart [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 12:56 PM To: 'Johnstone, Colin' Cc: '[EMAIL PROTECTED]' Subject: RE: Removing HTML Tags -Original Message- From: Johnstone, Colin

Re: FW: Removing HTML Tags

2003-01-22 Thread simran
On Thu, 2003-01-23 at 13:12, Toby Stuart wrote: small modification below. -Original Message- From: Toby Stuart [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 12:56 PM To: 'Johnstone, Colin' Cc: '[EMAIL PROTECTED]' Subject: RE: Removing HTML Tags

RE: FW: Removing HTML Tags

2003-01-22 Thread Toby Stuart
-Original Message- From: Johnstone, Colin [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 12:29 PM To: '[EMAIL PROTECTED]' Subject: Removing HTML Tags Gidday all, When using our CMS (Interwoven Teamsite) I want to remove from

RE: FW: Removing HTML Tags

2003-01-22 Thread Johnstone, Colin
Thank you all for your help. -Original Message- From: Toby Stuart [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 13:44 To: 'simran' Cc: '[EMAIL PROTECTED]' Subject: RE: FW: Removing HTML Tags -Original Message- From: Johnstone, Colin [mailto:[EMAIL

FW: naming a variable as a numeric value

2003-01-20 Thread Ed Sickafus
Thanks for the clarification. I was misunderstanding how a HoH works. Ed -Original Message- From: Ed Sickafus [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 19, 2003 5:18 PM To: [EMAIL PROTECTED] Subject: naming a variable as a numeric value I asked in a previous query ... Is

Fw: pid

2003-01-19 Thread Jacques Lederer
- Original Message - From: Jacques Lederer [EMAIL PROTECTED] To: Paul Johnson [EMAIL PROTECTED] Sent: Sunday, January 19, 2003 8:32 PM Subject: Re: pid OK. Thanks very much, the eval thing does work. I have another one now, on another subject. On a linux box, I am trying to get a

FW: perl vs tcl?

2003-01-13 Thread Timothy Johnson
-Original Message- From: Sean Rowe [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 9:15 AM To: Timothy Johnson Subject: Re: perl vs tcl? No gui programming. I think it's used more for logic than anything else. Not really for string manipulation. It's hard to explain

FW: Cgi Win xp Perl

2003-01-07 Thread Paul Kraus
I am running on a windows xp pro desktop with iis installed. I have active state Perl installed and have been using it with out a problem. I just started to play with cgi and I am having a lot of problems getting it to work right. I have a static html form that's action calls the following script.

Fw: Selecting a Static HTML page

2003-01-06 Thread LRMK
Use this codethis is better than previouse one it does not change actionthis one directly change Window locationHere is code--htmlheadtitleNew Page 1/title/headscript language="_javascript_"!--function doit(){urls=new

Re: Fw: HTTP Requests

2002-12-28 Thread Wiggins d'Anconia
Interesting discussion, I was just trying, in a somewhat more civil manner than RTFM, to merely point out that the original poster hadn't done his/her homework and used the help of looking in the docs that had already been offered. :-) http://danconia.org R. Joseph Newton wrote: HI Randal,

FW: Simple Question

2002-12-27 Thread Dan Muey
Are you talking about a form where you type in say '10' in fieed one and '15 in field two and the actual html page changes to say '25' as soon as you type them in without hitting submit? If so, yes you'll need javascript, and getting it to work is a javascript issue. As far as javascript goes

Re: Fw: HTTP Requests

2002-12-26 Thread R. Joseph Newton
HI Randal, Although not in the Perl culture, I have indeed seen a great deal of cargo cult thinking in my years, and I fully agree that such consciousness is a Very Bad Thing. On a quick skim of lwpcook, I would also tend to agree that this is a good source of first reference to those

Re: Fw: HTTP Requests

2002-12-24 Thread Randal L. Schwartz
R == R Joseph Newton [EMAIL PROTECTED] writes: R Hi Randal, R I must take issue with you here. And therefore, you misunderstood my purpose. You have not *seen* the amount of cargo-cult c**p that I've seen in advising people about Perl over 13 years. Maybe it's interesting to know how it works

Re: Fw: HTTP Requests

2002-12-23 Thread R. Joseph Newton
Hi Randal, I must take issue with you here. Whatever the convenience of such utilities in a production environment, there is a definite advantage to the learning process in hand-coding. I learned something just from reading the example--that there was a specific MIME for httP posts.

Re: Fw: HTTP Requests

2002-12-22 Thread Randal L. Schwartz
Rob == Rob Dixon [EMAIL PROTECTED] writes: Rob It's not appropriate to correct anything but misleading advice. It's misleading to handcode application/x-www-form-urlencoded values when more proper higher-level functions are available, such as HTTP::Request::Common. I thought the URL was

Fw: HTTP Requests

2002-12-21 Thread LRMK
What I want is when a visitor came and post something to my cgi script that script must post some of that information to another cgi script on another web server get the results and send back to the visitor how do I do that? - Original Message - From: Wiggins d'Anconia [EMAIL PROTECTED]

Re: Fw: HTTP Requests

2002-12-21 Thread Wiggins d'Anconia
Right. And that is what the LWP module is for. From the docs on the first URL I posted earlier: snippet An Example This example shows how the user agent, a request and a response are represented in actual perl code: # Create a user agent object use LWP::UserAgent; $ua =

Re: Fw: HTTP Requests

2002-12-21 Thread Randal L. Schwartz
Wiggins == Wiggins D'Anconia [EMAIL PROTECTED] writes: Wiggins Right. And that is what the LWP module is for. From the docs on the Wiggins first URL I posted earlier: Wiggins# Create a request Wigginsmy $req = HTTP::Request-new(POST = Wiggins 'http://www.perl.com/cgi-bin/BugGlimpse');

Re: Fw: HTTP Requests

2002-12-21 Thread Rob Dixon
Randal There's nothing wrong with Wiggins' advice. Take a look at the first URL [he] posted earlier and you'll find nothing about the HTTP::Request::Common module at all. In fact I can't find anywhere it tells you not to use the constructor directly - the nearest I've come across is in the POD

Re: Fw: HTTP Requests

2002-12-21 Thread Wiggins d'Anconia
Randal L. Schwartz wrote: Wiggins == Wiggins D'Anconia [EMAIL PROTECTED] writes: Wiggins Right. And that is what the LWP module is for. From the docs on the Wiggins first URL I posted earlier: Wiggins# Create a request Wigginsmy $req = HTTP::Request-new(POST = Wiggins

FW: remote hard drive stat

2002-12-17 Thread Thomas Browner
How do I go about installing the Win32-DriveInfo in perl under windows since there are no ppm packages? Thomas Browner Digidyne, Inc Technical Engineer (251)479-1637 -Original Message- From: Nigel Peck - MIS Web Design [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 3:42 PM

FW: remote hard drive stat

2002-12-17 Thread Thomas Browner
:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 5:17 PM To: [EMAIL PROTECTED] Subject: FW: remote hard drive stat How do I go about installing the Win32-DriveInfo in perl under windows since there are no ppm packages? Thomas Browner Digidyne, Inc Technical Engineer (251)479-1637

Re: FW: Preserving funny characters in email addresses

2002-12-13 Thread R. Joseph Newton
perldoc -f pack [used in almost any standard header-parsing routine] Joseph Johnstone, Colin wrote: Toby, anyone, My next question is I guess I need to know now why this happens? So that I can anticipate it and code for it in the future. e.g sorcha.o'[EMAIL PROTECTED] So why does it

FW: Preserving funny characters in email addresses

2002-12-11 Thread Johnstone, Colin
Toby, anyone, My next question is I guess I need to know now why this happens? So that I can anticipate it and code for it in the future. e.g sorcha.o'[EMAIL PROTECTED] So why does it convert it to [EMAIL PROTECTED] when it writes it out to the text file. What is best practice can I stop

FW: Help with my script please.

2002-12-04 Thread Paul Kraus
I just finished the learning Perl book and thought I would try and rewrite a bash script that I had written long ago. The purpose of the app is to mount a samba folder on a winx machine. Copy its contents to a local folder as a mirror. I just wanted some input on my app and some things explained

FW: Regex help!!

2002-12-01 Thread Johnstone, Colin
Further to my previous message. after fixing the ~= I get the following. I know $screenOutput has a value because I see the html contained in the file Im reading on the screen its just not doing the substitution. please advise. Colin -Original Message- From: Johnstone, Colin Sent:

Re: Fw: Congratulations List Members!

2002-11-07 Thread Wiggins d'Anconia
behold the power of open source.. http://danconia.org Fred A. Romani wrote: - Original Message - From: Fred A. Romani Sent: Thursday, November 07, 2002 1:22 PM To: [EMAIL PROTECTED] Subject: Congratulations List Members! My background is Math, Sciences and Engineering. I like

FW: Installation

2002-10-28 Thread Beau E. Cox
-Original Message- From: Beau E. Cox [mailto:beau;beaucox.com] Sent: Monday, October 28, 2002 2:27 AM To: Ruessel, Jan Subject: RE: Installation Wow - OK 1) Look at the perl module CGI (perl has add-on modules that are contributed by people like you and me - they are located in

FW: Single Quote marks in a string

2002-10-18 Thread Toby Stuart
see correction below -Original Message- From: Toby Stuart Sent: Friday, October 18, 2002 11:31 AM To: 'Andrew Hubbard' Cc: '[EMAIL PROTECTED]' Subject: RE: Single Quote marks in a string been a long time since i done any SQL but i *think* you have to quote single-quotes

Re: FW: Regex Help - removing HTML tags/script

2002-10-17 Thread Jenda Krynicky
From: Jon Shoberg [EMAIL PROTECTED] I need to remove HTML scripts from some pages. I have to replace *script**/*script* with blanks. This includes all javascript/vbscript in between the tags I'm using the * as guidelines to show it must match several

FW: replacing numbers around a decimal

2002-10-16 Thread Hughes, Andrew
Never mind. I figured it out using substr(). Thanks, Andrew -Original Message- From: Hughes, Andrew Sent: Wednesday, October 16, 2002 4:04 PM To: [EMAIL PROTECTED] Subject: replacing numbers around a decimal I am creating a little calculator that is going to need to take a user

FW: summing totals by date

2002-10-10 Thread Toby Stuart
If i understand what u want, the following works (i'll leave the printing to another file up to you) snip use strict; use warnings; my %totals; my $date; my $count; while (DATA) { chomp($_); ($date,$count) = split(/,/,$_); $totals{$date} += $count; } while

(forw) [bootscat@bellsouth.net: Re: FW: Need urgent help]

2002-10-09 Thread Mat Harris
- Forwarded message from Bootscat [EMAIL PROTECTED] - From: Bootscat [EMAIL PROTECTED] To: Mat Harris [EMAIL PROTECTED] Subject: Re: FW: Need urgent help Date: Tue, 8 Oct 2002 20:04:38 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600. X

Re: (forw) [bootscat@bellsouth.net: Re: FW: Need urgent help]

2002-10-09 Thread zentara
On Wed, 9 Oct 2002 09:00:20 +0100, [EMAIL PROTECTED] (Mat Harris) wrote: I tried require './config.cgi'; I still get the same error. Any other idea's. This one really has me stumped. Your config.cgi needs to have a 1; on it's last line. Also check permissions on the file. -- To

FW: Need urgent help

2002-10-08 Thread Nikola Janceski
He just sent it to me for some reason, but I can't find the problem. Be sure to CC Bootscat as he is the original poster. -Original Message- From: Bootscat [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 4:51 PM To: Nikola Janceski Subject: Re: Need urgent help Here's how

Re: FW: Need urgent help

2002-10-08 Thread Mat Harris
in that casem just humour me and try require './config.cgi'; i have heard that can solve some problems On Tue, Oct 08, 2002 at 04:17:50PM -0400, Nikola Janceski wrote: He just sent it to me for some reason, but I can't find the problem. Be sure to CC Bootscat as he is the original poster.

Re: Fw: output pushing

2002-09-10 Thread zentara
On Mon, 9 Sep 2002 14:31:44 +0300, [EMAIL PROTECTED] (Hytham Shehab) wrote: $|++; this won't work man u didn't get my q, i need to push data into output without the need to recall the entire script to print the whole plus the new data, i want em to print only the new data. thx R u

Re: Fw: output pushing

2002-09-10 Thread Hytham Shehab
R u looking 4 nph-push? #! /usr/bin/perl $|=1; # don't buffer output $BOUNDARY=--start-new-page-here--; # seperates html pages print HTTP/1.0 200 OK\n; print Pragma: no-cache\n; print Content-type:

Re: Fw: output pushing

2002-09-10 Thread WilliamGunther
Worked for me, quite well except for: print HTTP/1.0 200 OK\n; Which errored. If you get rid of it, it works still. If it doesn't work for you, it shouldn't be a browser error but a server one, I guess. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Fw: output pushing

2002-09-09 Thread Hytham Shehab
$|++; this won't work man u didn't get my q, i need to push data into output without the need to recall the entire script to print the whole plus the new data, i want em to print only the new data. thx -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Fwd: Fw: output pushing

2002-09-09 Thread brad
Hytham,  try cpan.org search CGI::state this might help Brad -Original Message- From: Hytham Shehab [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 9 Sep 2002 14:31:44 +0300 Subject: Fw: output pushing $|++; this won't work man u didn't get my q, i need to push data

FW: Win32-Perms: Looking up local groups by SID

2002-09-04 Thread Timothy Johnson
I tried posting this to the ntadmins group, but no go so far. Does anyone on this list know how to do this? Does anyone know how to resolve a local group account by SID using Win32::Perms? It looks like you used to be able to specify the server to check on, but the 200206XX version doesn't

FW: Probably a simple problem

2002-08-18 Thread Patricia Gillard
I have installed a number of the nms scripts with tremendous success. Thanks for your help. -Original Message- From: fliptop [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 9:09 PM On Thu, 15 Aug 2002 at 20:36, Patricia Gillard opined: you are strongly encouraged not to use

Fw: Help!! Retrieving Image File

2002-08-17 Thread Connie Chan
Thanks for helping a newbie in perl.. I am newbie too =) This works on my computer, but you can try this : -- #!/usr/bin/perl use strict; use CGI::Carp qw(fatalsToBrowser); my $filepath=mypicture.jpg; open(IMAGE,

Fw: Creating the first GUI for Windows in Perl using Tk

2002-08-13 Thread pat
I have installed both perl and Tk with RH7.1 and I also get the same error messages as were posted here before. I have checked the man pages and searched for the elusive Tk.pm file. Please can someone put me on the right track? Pat

Fw: Multiple Selects to Perl Script

2002-07-31 Thread Margaret
Hi My html looks like this : form name='form1' method='POST' action='/cgi-bin/form.pl' . . select multiple name='type' size=5 optionone optiontwo optionthree etc /select . . /form Does this look right? Thanks Margaret - Original Message - From: Kipp, James

Re: Fw: Help, I suppose.

2002-07-31 Thread Felix Geerinckx
on Tue, 30 Jul 2002 16:45:26 GMT, [EMAIL PROTECTED] (Tómas guðmundsson) wrote: But what do I do to make it more than just the phone number so if I ask of Fred it shows his number, address, e-mail, and such ? my %phone_book = qw( Fred [EMAIL PROTECTED] 0123 fred'sstreet 34 ); I know

Fw: ?Perl Editors - Re: Editor

2002-07-31 Thread Krackedpress \(Default\)
{Yep even the best of syntax highlighting patterns still can't handle some of those FUNKY regexs I use in my perl program.} Was that to scare us newcomers to Perl I have been programming on/off since late 1978 and now I an just starting to program for the WEB Perl, PHP, mySQL, etc. I

Fw: Help, I suppose.

2002-07-30 Thread Tómas Guðmundsson
- Original Message - From: Tómas Guðmundsson [EMAIL PROTECTED] To: Janek Schleicher [EMAIL PROTECTED] Sent: Tuesday, July 30, 2002 8:41 AM Subject: Re: Help, I suppose. okey, I made it a hash now. And everything works and that's nothing but cool! But what do I do to make it more

Fw: Advice

2002-07-27 Thread Connie Chan
Of cause, Cookies can help, if you want some modules can deal with cookies, look at : http://search.cpan.org/search?mode=modulequery=Cookies But how to let the cookies becomes a reliable issue, that depends how you design on it. But the concept on using cookies is somewhat talking about GET

Fw: Checking if a file is downloading

2002-07-24 Thread Connie Chan
Content-type: application/octet-stream Content-Disposition: attachment\; filename=$file This seems IE way, if I don't remember it wrongly, this does not work at NS Anyway, how about this ? $| = 1; my $file = 'yourfile.ext'; print Content-type: application/(your file type)\r\n\r\n;

FW: Replace last # with \n

2002-07-23 Thread Busse, Rich
Doh! I forgot about using $! All I need is s/#$/\n/ ; Thanks to Tor Tanton for getting my brain in gear... -Original Message- From: Busse, Rich Sent: Tuesday, 23 July, 2002 09:00 To: 'Perl Beginners' Subject: Replace last # with \n I have a string that looks

FW: Chopping a string.

2002-07-19 Thread Toby Stuart
-Original Message- From: Toby Stuart [mailto:[EMAIL PROTECTED]] Sent: Friday, July 19, 2002 4:46 PM To: 'Octavian Rasnita' Cc: '[EMAIL PROTECTED]' Subject: RE: Chopping a string. $line = substr($line,0,19,) . ...; $line = substr($line,0,19) . ...; # removed the useless comma

Fw: How to translate \\server\alias\*****\file\ with $folder?

2002-07-14 Thread Connie Chan
my $folder = foldername; my string1 = \\server\alias\*\file\; should be $string1 =) # how to make string1 = \\server\alias\foldername\file\ $string1 =~ s/\*{5}/$folder/g; the {number} means how many exactly times to match the 'stuff' ( here is * ) before. Rgds, Connie -- To

Fw: What is this string type? How to play with?

2002-07-11 Thread Jonathan
What Connie is looking for is something that translates an ordinary string to a urlencoded string, I don't know what does that but I got around the problem myself by using the modules: LWP::UserAgent; HTTP::Request::Common; Jonathan - Original Message - From: [EMAIL PROTECTED] To:

Fw: Re: Date and Time

2002-07-11 Thread jffusion
first off let me say thank you for the help I know I am a pest, but I am learning a lot Anyway I fixed everything so it works fine in my editor However now it refuses to work in my browser. I keep getting an error 500 Which I can only assume is because of my html header. I checked the subject

FW: seek function call

2002-07-09 Thread Toby Stuart
Sorry my bad, this doesn't work with lines as Andy Lester pointed out. When i tested it i had a file with one char on each line. My apologies :( Toby -Original Message- From: Toby Stuart [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 11:04 AM To: '[EMAIL PROTECTED]' Cc:

Fw: a real beginner's question, pt. 2

2002-07-08 Thread Connie Chan
Is that what you want ? sub maskIt() { my ($char) = shift ; my $ret = ; $ret = '_M_' if ($char eq M) ; $ret = '_N_' if ($char eq N) ; $ret = '_O_' if ($char eq O) ; $ret = '_P_' if ($char eq P) ; # Somthing like that, use your way to # mask them. return $ret; } $string =

FW: Check Mail then Fax [BEGGING FOR HELP.... PLEASE]

2002-07-05 Thread Connie Chan
Please anybody I am begging now. Please help... This is a mess now... I even have no concept on how to start. I will working on something like this There are 2 interface as input. One is a Web interface, which will accept HTML tag and plain text by POST method, but by GET

FW: Check Mail then Fax [BEGGING FOR HELP.... PLEASE]

2002-07-05 Thread Connie Chan
Please anybody I am begging now. Please help... This is a mess now... I even have no concept on how to start. I will working on something like this There are 2 interface as input. One is a Web interface, which will accept HTML tag and plain text by POST method, but by GET

FW: Modules

2002-07-05 Thread John Almberg
Excellent. Thanks. I've been trying to install Embperl all day and my brain was too worn out to figure this out. I'm suspecting that I don't have some crucial modules installed . . . had list of dependant modules, but no easy way to discover if they are there. Thanks again! -- John # #

Re: Fw: 2 Questions

2002-07-04 Thread John Brooking
--- Kyle Babich [EMAIL PROTECTED] wrote: Sorry for bothering everyone again, but could someone tell me what to change so that I can import variables from external files and get them to work in the current file? (see original message) Thank you, Kyle Copied from perldoc CGI: -- begin

Fw: 2 Questions

2002-07-03 Thread Kyle Babich
Sorry for bothering everyone again, but could someone tell me what to change so that I can import variables from external files and get them to work in the current file? (see original message) Thank you, Kyle - Original Message - From: Kyle Babich [EMAIL PROTECTED] To: [EMAIL

FW: regexp help

2002-06-02 Thread Zysman, Roiy
-Original Message- From: Zysman, Roiy Sent: Sunday, June 02, 2002 2:40 PM To: '[EMAIL PROTECTED]' Subject: regexp help Hi all how do i catch the last segment of a path and file name for example i would like to catch only test.gif in /usr/src/test.gif or from

Re: FW: regexp help

2002-06-02 Thread Eric Beaudoin
At 07:44 2002.06.02, Zysman, Roiy wrote: -Original Message- From: Zysman, Roiy Sent: Sunday, June 02, 2002 2:40 PM To: '[EMAIL PROTECTED]' Subject: regexp help Hi all how do i catch the last segment of a path and file name for example i would like to catch only

Re: FW: regexp help

2002-06-02 Thread drieux
On Sunday, June 2, 2002, at 04:44 , Zysman, Roiy wrote: Hi all how do i catch the last segment of a path and file name for example i would like to catch only test.gif in /usr/src/test.gif or from /usr/src/test1/../...//test.gif well most of use would use File::Basename;

FW: Hello all this grading program is still messing up

2002-05-23 Thread FLAHERTY, JIM-CONT
I am so sorry , I get an output like question this is question 41miss didnt get grade results this is question 52 works you answered a when correct answer is c it will not split the variable $questions_asked and and query the DB correctly , maybe parsing the

FW: Name resolution from IP

2002-05-01 Thread Jason Frisvold
Ugh.. Forgot to CC in the list... -Original Message- I use this little subroutine : use Socket; sub nslookup { my $ipaddress = shift; my $dnsname = gethostbyaddr(pack('C4',split(/\./,$ipaddress)),AF_INET); if ((! defined $dnsname) || ($dnsname eq '')) { print ***

FW: Scripts picks random elements from array , but it repeats sometimes

2002-04-29 Thread FLAHERTY, JIM-CONT
Hello , My script picks out random elements from an array , but it sometimes repeats ( which is no good) .. I want to prevent this , Do I delete the element from the array or is there a better way ? And how do I do either ? my mistake here is the code while($numofques 0)

Re: FW: Scripts picks random elements from array , but it repeats sometimes

2002-04-29 Thread John W. Krahn
Jim-Cont Flaherty wrote: Hello , My script picks out random elements from an array , but it sometimes repeats ( which is no good) .. I want to prevent this , Do I delete the element from the array or is there a better way ? And how do I do either ? my mistake here is the code

FW: Parsing a line - part 2

2002-04-24 Thread Busse, Rich
Thank you, John. This code does exactly what I want. Problem is, I only understand about 30% of what's going on. I can figure out the use of the hash, some of the pattern matching $1/$2. But can someone elaborate on: @keys{ qw/P ST U SL D/ } = \( $Proc, $Start, $Url, $Sleep, $Drive );

<    1   2   3   4   5   >