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

It *is* a feature: mod_perl and 'my $x if 0'

by MeowChow (Vicar)
on Jul 15, 2001 at 01:59 UTC ( #96784=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    ...
    ...
      my $name = $fname.$lname;
      ...
    }
    
  2. or download this
    sub handler {
        ...
    ...
          ...
        }
    }
    
  3. or download this
    sub OUTER {
      my $x if 0;
    ...
    OUTER: $x is now: 0
    INNER: $x is now: 1
    INNER: $x is now: 2
    
  4. or download this
    ...
    my $fname : static = $q->param('fname');
    my $lname : static = $q->param('lname');
    ...
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2023-05-28 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?