sanket vaidya wrote:

>Whereas the output on perl 5.6.1 is
>
>Hello!!1

Ummm, beg to differ



#!/usr/bin/perl
use strict;
use warnings;
sub hello;

my $ref = \&hello;

&{$ref};


sub hello {
  print "hello!!";
}


[EMAIL PROTECTED]:~$ perl -l pbml.pl 
hello!!
[EMAIL PROTECTED]:~$ perl -v 

This is perl, v5.6.1 built for i386-linux


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to