Re: marine subroutine



Hi,


I don't get that either !!!

#!/bin/perl
### junk.pl ###
use strict;
use warnings;

sayhello();


sub sayhello {

print "hello\n";

}


thats because you're not using perls prototyping feature at all.

if you define your sub that way:

sub sayhallo() {
print "hello\n";
}

then you'll get one.
.



Relevant Pages

  • RE: Reuse code on multiple pages of project
    ... Thats a good practical start. ... ' Make the sub public so you can call the sub if you want to call it from the outside ... When you say that a method is shared, like you do with SetFocus, you make it so that the user of that function doesnt have to instantiate the class to an object to use the function. ... Put your class in a namespace and make all its functions shared. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Thread A notifying Thread B of an Event
    ... > There are two threads, A & B, that continously run and are started by Sub ... Dim ThreadA as new System.Threading.thread ... And thats about it... ... > may jus stick with the timer method. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Debug Q
    ... thats why I tended to copy, then paste / special with the target sheet. ... > End Sub ... >>> Don Guillett ... >>> SalesAid Software ...
    (microsoft.public.excel)
  • Re: register css style sheet
    ... but you can dynamically allocate them via attributes if thats ... Sub Page_Load(Sender As Object, E As EventArgs) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Many Tried It Byt Can U...
    ... I did as u recommended but now i have a scenario, ... from A1 and The result in B1 shows No thats fine but i want to do the ... ) Is Nothing Then Exit Sub ... Student, working on a project ...
    (microsoft.public.excel.programming)