Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: (Ovid) Re: Favorite Descriptive Variable Name

by Blue (Hermit)
on Dec 22, 2000 at 19:42 UTC ( [id://48044]=note: print w/replies, xml ) Need Help??


in reply to (Ovid) Re: Favorite Descriptive Variable Name
in thread Favorite Descriptive Variable Name

I've occasionally punned with variable names. One I like (and I forget where I first saw it) was %cornedbeef. (corned beef hash). I've been do to do { ... } until $cows_come_home; or { ... } until $hell_freezes_over; for nigh-endless loops.

When I'm not being creative, I find myself occasionally using junk variables like $stuff, $stuf, $stuph, $morestuff, $yetmorestuff, $evenmorestuff, $toomuchstuff, so on and so forth.

=Blue
...you might be eaten by a grue...

Replies are listed 'Best First'.
Re: Re: (Ovid) Re: Favorite Descriptive Variable Name
by japhy (Canon) on Dec 23, 2000 at 19:58 UTC
    When calling the function phish() or moe(), I'll often pass the %|. Especially because I don't need it. ;)

    japhy -- Perl and Regex Hacker
      Oh man, you should be stoned to death for that one... Also, I was happy to see that the hippy spirit is alive in perl, perl -we 'my %|;' =)

      --
      $you = new YOU;
      honk() if $you->love(perl)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2025-06-13 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.