How to use my Modules.pm?

Alles, was Perl betrifft, kann hier besprochen werden.

How to use my Modules.pm?

Postby Mpals » 29. June 2006 19:41

Hello to all.
Sorry but i don't understand a single sentence of german :(. Some words i can get the ideia :).

Well my problem:

I can run *.cgi but i add a directory cgi-bin/Modules with my *.pm but i can't use them!!!

My index.cgi starts with...
#!"C:\Programas\xampp\perl\bin\perl.exe" ( XAMPP :) )
#!
#perl (other windows program)
#!
#/usr/bin/perl -w (Linux)

use strict;
no strict "vars";
use CGI::Pretty qw(:standard);
use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
use Modules::Mainpage;
use Modules::Gplsmail;
use Modules::Readfiles;


my $start_dir = './SomeData/Start_Data'; # cgi-bin/SomeData

my $dir_in = $start_dir.param('file2'); # Querystring parameter

my @dados = read_data($dir_in); # Method from Modules::Readfiles

...
...
...


Can i use my Modules?
Can i use paths like ./BLABLA ?

Thanks for your time, and help :).

I'm also using PHP and everything is working just fine ;).

Keep the good work.
Mpals
 
Posts: 3
Joined: 29. June 2006 19:20

Postby Mpals » 03. July 2006 16:21

Please, anyone?4 days without ans answer... I'm getting so frustrated :S

Some configurations that is missing? Anything...
Mpals
 
Posts: 3
Joined: 29. June 2006 19:20

Postby Mpals » 03. July 2006 19:36

I found the answer :P ... i hope that someone helps me next time... :(
Mpals
 
Posts: 3
Joined: 29. June 2006 19:20


Return to Perl

Who is online

Users browsing this forum: No registered users and 23 guests