How do I return an actual array name? This doesn't work, I just want perl to return "array1" when executed.
my @array1 = qw (1 2 3 4);
&Check(\@array1);
sub Check {
@pushedarray = @{$_[0]};
print \@{$_[0]};
}
Result:
@{ARRAY(0x18a62ca0)}
thanks, here is my script - this is still not working:
#!/usr/bin/env perl
use strict;
use warnings;
use LWP::Debug qw(+);
use LWP::UserAgent;
use HTTP::Cookies;
use HTTP::Request::Common;
use Authen::NTLM;
use Authen::Ntlm;
ntlmv2(1);
my $ua = new LWP::UserAgent(keep_alive...
I am unable to authenticate to a SharePoint site using NTLM authentication, getting 401 Unauthorized, Credentials for 'Domain\User' failed. My password is correct, but I think I might be having an issues with headers or handshaking with the site. Please help!!
LWP::UserAgent::request: ()...
Hello Tek Tippers,
I cannot get my head around why I am getting this error, when trying to access my website.
Undefined subroutine &LWP::Authen::Ntlm::ntlm_domain called at /tmp/perl/LWP/Authen/NTLM.pm line 36.
I am using NTLM v.5 and tried to upgrade to v.6 and even downgrade to v.1, only to...
Hello Tek-Tippers,
I am having a problem accessing an asp.net site and get a 403 Forbidden error with my script. This does not happen to any html type website so I am asking you for help to scrape asp.net site.
Thank you in advance for all the help.
use LWP::Debug qw(+);
use...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.