Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Just another Perl shrine
 
PerlMonks  

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 ..


Comment on Re^2: Missing Bracket
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-04-17 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (458 votes), past polls