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

Re: subroutine is confusing

by cLive ;-) (Prior)
on Feb 08, 2008 at 10:02 UTC ( #666946=note: print w/replies, xml ) Need Help??

in reply to subroutine is confusing

Well. What happened when you tried it?

Are you really so lazy that you cannot run a two line script to see if it works or not?

And then read perldoc perlsub for further information.

Replies are listed 'Best First'.
Re^2: subroutine is confusing
by Abhisek (Novice) on Feb 08, 2008 at 10:36 UTC
    i am not yet given the permission to touch the script
      So? Copy it into a new file, initialize the variables with test values, and run that. No big deal.

      BTW you don't need <readmore>-tags around single lines. No readmore needed for post with less than, let's say 30 lines.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://666946]
[1nickt]: sad but true erix

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2017-11-18 22:07 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (278 votes). Check out past polls.