Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^4: Why is const x const not a const?

by TomDLux (Vicar)
on Jan 22, 2012 at 19:41 UTC ( #949277=note: print w/replies, xml ) Need Help??

in reply to Re^3: Why is const x const not a const?
in thread Why is const x const not a const?

Better, name it after its use, rather than its constituents.

use Readonly; Readonly my $SECTION_SEPARATOR => q{=}x80;

As Occam said: Entia non sunt multiplicanda praeter necessitatem.

Replies are listed 'Best First'.
Re^5: Why is const x const not a const?
by BrowserUk (Pope) on Jan 22, 2012 at 20:39 UTC

    No. You are absolutely wrong on all counts!

    First. Look at the post I was responding to. The premise was, that it is much clearer from '=' x 80 that there are 80 '=' than if you used


    so your 'correction' is wrong in context.

    Secondly, your assumption that that string is a "SECTION_SEPERATOR" is wrong. It cannot be right, because you have no basis upon which to reach that conclusion.

    But mostly, trading use constant for that vacuous, puerile, slow, stupid, braindead, idiotic, stupid -- did I say stupid already? -- worthless, pathetic, fscked-up, oxymoronic piece of crap is ... um .. oh dear, I seems to have run out of appropriate adjectives.

    Update: Oooh. OOoh! I thought of one: fatuous. ( I didn't use that already did I? )

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://949277]
[Lady_Aleena]: Discipulus, then that is a problem. I wanted to find total seconds of my entire .mp3 collection to do some math on it to see how many days of continuous music i have.
[LanX]: darn. .. I wanted to see Marine and Melonchon go to next round, just for fun xD
[Discipulus]: LA use Perl: traversing a dir tree is simple; foreach file mp3 $sec+= use Mp3::Info
[Lady_Aleena]: Discipulus, I was able to get the sum of the seconds on the command line using awk. Then I ran the result through a perl script and got the result. It came bach with 4 days, 9 hours, 56 minutes, 43 seconds.
[Lady_Aleena]: s/bach/back/;
[Discipulus]: gired anyway is the intermediate state between hired and fired (and vice versa;)
[Lady_Aleena]: Discipuluis, I don't know if I want to fight with File::Find. File::Find and I are not friends.
[Discipulus]: 4 day Bach is too muche even for me
[Discipulus]: LA you know who is paco?
[Lady_Aleena]: Disc, nope.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-04-23 20:35 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (432 votes). Check out past polls.