Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Very curious Problem...

by CountZero (Bishop)
on Jan 24, 2013 at 07:31 UTC ( #1015097=note: print w/ replies, xml ) Need Help??


in reply to Very curious Problem...

May I comment that in general you probably do not want to define your subs with parentheses after the sub-name as this is the syntax for using prototypes. Neither do you want to call your subs with a pre-pended &. Not only is it old ("Perl 4") style, it has side-effects, such as disabling the prototype system.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics


Comment on Re: Very curious Problem...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2015-07-06 11:40 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 (73 votes), past polls