in reply to Re^3: Undefined subroutine - newbie problem
in thread Undefined subroutine - newbie problem
and gts/pts code (just that important):use strict; use warnings; use vars qw($a $b @wyniki); $a = 6; #kostka $b = 10; #licznik @wyniki = (); require gts; #generate_throws_simple require pts; #print_throws_simple gts->import(); pts->import(); print "\n-------------------STANDARDOWE LOSOWANIE----------------\n"; print_throws_simple(generate_throws_simple($a,$b)); #standardowe losow +anie
require Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(print_throws_simple); # symbols automatically exporte +d our @EXPORT_OK = qw(); # symbols exported on request our %EXPORT_TAGS = (); # TAG => [qw(name1 name2)] # ...............................................
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Undefined subroutine - newbie problem
by Anonymous Monk on Aug 15, 2012 at 02:26 UTC |