Simple Search

2002-06-18 Thread phumes1
Hi, I want to add a simple search to my web page that will search all .asp pages from the root directory. Does anyone know where I can get a nice one? I've seen a few but couldn't get them to work properly. +---+

Output has HEX values??

2002-06-12 Thread phumes1
I'm using the following command to output the results to screen and a output file: open(F,"tee $2 @ARGV[0].txt >CON:"); This works great but the output file created .txt has a "box" ascii character. Looks like a carraige return also. How can I remove this? -- To unsubscribe, e-mail: [EMAIL

Using ARGV

2002-06-12 Thread phumes1
I need to print the filename to the screen. C:\>runme.pl I have the following in my script: $test = "$2 @ARGV"; print "Results: $test\n"; Which output: I require just the Should I be using an array for this or substr? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Displaying directory and filename

2002-06-12 Thread phumes1
Hi, The perl script I'm modifying requires a input file to be passed and a output device. For example: C:\>runme.pl How can I display this to the screen? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: FETCHING ENVIRONMENT VARIABLES

2002-06-11 Thread phumes1
_}\n" for (sort keys %ENV); > >On 06/11, phumes1 said something like: > > > > I have a problem...I don't know how to use a hash. :-( > > > > > > At 02:50 PM 6/11/2002 -0400, you wrote: > > >On Jun 11, phumes1 said: > > > > > > >

RE: FETCHING ENVIRONMENT VARIABLES

2002-06-11 Thread phumes1
ach my $env (@allenv){ > print "@{$env}\n"; >} > > > -Original Message- > > From: Jeff 'japhy' Pinyan [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, June 11, 2002 2:50 PM > > To: phumes1 > > Cc: [EMAIL PROTECTED] > > Subj

Re: FETCHING ENVIRONMENT VARIABLES

2002-06-11 Thread phumes1
I have a problem...I don't know how to use a hash. :-( At 02:50 PM 6/11/2002 -0400, you wrote: >On Jun 11, phumes1 said: > > >How can fetch all the environment variables and print them to the screen? > >The %ENV hash holds all the environment variables. > >If yo

FETCHING ENVIRONMENT VARIABLES

2002-06-11 Thread phumes1
Hi, How can fetch all the environment variables and print them to the screen? +---+ Philip Humeniuk [EMAIL PROTECTED] [EMAIL PROTECTED] +-

Re: Checking environment variables...outputting to file

2002-06-11 Thread phumes1
e.exe is a compiled perl script. c:\programs\runme.exe Is there a way with Perl to know if the batch file is being run or passed via browser? Not sure if I'm making sense. At 10:20 AM 6/11/2002 -0700, you wrote: >On Tuesday, June 11, 2002, at 09:58 , phumes1 wrote: > >>Weird

Re: Checking environment variables...outputting to file

2002-06-11 Thread phumes1
Hang on...I have a batch file that is being executed. In the batch file contains my perl script that I'm executing so the below does work. If anyone is familiar with Allaire Cold FUsion I'm using the Hi, > >There should be many ENV that would only be set if you are using a >browser, but >one of

Fwd: Re: Checking environment variables...outputting to file

2002-06-11 Thread phumes1
Weird. I put the below lines in my perl script and ran it from the command prompt and from a web browser yet the results are telling me that "You have started this script from the command prompt" Why? Is the HTTP_USER_AGENT check not correct? >Date: Tue, 11 Jun 2002 18:35:16 +0200 (METDST)

Checking environment variables...outputting to file

2002-06-11 Thread phumes1
Hi, I thought of another way possibly...of doing this. Is there a way through environment variables (or someother way) to check to see if the perl script is being run via command prompt or from a browser (web interface)? This way if someone runs the script from a command prompt I output it to

Fwd: Re: Outputting to screen and file.

2002-06-11 Thread phumes1
Correct. I want to output to both but how? >Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >List-Post: >List-Help: >List-Unsubscribe: >List-Subscribe: >Delivered-To: mailing list

Re: Outputting to screen and file

2002-06-11 Thread phumes1
YNOPSIS > tee [-ai] file... > > > etc..etc..etc > > This of course assumes you are a *nix person. > A. On Tue, 11 Jun 2002, phumes1 wrote: > Hi, > > I have a Perl script that I need to modify. Presently, its outputting the > results to the screen. Is there

Outputting to screen and file.

2002-06-11 Thread phumes1
Hi, I have a Perl script that I need to modify. Presently, its outputting the results to the screen. Is there a way to also output the same to a file? +---+ Philip Humeniuk [EMAIL PROTECTED] [EMAIL PROTECTED] +--

This is a test

2002-06-11 Thread phumes1
+---+ Philip Humeniuk [EMAIL PROTECTED] [EMAIL PROTECTED] ++ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: passing filename to script

2001-10-22 Thread phumes1
I have the following script (load.pl) which loads UltraEdit. How can I pass a filename to the script like: #!/usr/local/bin/perl { print '%Loading UltraEdit...',"\n"; chdir "D:\ultraedit"; system "uedit32.exe"; exit 0; } C:>load.pl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: Running application

2001-10-22 Thread phumes1
I have the following script which runs UltraEdit but I keep getting an error. I checked the path and it is correct. #!/usr/local/bin/perl # { print ' ',"\n"; print '%Loading UltraEdit...',"\n"; system("D:\ultraedit\uedit32.exe netlog.t

Re: executing an application within a perl script

2001-10-19 Thread phumes1
Hi, Is there a way to load a application from a Perl script. Let's say wordpad.exe in Windows? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]