Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^10: Removing AUTOLOAD from CGI.pm (suggestions)

by LanX (Saint)
on Feb 26, 2015 at 14:01 UTC ( [id://1117952]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $tag ( _all_html_tags() ) {
        eval "sub $tag {
    ...
        }";
    ...
    # again for end and start tags
    
  2. or download this
    foreach my $tag ( _all_html_tags() ) {
        *$tag = sub { return _tag_func($tag,@_); }
    ...
    
  3. or download this
      DB<106> $tmpl = '$#abc#=15' 
     => "\$#abc#=15"
    ...
    
      DB<111> $str
     => 15
    
  4. or download this
        eval sprintf <<'__CODE__', $tag;
            sub %1$s {
                "<%1$s>",@_,"</%1$s>";
            }
    __CODE__
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-09-10 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (10 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.