Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Automatically add all defined functions to your @EXPORT

by dragonchild (Archbishop)
on Jan 23, 2009 at 03:53 UTC ( #738371=note: print w/replies, xml ) Need Help??


in reply to Re^2: Automatically add all defined functions to your @EXPORT
in thread Automatically add all defined functions to your @EXPORT

The do is to introduce a new scope during an assignemnt. "not work for me" is rather vague - you want to elaborate, possibly with the actual error message?

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
  • Comment on Re^3: Automatically add all defined functions to your @EXPORT

Replies are listed 'Best First'.
Re^4: Automatically add all defined functions to your @EXPORT
by pobocks (Chaplain) on Jan 23, 2009 at 04:45 UTC

    Ahem. Sorry. By "not work for me," I meant "silently compiles and runs with no errors, not printing... and it stopped doing that, making me think it was a 4am transcription error or some such. Question withdrawn!

    for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://738371]
help
Chatterbox?
[moritz]: seems there's a size limit for hostenum, and the error message just sucks
[vrk]: None, other than the location of the error: auto/NetAddr/IP/ _splitref.al
[vrk]: Aha, there's a reference to "bug report 82719" in NetAddr/IP.pm's sub _splitref.
[moritz]: wow, that's their idea of an "improved error message"
[moritz]: how about "This network is too large to enumerate all host addresses." or so?
[vrk]: Well, there's a call to notcontiguous() before the error, whose description is "counts the bit positions remaining in the mask when the rightmost '0's are removed"
[vrk]: Clear as mud!

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2017-04-25 07:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (449 votes). Check out past polls.