Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: Anyone want to compress this a little more?

by olus (Curate)
on Jan 11, 2008 at 18:32 UTC ( [id://661945]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Anyone want to compress this a little more?
in thread Anyone want to compress this a little more?

I think the original post lacks a lot of things, and <code> is the least of them.
Had he used the <code> tags, compile errors would still appear.

The <code> tag would not make the comma show up on opendir lines neither help in resolving $workingDir to be $workDir or even $fileToLoad[$i] as an item of @filesToLoad

Since the question is not asking what on earth is the code doing or why it was not working, he challenged everyone tho write something that does the same, but smaller.

Add the square brackets to both scripts and the output will still be the same for both.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-24 22:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found