Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2016-10-25 14:13 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (320 votes). Check out past polls.