Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Appending in a switch case statement

by gube (Parson)
on Dec 25, 2008 at 16:34 UTC ( [id://732595]=note: print w/replies, xml ) Need Help??


in reply to Appending in a switch case statement

Simply you can use this below code as well in .basrc
function go { case $1 in (dashboard) cd $HOME/dashboard;; (2.8) cd $HOME/dashboard/2.8;; ($1) cd $HOME/$1;; esac; }
It will take to your $HOME directory default and from their your path, i meant instead "cd ~/<directories>" :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2026-03-17 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.