For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > December 2005 > Is it possible to retrieve a URL?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Is it possible to retrieve a URL?
weilies

2005-12-14, 8:35 pm

hi,
i had a situation here. Is it possible for me to get a return of url by a perl command?

E.g.

Pg A(currently)->Pg B->Pg C->....->Pg D

'->' means 'redirect'

Is there a perl function can retrieve the URL of Pg D from Pg A?

Like i m currently in Pg A, then inside the a.pl, i write
Code :
print a_perl_func(Pg_B);

Browser Output :
http://www.domain.com/d.pl

Meanwhile i m still standing in a.pl

Can perl do that?

Thanks
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com