es.net
___
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html
_
Try search.cpan.org for "cron"On 6/9/04, Mundell, R. (Ronald) <[EMAIL PROTECTED]
> wrote:
Good Day All
Does anyone knows off a module or way to modify the crontab programmatically
Thank you,
Ronald Mundell
This
email and any accompanying attachments may contain
On 6/24/04, Mundell, R. (Ronald) <[EMAIL PROTECTED]> wrote:
Good Day All
I am trying to change a password in a Perl script. Does
anyone know how to do this?
Eg.
passwd user1
Changing password for "user1"
user1's Old password: 123456
user1's New password:
abcde123
En
On 3/2/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
>
>
>
> If I have a pattern that appears mulitple times (but I don't know how many
> times) in a string, how do I get at the matched text for each of the
> matches?
>
> Made up example…
>
> $string =
> 'ab23cdefgXX(3A5)XXhijkl23mnXX(3)XXopq432rsXX
;
> my $valid = '^(acc1|acc2|acc3)$';
>
> while (my ($key, $value) = each %hash) {
>
> if ($key !~ /$valid/) {
> print "Invalid Key: $key, ";
> } else {
> print "Valid Key: $key,
this
> message, any attachments, and all copies and backups from your
> computer.
>
>
> ___
> Perl-Unix-Users mailing list
> Perl-Unix-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailma
py or use it, or disclose
> it to anyone else. If you received it in error please notify us immediately
> and then destroy it.
>
>
> ___
> Perl-Unix-Users mailing list
> Perl-Unix-Users@listserv.ActiveState
you might look into DBD::CSVOn 1/26/06, Lasher, Brian <[EMAIL PROTECTED]> wrote:
I love using Data::Dumper. Was wondering if anyone knew of a similarmodule that will take a reference to any data structure (the wayData::Dumper does) and generate a CSV file for all the data.-brian
Brian LasherBest P
there must be a UTF-8 html entity module on cpan?On 1/24/06, Carl Reynolds <[EMAIL PROTECTED]
> wrote:I am receiving data for entry into a mysql database. The information
comes to me in gzipped files and I'm using Compress::Zlib to uncompressthe file in perl. I'm running perl 5.8.5.The information
Yes, ssh is the best way.
I've decided to try Net::SSH::Perl.On 1/5/06, $Bill Luebkert <[EMAIL PROTECTED]> wrote:
Anthony Ettinger wrote:> Any thoughts?>> I'm looking for a "best practices".>> Basically, i'm on foo.org <http://foo.org
>, and
Any thoughts?
I'm looking for a "best practices".
Basically, i'm on foo.org, and need to automate ssh bar.org, and
executea command or two, then copy the file from that server, then
delete it.
I'd also like to not use 3rd party mods as much as possible.-- Anthony EttingerSignature: http://chovy.
That's one gnarly command to get version :-)
--- Martin Moss <[EMAIL PROTECTED]> wrote:
> Thanks Anthony,
>
> Thats one wild goose chase Headed off at the pass
> ;-)
>
> Marty
>
> --- Anthony Ettinger <[EMAIL PROTECTED]> wrote:
>
> >
>
___ALL-NEW
> Yahoo! Messenger - all new features - even more fun!
> http://uk.messenger.yahoo.com
> ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubsc
x: sftp: In read loop, got 8192 offset 40960
> linux: sftp: Sent message SSH2_FXP_READ I:12 O:49152
> linux: sftp: Received reply T:103 I:12
> linux: sftp: In read loop, got 565 offset 49152
> linux: sftp: Sent message SSH2_FXP_READ I:13 O:49717
> linux: sftp: Received reply T:101 I:13
&
; hk
> Avadhani Subramanya
> iojioqer
> \opjth
> Subramanya
> I am Subramanya
> I am here Subramanya
>
> Here I want the entire line and not just the string
> entered by user,
> till EOL(say Subramanya).
>
> Tha
) /--< o // // Castle of Medieval Myth &
> Magic http://www.todbe.com/
> -/-' /___/_<_http://dbecoll.tripod.com/
> (My Perl/Lakers stuff)
> _______
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
>
> > ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mysubs
=
Anthony Ettinger
Phone: (408) 656-2473
[EMAIL PROTECTED]
http://www.apwebdesign.com
ate when
> # working with fetchrow_arrayref.
>
> ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
> http://listserv.ActiveState.com/mailman/mysubs
>
=
Anthony Ettinger
[EMAIL PROTECTED]
http://www.
956 547 6438 office
> 956 768 4070 beeper
> mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> Work email
> mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
> Home email
>
>
>
>
> _______
> Perl-Unix-
d.edu/acc";
>
> I like to check the change for all directories under
> that path. How can I
> open that path?
>
>
> Thanks in advance!
>
>
> Hong
>
> ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTE
in return the following :
> ARRAY(0x2046a1a0)
Try print "@{$_}\n";
=
Anthony Ettinger
[EMAIL PROTECTED]
http://www.apwebdesign.com
Instant Messengers:
1) yahoo im: apwebdesign 2) aol im: apwebdesignxl
3) msn im: [EMAIL PROTECTED] 4) icq im: 659139
_
> Find what you are looking for with the Lycos Yellow
> Pages
>
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
> ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
__
> Find what you are looking for with the Lycos Yellow
> Pages
>
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
> ___
> Perl-Unix-Users mailing list
> [EMAIL
can this be achieved
> using perl
> alone.
>
> Any more ways?
>
> Karthikeyan B
>
>
>
> ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mysubs
ling
again.
Anyone have any ideas on a way to do this?
=====
Anthony Ettinger
[EMAIL PROTECTED]
http://www.apwebdesign.com
Instant Messengers:
1) yahoo im: apwebdesign 2) aol im: apwebdesignxl
3) msn im: [EMAIL PROTECTED] 4) icq im: 659139
__
Do you Yahoo!?
Yaho
l
> execution module that I
> can reference to create multiple PID's and then
> manage each one to validate
> success or failure of the command.
>
> Thoughts?
>
> -Wes
>
> ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://list
\t
--- Johnno <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> what do i use to remove tabs... ie I use this to
> remove linefeeds
>
> $line[$x] =~ s/\r//g; # remove linefeeds
>
> Many Thanks,
>Johnno
> ___
> Perl-Unix-Users ma
85579 Neubiberg | Fax :
> +49-89-45026-113 |
>
++-+
>
>
>
> ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mysubs
=
Anthony Ettinger
[EMAIL PROT
AILIES za akcni cenu a získej 10
> cocek ZDARMA!
>
http://ad2.seznam.cz/redir.cgi?instance=56077%26url=http://www.cz.cibavision.com/
>
> ___
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mys
use File::Find;
check cpan.org for example
--- Subrahmanyam Vadlamani
<[EMAIL PROTECTED]> wrote:
> Hi:
>
> I would like to recurse through a directory and do
> something with the files in the directory (and all
> sub-directories).
>
> What is the most efficient way of doing this? What
> are so
Try "%perl program.pl" at the command line if using
the shebang line doesn't work.
type "which perl" to get path..
#!/usr/bin/perl <- first line of script
--- "Zhang, Lynne C [ITS]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> My perl program has to be run as "perl program".
> What should I do to mak
I just figured out the problem, my 'modules' directory
was not under the main htdocs directory...didn't think
this mattered but apparently it does.
--- Anthony Ettinger <[EMAIL PROTECTED]> wrote:
>
> --- $Bill Luebkert <[EMAIL PROTECTED]>
--- $Bill Luebkert <[EMAIL PROTECTED]> wrote:
> Anthony Ettinger wrote:
>
> >
> > Yes, I did...like I said it works fine from the
> > command line (no error displayed - the module is
> > loaded properly), but chokes when I execute it
> from
> > th
--- $Bill Luebkert <[EMAIL PROTECTED]> wrote:
> Anthony Ettinger wrote:
>
> > works from the command line, but when I run the
> cgi
> > script on apache, I get the following message in
> > STDERR:
> >
> > Can't locate HTML/Newsletter.pm
e end of script headers:
/home/virtual/domain.com/www/cgi-bin/mailer.cgi
At the top of my script I have:
use lib "/home/ettinger/modules";
use HTML::Newsletter;
works fine if I execute the script from the command
line, but not in web server environment.
any ideas?
=
Anthony
doing the exercises and writing little scripts as
exercises definitely helps.
depends on what you want to use perl for. I like the
CGI Programming book by O'Reillyand also Object
Oriented Perl by Damian Conway, if you want to get
into it.
Personally, I think the Programming Perl book is too
m
_
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe:
http://listserv.ActiveState.com/mailman/mysubs
=
Anthony Ettinger
[EMAIL PROTECTED]
http://www.apwebdesign.com
Instant Messengers:
1) yahoo im: apwebdesign 2) aol im: apwebdesignxl
3) msn im: [EMA
Can you provide the lines that have your
$statementHandler and sql code?
--- "V. Rajaraman [Sys-Support]"
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I use DBI to update Mysql table, when i do that i
> facing the below error.
> What is the error ?
>
> Error :
>
> can't execute the query: DBI:
install the shoutcast.org server
--- Roman 'Ra' Melihhov <[EMAIL PROTECTED]> wrote:
> Any ideas for streaming MP3 file from the web
> instead of allowing download?
>
> Thank you,
> Roman.
> -
> The only things in life you regret, Are the risks
> that you didn't take.
>
> ___
all I say ATTEMPTS to go to them - they get
> the fun li'l dns error.
>
> Any clues on how to accomplish this like the domain
> registrars? Thanks!
>
> - Steve
> (RedHat 7.2 & Apache & Bind 9 - fyi)
>
> _______
&g
$response = sprintf " %s",
$http_response->status_line;
} else {
$response = $http_response->content();
}
return $response;
}
--- Anthony Ettinger <[EMAIL PROTECTED]> wrote:
>
>
>
> use LWP::UserAgent
> use HTTP::Request
>
use LWP::UserAgent
use HTTP::Request
$proxy = $url; #or just replace $proxy with $url.
my $response = &httpRequest($proxy);
sub httpRequest {
my $proxy = shift;
my $ua = LWP::UserAgent->new(timeout => 2);
$ua->agent("Anti-War v2.0");
$ua->proxy('http', "http://
It's my experience that you would have to verify the
login for each request.
This can be easily done by storing the
username/password in a cookie, and then reading that
cookie, and querying the database for correct
user/pass combo on each request.
If anyone knows of a better way, please let me kn
there are a number of alternatives.
i recommend a template based system.
Text::Template (easy to use)
HTML::Template (conditionals, progrmatic structures)
Template::Toolkit (heard it was AWESOME).
or you can just print the html in your script...
try something like this, so you won't have to
backs
44 matches
Mail list logo