For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > October 2004 > help me









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author help me
Rocky Karhe

2004-10-30, 3:55 pm

hi

can anybody tell me where can i get help for perl like:
1) param()
2) RMD::ForgotPass
why :: is used
3) defined keyword

thanx in advance
rocky....

________________________________________
_________________________
Yantras for power and success. Yantras for peace and joy.
http://www.astroyogi.com/NewMsn/astroshopping/yantra/ Yantras that change
your life.

Ged Murphy

2004-10-30, 3:55 pm

rocky karhe wrote:
>i am new to php.
>Can u plz elaborate how to get it from headers.
>Is there any function to do so.


This is perl, not php.
I'm new also but seeing as the list is quiet I'll have a go.

Are you familiar with objects?

A quick search on CPAN pulled up the Mail::Folder module.
This has a get_header method.

From Perl In A Nutshell:
$folder->get_header(msg_num)

Extracts a message header; takes one argument: the message number. Returns
a reference to a Mail::Header object.


You'll need to set up the folder object first:

$folder = new(ftype[, foldername][, options])



****************************************
********************************
The information contained in this message or any of its
attachments is confidential and is intended for the exclusive
use of the addressee. The information may also be legally
privileged. The views expressed may not be company policy,
but the personal views of the originator. If you are not the
addressee, any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited.
If you have received this message in error, please contact
postmaster@exideuk.co.uk
<mailto:postmaster@exideuk.co.uk> and then delete this message.

Exide Technologies is an industrial and transportation battery
producer and recycler with operations in 89 countries.
Further information can be found at www.exide.com


Bee

2004-10-30, 3:55 pm


----- Original Message -----
From: "rocky karhe" <rocky_karhe@hotmail.com>
To: <beginners@perl.org>
Sent: Saturday, October 30, 2004 7:59 PM
Subject: help me


> hi
>
> can anybody tell me where can i get help for perl like:
> 1) param()


perldoc -m cgi

> 2) RMD::ForgotPass
> why :: is used


Depends on how this be declared, if you saw this like :

use RMD::ForgotPass;

It means that this script is trying to include a package located in
RMD/ForgotPass.pm inside anyone of the lib included directory.

Or, if you see the line exists like this :

$something = RMD::ForgotPass ( $argument );

That mean a module RMD is included and the script is going to
use the sub (function) 'ForgotPass' inside package RMD.


> 3) defined keyword
>


perldoc -f defined


HTH,
Bee



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com