Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 scrutinizing the Monastery: (9)
As of 2015-07-06 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls