Dave == Dave Newton [EMAIL PROTECTED] writes:
Dave Randal said:
Placeholders are even more cool, and require less thinking.
Dave If they're supported, which they aren't under all platforms!
They're supported by DBI, so it's *all* platforms. Perhaps you're
thinking of the :1-style
thanks for the response.
However my problem is not calling the variables. but calling the module.
Let says I have this directory structure :
~myapp/class1/foo.pm
~myapp/class2/foo.pm
~myapp/class3/foo.pm
and my @INC has ~myapp/
I wan to call :
use class?::foo; #dynamic
where class? is
- Original Message -
From: Jeff Yoak [EMAIL PROTECTED]
To: Luinrandir Hernson [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Saturday, June 09, 2001 12:10 AM
Subject: Re: if then else
At 05:35 PM 6/8/01 -0400, Luinrandir Hernson wrote:
ok, where did i go wrong now???
'=' is the
* Jos I. Boumans ([EMAIL PROTECTED]) [09 Jun 2001 10:32]:
and for some abbreviation:
$ENV{'HTTP_REFERER'} : $previous = $ENV{'HTTP_REFERER'} ? $previous = an
unknown site;
[...]
god bless one liners =)
Surely you mean:
$previous = $ENV{HTTP_REFERER} ? $ENV{HTTP_REFERER} : 'an unknown
I want to find code write in perl to send SMS
The simplest and the usual way, IMHO, is to find the provider's
portal for sending SMS messages and to send the HTTP request
from the script the same way ( i.e with the same parameters )
as HTML form does.
The tricky part may be logging in to this
On Jun 9, Jos I. Boumans said:
$ENV{'HTTP_REFERER'} : $previous = $ENV{'HTTP_REFERER'} ? $previous = an
unknown site;
You didn't test that. Perl parses your code:
$a ? $b = $a : $b = $c;
as
(($a ? ($b = $a) : $b) = $c);
So that $b gets $c assigned to it no matter what. Either
Hey Chas,
Thursday, June 07, 2001, 7:44:11 PM, you wrote:
CO On 07 Jun 2001 19:36:57 -0400, Mark S wrote:
You could just set up a web server on your own machine, if that's all you're
looking to do.
who knows of some free web space that allows the use of perl? so i can test
my hello
If your system's memory is large enough to hold the smaller dataset,
then as others have said, working with hashes is the way to go:
read all of small dataset into hash
while another record in large dataset
if key for record exists in hash
delete hash{key}
On 9 Jun 2001, at 10:44, Kevin Meltzer wrote:
If it is under the control of your CGI, and you use proper data laundering and
checking on paths being created, you shouldn't have a security issue.
Or just plain don't create paths through CGI (or for any other trivial
reason). That's me.
On Sat, Jun 09, 2001 at 09:52:45AM -0500, Karen Cravens ([EMAIL PROTECTED]) spew-ed
forth:
Or just plain don't create paths through CGI (or for any other trivial
reason). That's me. Though it's something I'll keep in mind when I
do have a need for path creation. (I'll probably be
So yes, I take newlines in paths seriously. You can't be an ostrich
about them burying your head in the sand. That's not secure, and you
will be hacked.
Ostriches don't really bury their heads in the sand, you know...
S, that was supposed to be a secret.
I've not been able to
On Sat, Jun 09, 2001 at 11:17:43AM -0400, Dave Newton ([EMAIL PROTECTED]) spew-ed
forth:
I've not been able to come up with any reasonable CGI that would be
creating a path that the user has any control over; why would one want
to do that?
What about things like document/filesystem
On Sat, Jun 09, 2001 at 10:31:11AM -0500, Karen Cravens ([EMAIL PROTECTED]) spew-ed
forth:
On 9 Jun 2001, at 11:15, Kevin Meltzer wrote:
Well, depending on the application (CGI or otherwise) you sometimes need to. If
it is a path, or a file, it may need to be done (as well as putting
I think the useful point that somehow got buried in the sand along with the
ostrich was that security is a running battle. You *must* take every
opportunity to plug everything that could conceivably be a security hole,
even if it depends upon some other layer of security being broken
first.
Peter == Peter Scott [EMAIL PROTECTED] writes:
Peter Securing a system today is like being Sigourney Weaver in
Peter Alien...
In what way?
We all make millions?
We'll be used in many sequels, even when it's technically bizarre?
We run around in our undies while fighting beasts?
We're in
Peter == Peter Scott [EMAIL PROTECTED] writes:
We all make millions?
Peter Speak for yourself :-)
oh, don't I wish. :) When I finally make enough money to afford a new
car, I think I'll be happy
Just another guy driving around a 7-year-old ugly second-hand SUV, and
probably stuck with
I have recently came across a mod_perl document that suggested Perl's
Method Interface is more 'memory friendly' compare to Perl's Function
Interface.
I'm not too sure I've got the meaning of this 'Method Interface' and
'Function Interface' correctly, is it referring to the procedural
function
Hi,
I have a string with this format /blabla/dir/nextdir/name.txt
I want only 'name.txt' in one string and the rest in another string.
Thanks for the solution.
in this case, i would use split:
$location = /blabla/dir/nextdir/name.txt;
@dirs = split(\/, $location);
But then, would it
Hi
First I apologise if this is the wrong list.
How would I wake up Win NT to run a perl program at a predefined interval?
Some pointers would be much appreciated.
Regards
CCJ
hi,
i want to be able to read a text file and extract only the valid
ip addresses. however, along with valid ip addresses my code is
grabbing periods and invalid ip addresses, e.g., .xxx,
www.xxx.yyy . how can i correct this?
=
while (inFILE) {
chomp;
if (($L) = ($_) =~
* William ([EMAIL PROTECTED]) [09 Jun 2001 23:26]:
hi,
i want to be able to read a text file and extract only the valid
ip addresses. however, along with valid ip addresses my code is
grabbing periods and invalid ip addresses, e.g., .xxx,
www.xxx.yyy . how can i correct this?
It might be
Hey ggage,
Friday, June 08, 2001, 12:17:50 PM, you wrote:
gmc I would like to run a perl script and pass in an argument (ARGV[0]) by
gmc dragging a textfile icon on to the perl script icon. This would be on an
gmc NT/Win2000 system using the icons in file manager, desktop, etc. The
gmc
thanks, Karen Iain, et el,, this helps greatly. the book is on
order, can't believe the title of that section, gee. ;-)
Bill
Karen Cravens wrote:
iain truskett wrote:
[...]
If you have ample of RAM, you may try using grep i.e.
open(SMALL,smallfile);
open(LARGE,largefile);
open(UNIQ,newfile);
while(LARGE) {
$lin=$_;
print UNIQ if(!(grep {^$lin$} SMALL));
seek(SMALL,0,0);
}
From: Will W [EMAIL PROTECTED]
Reply-To: Will W [EMAIL
Hi Clinton
If u want ur program to run at a predefined interval of time ,Please put
this script in AT jobs. I think It will Do it.
Regards
Raju
--
From: Clinton [SMTP:[EMAIL PROTECTED]]
Sent: Sunday, June 10, 2001 4:24 AM
To: [EMAIL PROTECTED]
25 matches
Mail list logo