Hi Friends,
Any suggestions on how one can map usernames between unix/windows machines.
Eg:
Administrator->root
Any modules/thoughts??.
-Sharad
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, 2003-08-29 at 14:56, Thomas Browner wrote:
> Can some one tell me where I can find a good how to on perl and tk.
>
Thomas,
Good articles, and several Perl/Tk scripts/widgets and contributions can
be found at perltk.org. Also there's a list for Perl/Tk at
lists.perl.org.
Hope this helps
On Wed, 20 Aug 2003 12:59:31 +1000, Vema Venkata wrote:
> The problem still persisits pls. help/suggest me what to do ?
How about testing your cron tab data with the cron2english perl script mentioned in
the following article?
http://use.perl.org/~TorgoX/journal/14037
/oliver/
--
To u
> What is the best library to handle pictures?
Image::Magick is a great tool for creating thumbnails, it is both easy and
the shrunk images still look good.
http://search.cpan.org/author/JCRISTY/PerlMagick-5.57/Magick.pm
If you are running the ActiveState version of Perl, be sure to get it from
Hi,
I would like to write a program to manage my pictures colection and
generate statics html pages for view the pics. I would like to use Perl
to do this, as a way to learning more about the language. What resources
from Perl do you suggest I to use? What is the best library to handle
picture
In article <[EMAIL PROTECTED]>, Vema Venkata
wrote:
> Hi Dan
>
> The problem still persisits pls. help/suggest me what to do ?
Try comp.unix.admin
--
Kevin Pfeiffer
International University Bremen
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting suc
Can ayone assist in figuring this one out, please.
I have just installed perl 5.6.1 on our hpux server. It went in fine. I then
installed (from source) the new Date::Calc module and it went in fine without errors.
BUT, when I run one of our scripts (perf) that uses the Date::Calc functionalit
I'll skip over most of your mail, and go right to the heart of the matter...
> I am trying to return an array of
> all records in the subroutine below.
#
# ...WARNING: UNTESTED CODE AHEAD...
#
sub getcols {
# I prefer this over the ($table) syntax...
# but it has the same end result
my $t
Howdy:
I am trying to return an array of
all records in the subroutine below.
I want to hold all of that info
in one location so that I can use
it (each row and each column of said
row) later in a program.
In the $sql part, I had the 'selectrow_array';
as was noted to me in another email, it re
Hi,
In article
<[EMAIL PROTECTED]>, Rob
Hanson wrote:
> Just to throw out another idea, you can also do this...
>
> my $name = "Anthony Bob";
> my @letters = grep {!/\s/} split('', $name);
>
> # to test
> print "@letters";
>
> It also looks like you wanted upper case. You can do that with thi
I don't know if someone already replied to this. I ran into this issue on
Windows. I overcame it by editing the Makefile.PL and removing the entry
PREREQ_PM from the hash and doing
perl Makefile.PL
(n)make
(n)make install
Try it out
Rajesh
-Original Message-
From: Sylvain Masnada [mailt
Sorry that this is ugly - I wrote it quickly one day...
It checks for the file, and makes sure the date stamp is within 10 minutes.
(Date::Manip was overkill for this). Who knows, I may have stolen this code
from someone else -- nah...too ugly.
#!/usr/bin/perl
use File::stat;
use Date::Manip;
my
Can some one tell me where I can find a good how to on perl and tk.
Thomas Browner
Digidyne, Inc
Technical Engineer
(251)479-1637
Nigel Peck wrote:
>
> In Perl can I say:
>
> if this = that or that or that
>
> instead of saying:
>
> if this = that or this = that or this = that
No.
What do you want?
if ($this == $that) {
:
}
elsif ($this == $that) {
:
}
elsif ($this == $that) {
:
}
else {
:
}
Actually, using glob works easily enough:
$file = glob "$DATA_HOME/KeyLinks\*.csv";
print $file;
print "\n";
I now get as output:
/warehouse/data/KeyLinks_082703_010101.csv
Thanks.
-Original Message-
From: Robert J Taylor [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent
On Fri, 2003-08-29 at 13:54, Paul Kraus wrote:
> That is how I built it. Apache 2 Mod_Perl2 and the current release of
> mason as of this morning.
>
> My question is do I need to learn cgi.pm, should I not bother and get a
> book on mod_perl because the info is redundant or not needed with
> mod_p
Typeo should be $my not #my
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 1:55 PM
To: 'Nigel Peck - MIS Web Design'; [EMAIL PROTECTED]
Subject: RE: or operator
If ($my eq $this) || (#my eq $this2) {
code;
}else{
more code;
}
If ($my eq $this) || (#my eq $this2) {
code;
}else{
more code;
}
HTH
-Original Message-
From: Nigel Peck - MIS Web Design [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 1:50 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: or operator
In Perl can I say:
if
Visit http://www.masonhq.com for Mason information, list archives,
documentation, etc.
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 10:50 AM
To: [EMAIL PROTECTED]
Subject: HTML::Mason - Upload File
I can't sub to the mason list.
I get the c
That is how I built it. Apache 2 Mod_Perl2 and the current release of
mason as of this morning.
My question is do I need to learn cgi.pm, should I not bother and get a
book on mod_perl because the info is redundant or not needed with
mod_perl. I am confused on how the pieces fit/work together.
Pa
Mason, by default, uses mod_perl. (If you're using a handler, your using
mod_perl).
Mason _can_ run under CGI (or without a web server) but you have to
intentionally deviate from the standard installation to do this.
-Original Message-
From: Paul Kraus [mailto:[EMAIL PROTECTED]
Sent: Frid
In Perl can I say:
if this = that or that or that
instead of saying:
if this = that or this = that or this = that
Cheers,
Nigel
Managing Director
MIS Web Design
http://www.miswebdesign.com/
Administrator
AccessifyForum.com
http://www.accessifyforum.com/
--
To unsubscribe, e-mail: [EMAIL PR
On Fri, 2003-08-29 at 13:43, Paul Kraus wrote:
> Is mod_perl a replacement for CGI?
>
> If just getting involved with perl and the web (Not new to perl) what is
> the better option mod_perl or cgi?
> This is on an apache server.
>
> I choose mason thinking it was a replacement for both I know see
I can't sub to the mason list.
I get the confirm email and if I reply or send a blank message with
confirm xxx in the body it just bounces..
Your message to mail.sourceforge.net was rejected.
I said:
RCPT To:<[EMAIL PROTECTED]>
And mail.sourceforge.net [66.35.250.206] responded with
Is mod_perl a replacement for CGI?
If just getting involved with perl and the web (Not new to perl) what is
the better option mod_perl or cgi?
This is on an apache server.
I choose mason thinking it was a replacement for both I know see it is
not. All though it is great!! But now I need to learn
Kevin Struckhoff wrote:
> Using Perl 5.6.1 on HP-UX.
>
> I need to test for the existence of a file every day. The filename
> changes each day because the filename contains a data and time stamp.
> For example, today's filename is KeyLinks_082903_120712.csv. So I
> would like to test for KeyLinks*
Using Perl 5.6.1 on HP-UX.
I need to test for the existence of a file every day. The filename
changes each day because the filename contains a data and time stamp.
For example, today's filename is KeyLinks_082903_120712.csv. So I would
like to test for KeyLinks*.csv
My code is as follows:
-
On Fri, 2003-08-29 at 13:14, Paul Kraus wrote:
> Can someone point me to some information on how to use mason to upload a
> file to a webserver?
>
> We have an intranet setup and I am creating a page that will allow are
> adv dept to send out are weekly newsletter/fax.
>
> The need to be able to
Can someone point me to some information on how to use mason to upload a
file to a webserver?
We have an intranet setup and I am creating a page that will allow are
adv dept to send out are weekly newsletter/fax.
The need to be able to upload the faxlist and the postscript file.
Once on the serve
Imtiaz Ahmad wrote:
>
> Hi-
Hello,
> Can someone please tell me how do I modify following line so that the result
> gets stored in the var.
>
> $count = system("$command $archive_dir | $grep_command -c $string1") ;
open PIPE, "$command $archive_dir |" or die "Cannot open pipe from
$command: $
On Fri, 29 Aug 2003 11:13:24 -0500, "Whippo, Ryan K" <[EMAIL PROTECTED]> wrote:
> Is there an easy way to upload a local file to a server?
>
There are lots of ways, FTP, scp, through a web browser, email, etc. Find out what the
server supports f
FTP, NFS, Windows Shares, rcp, scp
It's a pretty open-ended question, depends on what OS
the server is running, what services, etc.
Tony
-Original Message-
From: Whippo, Ryan K [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 11:13 AM
To: [EMAIL PROTECTED]
Subject: Upload loca
On Fri, Aug 29, 2003 at 11:13:24AM -0500, Whippo, Ryan K wrote:
> Is there an easy way to upload a local file to a server?
gonna need to know some stuff before i can help further:
what operating system is your local machine/server?
what protocol/software do you want to upload with?
what sort of d
Is there an easy way to upload a local file to a server?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Joshua Lokken wrote:
[ . . ]
While your way is much easier and works well, I wonder why
my original syntax did not produce the desired result?
Your (next, below) original syntax does produce the desired result here
(tested). Win32 Activestate Perl 5.61 build 633
#!perl
print "Enter 5 of your fav
perldoc -q backticks
José.
-Original Message-
From: Imtiaz Ahmad [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 10:48 PM
To: [EMAIL PROTECTED]
Subject: system call
Hi-
Can someone please tell me how do I modify following line so that the result gets
stored in the var.
$c
Found interesting info from here :
http://www.manning.com/getpage.html?project=verbruggen&filename=source.html
Others are welcome :-)
José.
-Original Message-
From: NYIMI Jose (BMB)
Sent: Friday, August 29, 2003 10:44 AM
To: K Old; Akens, Anthony
Cc: [EMAIL PROTECTED]
Subject: RE: Graph
Use backticks.
$result = `some command`;
system() on the other hand returns the exit status code.
$exit_code = system('some command');
...Or...
if (system('some command') != 0) {
print "Failed!";
}
Rob
-Original Message-
From: Imtiaz Ahmad [mailto:[EMAIL PROTECTED]
Sent: Thursday
Hi-
Can someone please tell me how do I modify following line so that the result
gets stored in the var.
$count = system("$command $archive_dir | $grep_command -c $string1") ;
thanks.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, 29 Aug 2003, Sachin Mathur wrote:
> Any suggesstion for the following error.
>
> Can't locate loadable object for module DBI in @INC (@INC contains:
> /opt/perl/ActivePerl-5.6//lib /opt/perl/ActivePerl-5.6//lib/site_perl
> /home/baalaji/proj1/ETA/auto/etafpgahw_test//scr/PerlLib/
> /u
Thanks Bob
Marcos
-Original Message-
From: Bob Showalter [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 5:09 PM
To: '[EMAIL PROTECTED]'
Cc: [EMAIL PROTECTED]
Subject: RE: CPU time
[EMAIL PROTECTED] wrote:
> Can somone hell?
>
> Please
perldoc -f times
> MArcos
>
> -Orig
[EMAIL PROTECTED] wrote:
> Can somone hell?
>
> Please
perldoc -f times
> MArcos
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 29, 2003 12:11 PM
> Cc: [EMAIL PROTECTED]
> Subject: CPU time
>
>
> It's possible to know the CPU time u
Can somone hell?
Please
MArcos
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 12:11 PM
Cc: [EMAIL PROTECTED]
Subject: CPU time
It's possible to know the CPU time used in my process?
It'd be good to give that value a the end of the scr
> "K" == K Old <[EMAIL PROTECTED]> writes:
K> Randal Schwartz uses this:
K> #!/usr/bin/perl -w
K> use strict;
K> $|++;
K> Is there any difference between the -w and "use warnings" declaration?
Compatability with 5.005. "use warnings" was added in 5.6, and my ISP
ran 5.005 only
On Fri, 2003-08-29 at 08:21, David T-G wrote:
> Kevin --
>
> ...and then K Old said...
> %
> ...
> %
> % The posting a few weeks ago about "for" vs. "foreach" was interesting and got
> % me thinking about warnings.
>
> That sounds really interesting; unfortunately I haven't kept up enough
> to
It is basically looking for the DBI module. DBI is a database independent Perl
interface to databases, much like ODBC in the M$ environment. It means that in the
program you are trying to run there is a "use DBI;", but Perl can't find the source
file DBI.pm in the list of directories. This proba
Johnson, Shaunn wrote:
> Howdy:
>
> With the PostgreSQL DBI, you can get a
> number of tuples (with ntuples) from
> some previously SQL query.
>
> For example, I have :
>
> [snip]
> use Pg;
Shaunn, that's not DBI.
> ...
> My question: Is there an Oracle version of 'ntuples'?
> I don't see any
you need to install DBI
do
# perl -MCPAN -e shell
then at the cpan prompt do
# install DBI
and follow any instructions.
On Fri, Aug 29, 2003 at 03:43:47PM +0530, Sachin Mathur wrote:
> Any suggesstion for the following error.
>
> Can't locate loadable object for module DBI in @INC (@INC co
It's possible to know the CPU time used in my process?
It'd be good to give that value a the end of the script?
Thanks
Marcos
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Any suggesstion for the following error.
Can't locate loadable object for module DBI in @INC (@INC contains:
/opt/perl/ActivePerl-5.6//lib /opt/perl/ActivePerl-5.6//lib/site_perl
/home/baalaji/proj1/ETA/auto/etafpgahw_test//scr/PerlLib/
/usr/local/lib/perl5/5.8.0/sun4-solaris /usr/local/lib/pe
Cool !
I was just dealing with following needs:
* parse a text files on daily basis
* put the result into database
* buit a web application upon above database
* provide the client a web form where he can choose which graph to see
* on submit, connect to database, plot the graph and render it to
I am attempting to use Image::Imlib2 for image manipulation and I have
successfully built it and all of its dependancies. (It requires
libImlib2 to be installed which, in turn, requires edb, libjpeg,
libpng, and freetype) The problem that I am coming across now is that
when Imlib2 tries to us
david wrote:
Zsdc wrote:
You're right, in every case the real counting is done by the
CORE::length, which only needs a little hint in $^H. The bytes::length
subroutine is actually just:
{ BEGIN { $^H |= 8 } CORE::length $_[0] }
so you don't even need to use the bytes pragma at all. TMTOWTDI I
On Wed, 2003-08-27 at 14:29, Akens, Anthony wrote:
> Hello all,
>
> Just wanted to look into a "for fun" project, after a
> recent project that wasn't much fun at all... Our
> organization got hit by the blaster worm, which hit
> many, many windows boxes. The *nix boxes (which I
> manage) were o
54 matches
Mail list logo