Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Continuity: Continuation-Based Web Applications

by awwaiid (Friar)
on Jan 20, 2005 at 23:00 UTC ( [id://423821]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      print "Enter the first number: ";
      my $a = <>;
      print "Enter the second number: ";
      my $b = <>;
      print "The sum of $a and $b is " . ($a + $b) . "\n";
    
  2. or download this
    sub addTwo {
      my ($self) = @_;
    ...
      my $b = $self->getNum("Enter second number: ");
      $self->disp("The sum of $a and $b is " . ($a + $b));
    }
    
  3. or download this
    ##### --- index.pl ----
    #!/usr/bin/perl
    ...
    }
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://423821]
Approved by erzuuli
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-28 23:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found