Hi all there,
I'd like to use %subj% with caching options. I know how to use
Cache::File; or WWW::Mechanize::Cached.
Problem comes, when I want to cache webpage with forms (POST).
I decide not to use WWW::Mechanize::Cached, because it uses as key
given URL (as I decoded that from source).
I
Hi!
Why doesn't this work?
use strict;
use warnings;
my %result_hash = qw(foo bar);
dbmopen(%result_hash, BB, 0666);
dbmclose(%result_hash);
dbmopen(%result_hash, BB, 0666);
while (my ($key,$val) = each %result_hash) {
print $key,\n;
}
dbmclose(%result_hash);
Ing == Ing Branislav Gerzo [EMAIL PROTECTED] writes:
Ing Problem comes, when I want to cache webpage with forms (POST).
This is strange. POST requests are not necessarily idempotent, and this is
why caches never cache them. Perhaps you want to turn these POSTs into GETs
instead, if you know
Hi,
Can someone tell me what is going on in this peice of code?
Especially, line 409.
--code start--
405my $fh;
406my $txtfile = $file-fileName();
407open $fh, $txtfile;
408my $plain_text = '';
409$plain_text .= $_ foreach ($fh);
close $fh;
--code end--
I keep getting
radhika wrote:
Hi,
Can someone tell me what is going on in this peice of code?
Especially, line 409.
--code start--
405my $fh;
406my $txtfile = $file-fileName();
407open $fh, $txtfile;
open $fh, $txtfile or die cannot open $txtfile: $!\n;
408my $plain_text = '';
409
Anders Stegmann wrote:
Hi!
Why doesn't this work?
Aargh! *Please* see http://perl.plover.com/Questions4.html
You're expecting us to read your mind, so here goes...
use strict;
use warnings;
my %result_hash = qw(foo bar);
dbmopen(%result_hash, BB, 0666);
BB needs to be
# (Prematurely?) declare lexical variable
405 my $fh;
# Get file name from the $file object.
406 my $txtfile = $file-fileName();
# Open file using lexical variable
# declared earlier for file handle.
# Do not test file opening for success.
407
Randal L. Schwartz [RLS], on , , 2006 at 09:01 (-0800) contributed
this to our collective wisdom:
Ing Problem comes, when I want to cache webpage with forms (POST).
RLS This is strange. POST requests are not necessarily idempotent, and this is
RLS why caches never cache them. Perhaps you want
Hello I have a problem with this module.
My script does not work with all pcs .
In fact when I execute it on my computer I have no problem but in an other
one I have this error:
*Can't call method GetValue on an undefined value*
An extract of my script:
$Registry-Delimiter(/);
Is there a value called DisplayName in every key under Uninstall? My
guess is that you will find on the computers where this fails that there
is a key that is incomplete, either from a partial uninstall or a
badly installed program.
By the way, I don't think you actually need to call the
On 1/17/06, Anders Stegmann [EMAIL PROTECTED] wrote:
Why doesn't this work?
dbmopen(%result_hash, BB, 0666);
'Cause it's not Perl. :-) What's BB supposed to be? The second
parameter to dbmopen is a filename, so that should be a string. (I
think you're confusing that with doing something like
Hello folks
I am thinking to built port scanner in perl. for port scanning I am using
SYN packet.
Can any body suggest some online document or mannuals for this.
with regards
Rakesh
On Wed, 18 Jan 2006, Rakesh Mishra wrote:
Hello folks
I am thinking to built port scanner in perl. for port scanning I am
using SYN packet.
Can any body suggest some online document or mannuals for this.
Can someone? Probably.
Did you try searching? Where? What did you find? Did you find
13 matches
Mail list logo