need help printing data tree structure

2004-06-22 Thread Jaime Teng
Hi, I am trying to write a routine that would print out the value(s) of the entire variable either it be scalar, hash or array: sub ShowValue { my $i = shift; my $v = shift; my $r = shift; if (ref($r

Re: request: HTTP::Proxy module install question.

2004-06-22 Thread Sisyphus
Michael 'topdog' Thompson wrote: - hi, i'm trying to install the HTTP::Proxy module. when i run the 'nmake test' command it does a halt at 't\20dummy...'. below is my install sequence. what step did i not do? You've done all the steps. I don't understand why you're issuing the 'pause

RE: Processing only certain sections of a file

2004-06-22 Thread Thomas, Mark - BLS CTR
> I want to try modifying the logic to process a file that has been > slurped into a string variable, like so: > > while($wholefile) > { > if(/ .. /<\/TEXT>/) > { > # process line > } > } Smells like XML. If that's the case, you'd be much better off with an XML pa

Processing only certain sections of a file

2004-06-22 Thread Craig Cardimon
I have this logic to follow: while() { if(/START/ .. /END/) { # process line } } I found this logic in an article (http://www.perl.com/pub/a/2004/06/18/variables.html) on Perl's Special Variables at Perl.com. I want to try modifying the logic to process a