On Thu, Feb 19, 2015 at 8:37 AM, nicolas wrote:
>
> When I did
> perl -V:sitelib
> sitelib='/usr/local/share/perl/5.18.2';
> I can browse usr/local/share/ but I annot access /perl/5.18.2
>
Well, that @INC is compiled into the Perl exe, so it doesn't have to exist.
You can create the path yoursel
share/perl/5.18.2»: Aucun fichier ou dossier de ce type
Impossible to create a file «/usr/local/share/perl/5.18.2»
Thanks
Sent: Wednesday, February 18, 2015 at 6:39 PM
From: "Brandon McCaig"
To: nicolas
Cc: beginners@perl.org
Subject: Re: can locate pm
Nicolas:
On Wed, Feb
From: nicolas
Sent: Thursday, February 19, 2015 10:14 AM
To: beginners@perl.org
Subject: can locate pm
Hello,
I used to work with a perl script that contains (use vt.pm). (vt.pm are
code that complement the script) I remember that I have to copy the vt.pm
file in perl somewhere. Since I am
Nicolas:
On Wed, Feb 18, 2015 at 6:14 PM, nicolas wrote:
> Hello,
Hello,
> I used to work with a perl script that contains (use vt.pm).
> (vt.pm are code that complement the script) I remember that I
> have to copy the vt.pm file in perl somewhere. Since I am not
> ve
Hello,
I used to work with a perl script that contains (use vt.pm). (vt.pm are code that complement the script) I remember that I have to copy the vt.pm file in perl somewhere. Since I am not very familar with programming my question is where to excaclly copy this *.pm so I can use my script
A while back Andrew Solomon wrote:
> > For the last few years I've been developing Geekuni to provide an
> >> automated online 'tutor-bot' to help new users learn Perl.
> >>
> >> I've been beta testing it on people at the London Perl Workshop as
> >> well as graduate recruits at NET-A-PORTER - on
I looked at the source of Vector.pm and I found that there is no
method as "UnitVecPoints".
There is however a method named "UnitVectorPoints". I think you are looking
for that. Try to rename it in Vector.pm.
On Thu, Sep 12, 2013 at 4:23 PM, Gurunath Katagi
wrote:
> Hi ev
Hi Dariusz,
On Thu, 9 May 2013 10:08:38 -0500
Dariusz Dolecki wrote:
> How do I add existing custom built perl modules that were built on a
> different system to another one, I have copied over the .pm file.
>
Put them in the @INC :
[ IRC ]
perlbot: @INC
rindolf: To change @INC
How do I add existing custom built perl modules that were built on a
different system to another one, I have copied over the .pm file.
Thanks in advance.
On 11-09-05 02:12 AM, Shlomi Fish wrote:
I should note that you
may be prematurely optimising here, so you shouldn't worry about getting a
lot of code compiled, until you are sure it's the bottleneck:
http://c2.com/cgi/wiki?PrematureOptimization
I have to agree with Shlomi. I also think that
methods here...
>
> 1;
>
> ---
>
> package Framework;
> #file Framework.pm
> use Widget;
> use Table;
> 1;
>
> ---
>
> What I was doing was adding "use Widget;" and "use Table;" to the top of the
> program that uses these classes.
rt several methods here...
1;
---
package Framework;
#file Framework.pm
use Widget;
use Table;
1;
---
What I was doing was adding "use Widget;" and "use Table;" to the top of the
program that uses these classes. But, because I expect this library of classes
to grow significan
Begginers
Inviato: Gio 7 ottobre 2010, 14:28:11
Oggetto: Re: [Milan-pm] New note on page5notebook
My idea is to throw away the SQL almost completely to 90% of the
queries. When the queries are a little bit more complex, I'd prefer to
create a View and use a simple interface.
I never did a Pr
+- 5 hours/week.
Best Regards
Marcos Rebelo
On Thu, Oct 7, 2010 at 12:08 PM, Oha wrote:
> On 10/07/2010 11:27 AM, marcos rebelo wrote:
>>
>> but for such a simple query, I would prefer
>>
>> eval {
>> my $ss = SmartSelect->new($dsn, $user, $password);
>&g
directory so other people that
> don't know Perl can edit them ( after that they accept the '?' special
> character :)
>
> Bye,
>
> see you the next meeting
>
>
> Da: marcos rebelo
> A: milan...@pm.org; nl...@amsterdam.pm.o
>> Please comment this ore any other recipe.
>>
>> Remember that you may also propose some other useful recipe.
>>
>> Best Regards
>> Marcos Rebelo
>>
>>
>>
>> --
>> Marcos Rebelo
>> http://oleber.freehostia.com
>> Milan
; Marcos Rebelo
>
>
>
> --
> Marcos Rebelo
> http://oleber.freehostia.com
> Milan Perl Mongers leader http://milan.pm.org
> Webmaster of http://sites.google.com/site/oleberperlrecipes/
> ___
> Milan-pm mailing list
> mila
On Mon, Sep 8, 2008 at 3:04 AM, Raul Ruiz Jr. <[EMAIL PROTECTED]> wrote:
> I am taking an online ceu course in scripting with Unix. I have been stumped
> by this project. Can anyone out there help me out a bit. I created a script
> at the bottom and it does not quite work. What am I missing?
> I kn
On Oct 11, 6:43 am, [EMAIL PROTECTED] (Siva Prasad) wrote:
> Hi Gurus,
>
> I have a written a package (and named it as Connection.pm).
>
> I am calling this module in a perl script and everything is working fine.
>
> Now How can I make the connection.pm as module so that I can install it as
> other
there're some ways to do that.One easy way is to use module-starter,see:
http://search.cpan.org/~petdance/Module-Starter-1.42/bin/module-starter
2007/10/11, Siva Prasad <[EMAIL PROTECTED]>:
> Hi Gurus,
>
>
>
> I have a written a package (and named it as Connection.pm).
>
>
>
>
>
> I am calling th
Hi Gurus,
I have a written a package (and named it as Connection.pm).
I am calling this module in a perl script and everything is working fine.
Now How can I make the connection.pm as module so that I can install it as
other modules that are available in CPAN.
Thanks,
PP
2007/10/10, Patrik Hasibuan <[EMAIL PROTECTED]>:
> Dear my friends...
>
> Which pm can I use for parsing HTML tags?
>
Hi,
Do you know CPAN.org?you can search it with any keywords you want at first.
For your question,maybe HTML::Parser is suitable.see:
http://search.cpan.org
Dear my friends...
Which pm can I use for parsing HTML tags?
Thanks in advance.
--
Patrik Hasibuan <[EMAIL PROTECTED]>
Junior Programmer
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
On Sep 28, 5:18 pm, [EMAIL PROTECTED] (Jeremy Kister) wrote:
> Given the below code, is there something that will warn/prevent me from
> declaring $variable when i really meant @variable ?
>
> I usually use perl -wTc scriptname to check for silliness, but i've
> realized code
On 9/28/07, Chas. Owens <[EMAIL PROTECTED]> wrote:
> The strict pragma is lexically scoped, so you need to use it again
> after the package statement. It is probably a good idea to turn on
> warnings as well.
To be sure, I don't think that's an accurate description of the
effects of lexical scop
On 9/28/07, Jeremy Kister <[EMAIL PROTECTED]> wrote:
> Given the below code, is there something that will warn/prevent me from
> declaring $variable when i really meant @variable ?
snip
> package My::Example;
> sub new {
> return bless({}, shift);
> }
> sub go {
> my $variable;
>
Given the below code, is there something that will warn/prevent me from
declaring $variable when i really meant @variable ?
I usually use perl -wTc scriptname to check for silliness, but i've
realized code in the below fashion won't be reported. This got me very
confused under mod_perl, becau
You've solved my problem, Chas.
Thank you very...very...much. I really appreciate your help.
On Mon, 17 Sep 2007 16:39:08 -0400
"Chas Owens" <[EMAIL PROTECTED]> wrote:
> On 9/17/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote:
> snip
> > I want to get a cont
om: Patrik Hasibuan <[EMAIL PROTECTED]>
> > Dear my friends...
> >
> > I want to get a content of a URL (like curl does). Which pm can I use?
> >
> > I'm facing a development restriction that my perl-code is going to be
> > run on a webhosting company'
From: Patrik Hasibuan <[EMAIL PROTECTED]>
> Dear my friends...
>
> I want to get a content of a URL (like curl does). Which pm can I use?
>
> I'm facing a development restriction that my perl-code is going to be
> run on a webhosting company'es server and I do
Dear my friends...
I want to get a content of a URL (like curl does). Which pm can I use?
I'm facing a development restriction that my perl-code is going to be run on a
webhosting company'es server and I do not have libcurl there so I can not use
libcurl and 'curl binding of per
On 9/17/07, Patrik Hasibuan <[EMAIL PROTECTED]> wrote:
snip
> I want to get a content of a URL (like curl does). Which pm can I use?
snip
You probably want LWP::Simple (specifically its get function):
#!/usr/bin/perl
use strict;
use warnings;
use LWP::Simple;
my $content = get &qu
Hi,
How is it possible to include personal modlule .pm in a make file? i have
included
PM => {
'path_to_pm_file' => 'pm_file'
}
in Makefile.PL but doesn't work.
if for ex, file.pm is in /home/file.pm, how should I specify? like
'/home/file.pm'
On 1/8/07, xavier mas <[EMAIL PROTECTED]> wrote:
I want to install the Copy::File module and utf-8 pragma
If Perl is properly installed, you should have the File::Copy module
and all pragmas installed as well. So if you don't have those,
re-install Perl. Good luck with it!
--Tom Phoenix
Stone
Hi, list!
I want to install the Copy::File module and utf-8 pragma but I can download
only the .pm file. How do I have to install it? Or Where do I have to copy it
if that is the case -I guess this is the unzip and file to install?
Thanks a lot for your help.
--
Xavier Mas
--
To
self is your own home folder and "~name" is the home
directory of the user account named "name". Therefore, you're implying
here that you have a distinct "cpan" user, which seems unusual.
* following that, "~.pm" could be interpreted as the ".pm&
Hello,
I get the error below when trying to update CPAN using perl -MCPAN -e
'install Bundle::CPAN'
The bundle file ~cpan\Bundle\CPAN.pm may be a broken handlefile.
It seems not to contain any bundle definition. Please check
The file and if it is bogus, please delete it..
On Apr 6, 2005, at 12:22, lohit wrote:
i have a strange requirement where in i have certain functionality to
be achieved by calling a perlscript. say script.pl
but i also have to seperate these functionalities in a module script.pm
A different thread today reminded me that caller() could be useful
On Apr 6, 2005 8:26 PM, Lawrence Statton <[EMAIL PROTECTED]> wrote:
>
> > Hi there,
> >
> > i have a strange requirement where in i have certain functionality to
> > be achieved by calling a perlscript. say script.pl
> > but i also have to seperate thes
> Hi there,
>
> i have a strange requirement where in i have certain functionality to
> be achieved by calling a perlscript. say script.pl
> but i also have to seperate these functionalities in a module script.pm
>
> how woudl you design a case where in script.pm provides certain
> functions, ye
Hi there,
i have a strange requirement where in i have certain functionality to
be achieved by calling a perlscript. say script.pl
but i also have to seperate these functionalities in a module script.pm
how woudl you design a case where in script.pm provides certain
functions, yet be able to wor
> "Jay" == Jay Savage <[EMAIL PROTECTED]> writes:
Jay> I respectfully disagree. I blame Richard Stallman for my habits, not
Jay> Bill Gates, et. al. 'emacs test' when creating a file opens it in
Jay> Text Fill, but 'emacs test.pl' when creating a file saves me 'M-x
Jay> perl-mode' (or 'M-x Cp
On 30 Mar 2005 07:07:56 -0800, Randal L. Schwartz wrote:
> >>>>> "Chris" == Chris Devers <[EMAIL PROTECTED]> writes:
>
> Chris> By convention, the .pm extension denotes Perl modules -- libraries used
> Chris> by other scripts but not run direc
Mike Lesser <mailto:[EMAIL PROTECTED]> wrote:
: Is the library file thing passe? I was going to put some stuff in a
: library, but I get the impression that I should jump right to a pm.
: As a newbie this is a little daunting.
I use .pl for scripts and .pm for modules. Modules
ession that I should jump right to a pm. As a newbie this is a
little daunting.
Mike
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On Wed, 30 Mar 2005, Randal L. Schwartz wrote:
> >>>>> "Chris" == Chris Devers <[EMAIL PROTECTED]> writes:
>
> Chris> By convention, the .pm extension denotes Perl modules -- libraries
> Chris> used by other scripts but not run directly -- and .p
>>>>> "Chris" == Chris Devers <[EMAIL PROTECTED]> writes:
Chris> By convention, the .pm extension denotes Perl modules -- libraries used
Chris> by other scripts but not run directly -- and .pl denotes Perl scripts --
Chris> programs that *are* meant to b
Srikrishna Raghammudi wrote:
Can Any body pls tell me the differnece between .pm and .pl files.
.pl was used in Perl4 and earlier to designate Perl Libraries and when Perl5
came out .pm was used to designate Perl Modules.
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL
On Tue, 29 Mar 2005, Srikrishna Raghammudi wrote:
> Can [anybody] [please] tell me the differnece between .pm and .pl
> files[question mark]
By convention, the .pm extension denotes Perl modules -- libraries used
by other scripts but not run directly -- and .pl denotes Perl scripts --
pr
Can Any body pls tell me the differnece between .pm and .pl files.
Thanks,
Krishna
-
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
uting)
Software Developer
Wild Technology Pty Ltd
> -Original Message-
> From: Anish Kumar K. [mailto:[EMAIL PROTECTED]
> Sent: Monday, 31 January 2005 7:42 PM
> To: beginners perl
> Subject: Subroutine redefined at ***.pm error
>
> Hi I am using a perl module in which
Hi I am using a perl module in which I have used some routines.
and when I complile the script with
perl -w .pm
I get these errors( like routine redefined)
Subroutine ExpiryMessage redefined at **.pm line 1200.
Subroutine InstructorExpiryMessage redefined at ***.pm line 2454.
Subroutine
Bob, thanks!
Interesting.. the C file is there (but I couldn't get it to compile.)
I though they were just 2 different methods of using the module (.pm or
.c)..
So is it a rule that all .pm files must have supporting compiled c code
somewhere else?
I will read the doc also,
Thanks, I ho
Mark Henry wrote:
> All, going to try this one again, sorry..!
>
> ---
>
> Hi,
>
> I'm trying to use a perl module that a tool I got, ccmeter.pl,
> requires and I can't no matter what I do..
>
> I'm on hpux11.11, and the script was written for 5.005_03 so that's
> what I'm including at the top
All, going to try this one again, sorry..!
---
Hi,
I'm trying to use a perl module that a tool I got, ccmeter.pl, requires and
I can't no matter what I do..
I'm on hpux11.11, and the script was written for 5.005_03 so thats what I'm
including at the top of the perl script ( #!/apps/perl-5.005_0
> first, sorry for top post. Second, I am trying to convert my html/pm files
> to oop (pm). Can anyone give me some understanding of perl modules and
some
> examples. Specifically to 'bless()' and a general over view. I have
searched
> cpan/perl monks etc.
>
perldoc -f b
first, sorry for top post. Second, I am trying to convert my html/pm files
to oop (pm). Can anyone give me some understanding of perl modules and some
examples. Specifically to 'bless()' and a general over view. I have searched
cpan/perl monks etc.
thanks in advance
R.
-Origin
From: zentara <[EMAIL PROTECTED]>
> On Wed, 12 Mar 2003 12:02:52 -0500, [EMAIL PROTECTED] (Susan
> Aurand) wrote:
>
> >I am getting an error can't locate ASN1.pm, I have tracked that down
> >to - I need Convert-BER-1.25.tar.gz. I have downloaded the file. I
>
On Wed, 12 Mar 2003 12:02:52 -0500, [EMAIL PROTECTED] (Susan
Aurand) wrote:
>I am getting an error can't locate ASN1.pm, I have tracked that down to - I need
>Convert-BER-1.25.tar.gz. I have downloaded the file. I cannot find the documents on
>this download,
>where to un
I am getting an error can't locate ASN1.pm, I have tracked that down to - I need
Convert-BER-1.25.tar.gz. I have downloaded the file. I cannot find the documents on
this download,
where to unzip and load, etc... Does anybody know.
Thanks - Susan
--
To unsubscribe, e-mail: [EMAIL PROT
>
> Hi all, this is most likely a silly question but in the past I have just
> did installs of Perl modules using the perl -MCPAN -e shell command. How
> do you install a .pm file if you already downloaded from somewhere? Thanks
> in advance as always!
>
> The stan
Hi-
The standard way to install a downloaded .pm is:
tar ...
cd to created subdir
perl Makefile.PL
make
make test
make install
See the README after untaring to make sure.
Aloha => Beau.
-Original Message-
From: Jessee Parker [mai
just open the package up and read the Readme file, it will tell you how to
install it
> -Original Message-
> From: Jessee Parker [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 04, 2002 12:39 PM
> To: [EMAIL PROTECTED]
> Subject: Installing a PM on Linux
>
>
&
Hi all, this is most likely a silly question but in the past I have just did
installs of Perl modules using the perl -MCPAN -e shell command. How do you
install a .pm file if you already downloaded from somewhere? Thanks in
advance as always!
Jessee
--
To unsubscribe, e-mail: [EMAIL
Do you have a C compiler?
-Original Message-
From: Connie Chan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 24, 2002 9:40 AM
To: [EMAIL PROTECTED]
Subject: Re: PM installation problem
Thanks a lot =) but this method don't work for me...
because the cpan server ( I guess )
om: "Akens, Anthony" <[EMAIL PROTECTED]>
To: "Connie Chan" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 12:26 AM
Subject: RE: PM installation problem
If you're using activestate perl on your windows box, just use ppm.
Just
AM
To: [EMAIL PROTECTED]
Subject: PM installation problem
I 've just downloaded a "Imager" module, however, that's a .tar.gz file
and I am using Win Me. After I extract the file, there are quite sort of
files and dirs. So... how can I install it to my Perl lib or site/lib
I 've just downloaded a "Imager" module, however, that's a .tar.gz file
and I am using Win Me. After I extract the file, there are quite sort of
files and dirs. So... how can I install it to my Perl lib or site/lib ?
Rgds,
Connie
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
I figured out why this isn't working. There already exists a module called
B.pm in the perl/lib directory. If you change the name of module B.pm to
something else, then it works!!
Thanks!!
-Original Message-
From: Paul [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 5:11
--- "Morse, Loretta" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Does anybody know how to call a subroutine that is in a .pm file from
> another .pm file.
Given A.pm
===
package A;
sub a { return "a!\n"; }
1;
===
and B.pm
===
packa
Try throwing this into file2.pm:
sub AUTOLOAD {
print "What hath god wrought?\n"
}
And then call:
file2->any_function_name;
That is if you have a:
use file2;
AUTOLOAD is a catch all function, method really, but this should work
considering how Perl b
Morse, Loretta ([EMAIL PROTECTED]) wrote:
> Thanks for the suggestions however I think I need to clarify
> what I'm trying to do.
>
> I am using a WinNT system and I'm running a script that calls
> a subroutine in file1.pm. Then file1.pm calls a subroutine
> from fil
you might consider using the Package pragma:
(File1.pm)
use strict;
Package File1;
sub foo {
print("Foo!\n");
}
(end File1.pm)
(File2.pm)
use strict;
Package File2;
use File1;
sub foo {
print "File1::foo() -> ";
File1::foo();
}
(end File2.pm)
(file main.pl)
: I am using a WinNT system and I'm running a script that calls
: a subroutine in file1.pm. Then file1.pm calls a subroutine
: from file2.pm. The script can't seem to find the subroutine
: that in is in file2.pm.
Does your file1.pm have "use file2" in it?
-- tdk
Thanks for the suggestions however I think I need to clarify
what I'm trying to do.
I am using a WinNT system and I'm running a script that calls
a subroutine in file1.pm. Then file1.pm calls a subroutine
from file2.pm. The script can't seem to find the subroutine
that in
Morse, Loretta ([EMAIL PROTECTED]) wrote:
>
> Hello,
>
> Does anybody know how to call a subroutine that is in a .pm file from
> another .pm file.
That depends:
First you have to load the file via 'require' or 'use' - perldoc them.
If your other .pm cre
>Does anybody know how to call a subroutine that is in a .pm file from
>another .pm file.
Welp, if &subroutine_1 is in Library1.pm,
then within Library2.pm, you could do something like:
sub subroutine_2 {
require "/path/to/Library1.pm";
&subroutine_1;
}
Hello,
Does anybody know how to call a subroutine that is in a .pm file from
another .pm file.
78 matches
Mail list logo