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

Re: How can I indicate the current page?

by PotPieMan (Hermit)
on Aug 09, 2000 at 23:51 UTC ( [id://27178]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %links = ( "1" => ['/channels.shtml', 'channels'],
                  "2" => ['/mp3s/', 'mp3s'],
                  "3" => ['/fortune.shtml', 'fortune']
                );
    
  2. or download this
    foreach(sort keys %links) {
            if ($uri eq $links{$_}[0]) {
    ...
            }
            print " | ";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-24 15:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found