Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Where is the writing being ordered for within a .html, output file corresponding to the Perl subroutine line "<A NAME=.... HREF=...>...</A>";?

by Anonymous Monk
on Mar 14, 2016 at 17:20 UTC ( [id://1157691]=note: print w/replies, xml ) Need Help??


in reply to Where is the writing being ordered for within a .html, output file corresponding to the Perl subroutine line "<A NAME=.... HREF=...>...</A>";?

As LanX already said, that string ("<A NAME=... HREF=...>...</A>") is likely being returned from the subroutine. So you should look for the place where the subroutine is being called. For example, it may say something similar to print $fh make_href();, in which case the string will be printed to the filehandle $fh, or something like my $var = make_href();, in which case the string is being stored in the variable $var for further processing and probably eventually printing. If you could show some actual code, that would help in answering your question better - see http://sscce.org/

Replies are listed 'Best First'.
Re^2: Where is the writing being ordered for within a .html, output file corresponding to the Perl subroutine line "<A NAME=.... HREF=...>...</A>";?
by 2016User1 (Initiate) on Mar 14, 2016 at 17:48 UTC
    Thanks, Rolf and Anonymous Monk, for kindly and so quickly posting some information for me. Your postings make a good beginning for me! You seem to be good teachers! The Perl script written by other people that I have been inspecting contains numerous subroutines. And my knowledge of Perl is little. Perhaps I need to learn more about Perl to understand the code I have been inspecting.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1157691]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found