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

Re: Sort and related stuff

by leons (Pilgrim)
on Feb 23, 2001 at 15:25 UTC ( #60463=note: print w/ replies, xml ) Need Help??


in reply to Sort and related stuff

I just added:

my @dummy=sort byVersion ();

To the top of my first example and that actually 'solves'
the problem. No error message appeared and the program actually
returns:

./ssrmpilot@IBP-test$ ./sort.s
1.1.1.1 is less than 1.1.1.2

I guess this means that when the compiler finds a certain
subroutine in combination with sort somewhere in the
code, it decides that it must be a 'sort'-function and will
therefore be treated different than a regular subroutine ...

.... I'm still puzzled .... ;-)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2016-06-30 15:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.