Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Trying to Insert Alt Tags Programmatically

by Anonymous Monk
on Apr 02, 2011 at 15:05 UTC ( [id://897098]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl --
    
    ...
    <img alt="!4" src="4" />
    <img alt="!5" src="5" />
    
  2. or download this
    #!/usr/bin/perl --
    
    use strict;
    ...
    sub MAlt { '!' . $_[0]->attr('src') }
    
    __END__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-26 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found