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

Re: Re: Shortening "$bar{foo} if exists $bar{foo}"?

by kelan (Deacon)
on Oct 04, 2003 at 17:15 UTC ( #296538=note: print w/replies, xml ) Need Help??


in reply to Re: Shortening "$bar{foo} if exists $bar{foo}"?
in thread Shortening "$bar{foo} if exists $bar{foo}"?

How about this Perl6-ish way:

given %foo{bar} { .() if exists }
It's still about as much typing, though.

kelan


Perl6 Grammar Student

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2022-12-05 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?