View Single Post
  #8 (permalink)  
Old 03-12-2008, 03:19 PM
pvpchina pvpchina is offline
Newbie
 
Join Date: Mar 2008
Posts: 9
Credits: 0
Rep Power: 0
pvpchina is on a distinguished road
Default Re: Need a perl study-buddy

#!/usr/bin/perl -w
use strict;
sub funky();


funky();
print(funky()."\n");

my $random = <STDIN>;

print(funky().$random);


sub funky(){

my $var1 = $_[0] * 30;

return $var1;
}




also need help with this one.. duno why it doesnt work =(
Reply With Quote