Oct 16, 2008 11:19 am
Sheela B
------=_Part_44916_7283763.1224155953729
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Is there any option to redirect a URL in perl other than Location ?
Regards
Sheela
------=_Part_44916_7283763.1224155953729--
Previous Thread: Process start time in windows
Next Thread: Using algorithm-permute
Related Forum Topics
File::path the option keep_root => 1 does not seem to work
--000e0cd56d8ef3f51904a1425322
Content-Type: text/plain; charset=ISO-8859-1
hi
File::path the option keep_root => 1 does not seem to work for me
use File::Path;
rmtree( '/temp/auto', { verbose =>1 , keep_root => 1} );
it throw me the output
unlink /temp/auto/test6 unlink...
NET::FTP object constructor's host option as array reference
--_90b9807e-3a53-4103-88b0-172b2f3f9b3d_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
I'm building an FTP client using NET::FTP. The documentation states that th=
e new constructor has a host option which can be a reference to an array...
Mechanize Redirect
Have seen this issue addressed on this board in the past, but can't
figure out exactly what I need to do.
I'm using WWW::Mechanize and a webpage seems to be redirecting me but
Mechanize doesn't seem to follow it. I've heard to "Add the header
'Accept: text/html'" but alas I don't know how...
Redirect STDERR
I have these lines in my script:
**************************************
for my $handle (*STDIN, *STDERR) {
open($handle, "+</dev/null") or die "$me: Can't reopen $handle to
/dev/null: $!. Exiting.\n";
}
# open outfile for further recording
open(STDOUT,">$outfile") or...
How to do absolute redirect in perl
$Request->redirect( url => $Std->url("/gp/errors/404"),type =>
"permanent");
works for me
but
$Request->redirect( url => $Std->url("http://www.google.com",
{absolute => 1});
does not work someone please help
Redirect Find::File to /dev/null
I'm using Find::File in my program. Unfortunately I get the ugly
'Permission denied' output that I'd normally redirect to /dev/null if
I was using bash.
Here is the command I used to generate the Find::File code:
$ find2perl /usr -name libaest.dylib -print
I saved that to a new file and...
How to redirect in system command two devices at once
Hello,
I am calling system() to run a devenv.exe to build vs 2005 solution
file.
My problem is I want to capture the output while building the solution
to a file and show the output to monitor at once.
Is there a way or a module to achieve that goal?
TIA
Redirect system command STDER
--0050450176cca585b404a870ebf6
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I have a subroutine that uses useradd to create accounts
--
@cmd = ('useradd', '-m', $account);
my $result = system @cmd;
--
but when useradd fails, I need to stop it from sending the error message...
Fw: redirect system command STDER
--MP_/EJc=o=nssaHEUpCE=GFS72g
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi,
we keep receiving these messages when posting to beginners@perl.org. Can you
please unsubscribe lellis@claimspages.com from...