Re: Saving data to %session with Apache::Session::File

2010-03-30 Thread Brian J. Miller
ed." So in your loop you are updating the nested structure under 'config' but nothing at the top level of the hash. To have it stored you would have to update a key or value of $session. HTH, -- Brian J. Miller End Point Corp. http://www.endpoint.com/ br...@endpoint.com -- T

Re: Dumping vars from CGI with Data::Dumper

2009-12-31 Thread Brian J. Miller
nt Dumper(param); > > (without the @) > > > Did you switch your 'use' statement to import 'param'? See "USING THE FUNCTION-ORIENTED INTERFACE" section of the documentation. -- Brian J. Miller End Point Corp. http://www.endpoint.com/ br...@endpoint.com -- To

XSLT processing

2006-11-18 Thread Brian Hancock
esentation of my xml document. Alternatively, should I be approaching this from an entirely different direction. Many thanks Brian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Slow Performance using Perl script and DOSEMU

2005-12-03 Thread Brian Hancock
OSDRIVE_D'} = $doshome ; #print "Content-type:text/html\n\n"; system ("$cmd") ; print "Content-type:application/pdf\n\n"; my $epsfile = $doshome."/output/test.eps" ; my $pdffile = $doshome."/output/test.pdf" ; system ("ps2pdf $epsfile $pdffil

RE: newline issue

2005-06-02 Thread Lasher, Brian
Never mind. Found it on another perl email list. s/[\n\r]+$/; Brian Lasher Best Practices and Yield Enhancement Team Catalog DSP Product Engineering Texas Instruments 281-274-2913 (W) 281-684-4699 (C) 281-274-2279 (F) [EMAIL PROTECTED] -Original Message- From: Lasher, Brian Sent

newline issue

2005-06-02 Thread Lasher, Brian
Brian Lasher Best Practices and Yield Enhancement Team Catalog DSP Product Engineering Texas Instruments I thought I saw emails on this in the past, but I couldn't find them in my saved mailbox going back to nov 04. I wrote a CGI utility running on a unix server that allows users to

Running a DOS app under iIS?

2004-11-20 Thread Brian Hancock
m the Command Prompt by just type zip.pl and it runs fine. Can anyone shed some light on this. By the way, I think I mentioned it earlier but I have no problems when running this under Apache. Thanks Brian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: ordered hash

2004-09-24 Thread brian larochelle
Thank you for your quick response Chris. That makes perfect sense. Except for the last value of 'other' which I would want at the end of the list and a choice for the person filling out the form is they did not live in the US. Chris Devers wrote: On Fri, 24 Sep 2004, brian laroch

ordered hash

2004-09-24 Thread brian larochelle
Hello, I was hoping to get a little advice creating a cgi form. I want to create a popup menu to list all the states in the US( and then later countries), I want to store all the values in variables to pass to the subroutines later on. The below code works, I just have the values for the stat

RE: OPEN command in Perl

2004-09-15 Thread Spindler, Brian
If it's txt file and it will display in a browser then you should use the module LWP to retrieve the text. OPEN is used to open local files not web addresses. Hth Brian -Original Message- From: Sheni R. Meledath [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 15, 2004 7:55

RE: Which interface should I be using for Database Access?

2004-09-01 Thread Spindler, Brian
C` to get any documentation you may need on how to connect to your DSN and manipulate the database. -Brian -Original Message- From: Siegfried Heintze [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 11:17 AM To: [EMAIL PROTECTED] Subject: Which interface should I be using

Re: What's wrong with this?

2002-07-01 Thread Brian
Terminology not withstanding, it's again the lexical scoping. Basically, what you're doing wrong is by declaring the scalar test inside the while block. As long as the code is exiting within the while block, $test is still alive. The code exits out of the while block and $test is no more. Also- b

Re: Extract numbers from in between parentheses with regex

2002-06-26 Thread Brian
aving the variables with there previous values. Something to watch/test for... ~Brian On Wednesday 26 June 2002 11:21, Kristofer Hoch wrote: > Hi all, > Please forgive the simple nature of this question. I have never really > used regular expression extensivly. > > Here go

Re: Displaying Problems

2002-06-25 Thread Brian
xample would be existance of a paragraph method- a method that returns a ''. Either way, good luck with it. ~Brian On Monday 24 June 2002 15:09, Kyle Babich wrote > For the following the syntax is correct but when I try to open it > nothing displays, what should I change? &g

RE: regular expression vs split

2002-05-17 Thread Brian
minus the delimiter... I'm guessing what was meant is that regex is more work then using a split, but it doesn't particularly seem like a huge amount of extra work using regex... any comments/thoughts? ~Brian >Regular expressions are overkill for what you're trying to do.

Re: Tell a friend - Help!

2002-04-08 Thread Brian Smith
; They are into webdesign, hosting and developement. > Thanks! > $from_name > <datasend (<http://www.xyz.com. $myBlankLine They are into webdesign, hosting and developement. Thanks! $from_name END_OF_MESSAGE Have a good night, Brian. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

CGI Execution Error

2002-04-06 Thread Brian N. Smith
The Problem; I have tainted data. $cPass = crypt("pass", "dP"); $name = "brian"; $username = "Brian Smith" $runLine = "adduser -d /home/users -g raduser -c \"$username\" -p $cPass -s /bin/false $name"; I found

Limit floating point numbers?

2002-03-30 Thread Brian Bratcher
Hello to all, I have been working intently on a new ordering system. The time frame is about 3 to 4 Months. I have got most everything working ok. Now I need to go back over almost 2500 lines of code and fix my floating point number so they read 1.25 instead of 1.2556. Which should round out to 1

MD5 Password Generator

2002-03-23 Thread Brian Smith
In my CGI, A user creates a password (p@$$w0rd), but i do not want it to be clear text, so I was wondering if Perl was able to encrypt that to a MD5 encryption. It will be stored in the /etc/shadow file, so I would want the "standard" md5. Anyone? -- To unsubscribe, e-mail: [EMAIL PROTECTED]

Using perl cgi scripts to print

2002-03-14 Thread Brian Bratcher
ks in advance Brian Bratcher [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help with DBI.pm

2002-03-09 Thread Brian Bratcher
=$sth->fetchrow()) {print"$temp_1";} What am I doing wrong? 2) Once I find the data with a search I need to edit, save, or continue on with the rest of the script. Please help Brian Bratcher [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

A little off topic, but still deals with CGI, just the results.

2001-12-30 Thread Brian N. Smith
nt myOut $_; } close myFile; close myOut; That is what I have now ... what I should I actually be looking for? Obviously it is not the ^M, because it still exists. Thanks, Brian. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Load test

2001-12-18 Thread Brian
Mark, I would try doing a recurrsive loop. Making it copy one file to another. I am not sure what type of load that would be, but I am sure it may help in whatever you are trying to accomplish. ~Brian. > Ooops sorry, > What I need to do is to place a test server under load - this

IP Address Reverse Lookup

2001-12-09 Thread Brian
If at all possible, which perl module would I need to call in order to perform a reverse lookup on an IP address? I need to produce something simalar to the "host" command ie: [brian@mustang brian]$ host 12.90.6.4 4.6.90.12.in-addr.arpa domain name pointer 4.philadelphia-16-17

RE: Two parter

2001-11-29 Thread Brian
Bob, I appologize for the slip of the finger :) I assure you it wont happen again :D ... And thank you very much. ~Brian >> -Original Message- >> From: Brian [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, November 29, 2001 5:12 PM >> To: [EMAIL PROTECTED

Two parter

2001-11-29 Thread Brian
#1 -- Thanks to everyone who helped me with my first question. #2 -- Does pearl have a "date" variable. I just need MM/DD/ Do would I need to make a system call? Thank You, Brian -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Need some assistance, should be easy.

2001-11-28 Thread Brian
I am looking for a way, script or variables used, to determine from where someone is comming from. IE, if they click on my site from a search engine, or if they just type in the URL direct. Does anyone have the means to assist? Thank You! :) Brian. -- To unsubscribe, e-mail: [EMAIL

Re: why is perl better then PHP

2001-11-16 Thread brian d foy
does not make it the best one. -- brian d foy <[EMAIL PROTECTED]> - Perl services for hire CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: CGI.pm param() doubt

2001-10-24 Thread Brian
I didn't see anyone reply, so I am guessing no one has. It has been my expierence writting scripts to do this: $cust_name = param('custname'); $cust_phone = param('custphone'); Of course, the custname, and the custphone are being passed to my cgi script thru the f

Obtaining data from a web site via an automated Perl script

2001-10-23 Thread Brian Jackson
a and process it. What I want to know is if commands within the Perl language will allow for me to automatically go to the website and save the txt file locally so that we can automate the processing of all of this data. Thanks in advance. Brian -- To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Test if first character of a variable is a 0 (zero)

2001-10-18 Thread Brian Harring
try this $text =~ s/^0//; this should work, the ^ indicates that it must be the first character of the line or of the string... ~Brian >Hi, > >I need to delete the first character of a variable if this (and ONLY >this) character is a 0 (zero). > >What I tried : >

RE: CGI.pm hidden field problem

2001-10-17 Thread Brian Arnold
, -default => "value", -override => "1"); Brian Arnold [EMAIL PROTECTED] -Original Message- From: Bob Showalter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 17, 2001 3:41 PM To: 'David Gilden'; [EMAIL PROTEC

RE: CGI.pm hidden field problem

2001-10-17 Thread Brian Arnold
is one screwed me up all the time too - it's -name and -default, not -name and -value. At least, that's how it shows in my CGI.pm documentation. ==== Brian Arnold [EMAIL PROTECTED] -Original Message- From: David Gilden [mailto:[EMAIL PROTECTED]] Sent: Wednesday

Re: file type detection

2001-09-30 Thread brian d foy
there a way to know that it is not > a valid html or gif file? you need to use magic ;) http://search.cpan.org/search?dist=File-MMagic -- brian d foy <[EMAIL PROTECTED]> - Perl services for hire CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html Troubleshooting CGI scrip

Re: structure of scripts (newbie Q)

2001-09-21 Thread brian d foy
an split the screen (or window). :) -- brian d foy <[EMAIL PROTECTED]> - Perl services for hire CGI Meta FAQ - http://www.perl.org/CGI_MetaFAQ.html Troubleshooting CGI scripts - http://www.perl.org/troubleshooting_CGI.html -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Help me !

2001-09-05 Thread Brian
Something like: $foo =~ s/\s$//; I'm guessing since you are using a textarea you will run into the wonderful \r characters (Carriage Returns). The above should snag them. As should chomp. Hope this helps you. :o) -Brian > Hi People, > > I need to remove all new line character

RE: Random Number Generation

2001-08-05 Thread Brian
nd up with 4 copies of each message. So please, for the love of all that is holy, pure, and good in this world, just post to the related group. #!/usr/bin/Brian Johnson $job= "Laziness"; $pay= 0; $motivation = "None"; $business = "Sour

RE: cgi and html

2001-08-04 Thread Brian
ot open $t: $!"; $template = ; close(HTML); return $template; } To the Gurus: Would this be faster or the same as doing it with the while? #!/usr/bin/Brian Johnson $job= "Laziness"; $pay= 0; $motivation = "None"; $business =

RE: shared hash - how ?

2001-08-03 Thread Brian
Somebody on the mod_perl mailing list might be able to help you better than somebody on the begginers perl list. This is a bit OT (okay, it's way out in left field. If you go to http://perl.apache.com you can sign up for the list. #!/usr/bin/Brian Johnson $job= "Lazin

Re: Shifting bits

2001-07-10 Thread Brian Jackson
Randal, I am new to Perl. I had no idea that Perl had documentation *right* *there*. Thanks to the kind folks that have emailed me back, I now know this. In reading your reply, it appears that I have ticked you off. I am sorry. "Randal L. Schwartz" wrote: > >>>>&

Shifting bits

2001-07-09 Thread Brian Jackson
Unfortunately I don't have any Perl books available to me at this time and I am trying to find the answer to this on the web, but have had no luck thus far...does anyone know if there is a shift operator in Perl that allow me to shift bits.

Re: split function question

2001-06-28 Thread Brian Bukeavich
e Follows From: Curtis Poe <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: CGI Beginners <[EMAIL PROTECTED]> Subject: Re: split function question Date: Thu, 28 Jun 2001 12:55:20 -0700 (PDT) --- Brian Bukeavich <[EMAIL PROTECTED]> wrote: > I need a little help with the spl

split function question

2001-06-28 Thread Brian Bukeavich
I need a little help with the split function. I'm trying to split a line based on comma delimeters(,), but when I use the syntax below I don't get the results I expect. What am I doing wrong? Is there a an special escape sequence for a comma? my @asLine = split (/,/, $_); Thanks __

Re: Re: Code Review

2001-06-25 Thread Brian Bukeavich
%3u", @hole[$q]); printf OF2 (" %3u", @hole[$q]); ? Thanks again. Original Message Follows From: Aaron Craig <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Re: Code Review Date: Mon, 25 Jun 2001 11:47:34 +0200 At 15:42 22.06.2001 -0400, Brian Bukeavich wr

If I could get just one Perl Book what should it be?

2001-06-25 Thread Brian Jackson
in advance. Brian

Re: Re: Code Review

2001-06-22 Thread Brian Bukeavich
Sorry, I just thought the text would be too long. = #! /perl/bin/perl $Course_Name = "White-Run Golf Club"; $Course_Tee = "White"; $Course_Rate = "70.3"; $Course_Slope = "124"; #Current Course Data: #@Course_Par = (4,5,4,3,5

Re: Code Review

2001-06-22 Thread Brian Bukeavich
Original Message Follows From: Aaron Craig <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Code Review Date: Fri, 22 Jun 2001 17:31:53 +0200 Send it to the list. :) At 11:30 22.06.2001 -0400, Brian Bukeavich wrote: >I'm new to Perl and have written a simple pro

Code Review

2001-06-22 Thread Brian Bukeavich
I'm new to Perl and have written a simple program to create 2 statistical reports for our golf league. I'm looking for someone to review my code and tell me what can be improved and how. This app was written for the Windows platform. Than

parsing character by character and printing

2001-06-18 Thread Brian Jackson
I am completely new to Perl. I am trying to figure out how I can parse a row, character by character, that I have retrieved from a database. I would like to format output based on characters from the row. For example I may have retrieved 250 character string from a database and I want to print

comparing date values

2001-06-08 Thread Brian Hersey
te = (localtime); but that gives me the date in the eg. (Fri Jun 8 15:08:25 2001) format, which doesn't give me a numerical month. I know this must be something quite simple. 2. How do I compare the date values, so that I can get a numerical value of days since the user first registered? Thanks a bunch, Brian

RE: This n' that

2001-06-06 Thread Brian P. Hanley
Another reason the placeholders are a good idea is connections to the DB. You need only prepare a statement using place holders once, then use the handle for 10,000 executes (hypothetical number :)). If you use actual values in the prepare, that uses a connection to the DB each time the prepare i

SSI - Variable Passing

2001-06-01 Thread Brian Sparr
t passed to the perl script... I've tried #exec cgi="/cgi-bin/test.pl?value=name", but it's not working for me. Any help will be appreciated - even it's to point me to some documents or tutorials to read. Thanks, Brian