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
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
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>
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
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
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
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>
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
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
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
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
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
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
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
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.
; 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]
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
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
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]
ks in advance
Brian Bratcher
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
=$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]
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]
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
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
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
#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]
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
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]
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
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
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 :
>
,
-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
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
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
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]
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
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
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 =
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
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:
> >>>>&
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.
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
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
__
%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
in advance.
Brian
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
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
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
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
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
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
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
52 matches
Mail list logo