Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^2: Missing Bracket

by mkirank (Chaplain)
on Nov 30, 2005 at 01:54 UTC ( #512820=note: print w/replies, xml ) Need Help??

in reply to Re: Missing Bracket
in thread Missing Bracket

$tmpstr = join( '|', @{0 .. 366} = '' x 366 );
This gives an error ..

Replies are listed 'Best First'.
Re^3: Missing Bracket
by BrowserUk (Pope) on Nov 30, 2005 at 02:09 UTC

    I should have tested, but I wasn't really sure what you were trying to achieve? Anyway, this may be it.

    P:\test>perl -Mstrict -wle"print join( '|', @{+{}}{1 .. 366} = ('') x +366)" |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| +||||||

    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://512820]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-06-19 17:18 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (114 votes). Check out past polls.