Search the web
Sign In
New User? Sign Up
perl-beginner · Perl Beginners Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 26575 - 26612 of 26718   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
26575
Hello everybody, I need to write a Perl CGI script to login from one system (A) into remote system (B) and do a ping to the third system (C). As of now, I have...
Amit Saxena
learn.tech123@...
Send Email
Apr 1, 2009
5:05 pm
26576
Create a new console window and show message gived by the parent process.may be it is a new Dos window.how to do it.this new window is a child.or child thread....
q11112345
Offline Send Email
Apr 6, 2009
12:52 pm
26577
i want to pass a file handle to child process.like this: system("perl child.pl $filehandle"); but it doesn't work.the value passed to child is only a string.i...
q11112345
Offline Send Email
Apr 11, 2009
1:25 am
26578
Hi there, This does not answer the original question and may be naive, but why not just have the child process [re]open the file? Is there a reason you need...
Jeff Soules
soules@...
Send Email
Apr 11, 2009
5:02 pm
26579
hi. actually i've found how to do that. open(INPUT, "< /etc/motd") or die "/etc/motd: $!"; if ($pid = fork) { wait } else { defined($pid) or die "fork:$!";...
Chaofei Yang
q11112345
Offline Send Email
Apr 12, 2009
12:55 am
26580
... Hello all, Thanks for the replies and the help. Since last few weeks, I am also trying for a solution to the same. So far, what I am trying and did is to...
Amit Saxena
learn.tech123@...
Send Email
Apr 12, 2009
5:21 pm
26581
#!/usr/bin/perl use Net::SSH::Perl; my $host = "perlhowto.com"; my $user = "user"; my $password = "password"; #-- set up a new connection my $ssh =...
leebinkley
Offline Send Email
Apr 12, 2009
7:46 pm
26582
How do I get the number of days between two dates using DATE::MANIP? This is all I can come up with but it gives me Weeks and Days, not just days. ...
dachner2002
Offline Send Email
Apr 13, 2009
8:22 pm
26583
Hello, I think Date::Time will give you best results use DateTime; use DateTime::Duration; use Date::Manip; my $dt = DateTime->now;         # same as (...
Kalyan Raj
kalyanraj55
Offline Send Email
Apr 14, 2009
4:26 am
26585
http://faq.perl.org/perlfaq4.html#How_can_I_compare_tw Another way: use Date::Calc qw(Delta_Days); $days = Delta_Days( $year1, $month1, $day1, $year2, $month2,...
buxh42a
Offline Send Email
Apr 15, 2009
4:43 pm
26586
Date::Calc requires a C compiler to install so I've stayed away from it. Don...
dachner2002
Offline Send Email
Apr 15, 2009
7:06 pm
26587
Hi All, I have a requirement to use IO:SOCKET:SSL for which I had to install IO-Socket-SSL-1.24 which needed Net-SSLeay-1.35 and then openssl-0.9.8k. I...
Munthajeeb Akbar
munthajeeb
Offline Send Email
Apr 17, 2009
5:40 pm
26590
I'm trying to install the DateTime Module in the Windows environment. Installed to: c:|Perl64\lib\Datetime Every time I run the script below it I get prompted...
dachner2002
Offline Send Email
Apr 21, 2009
9:47 pm
26593
Hello Everyone: Can someone explain/correct what I have done wrong here? I want it to output all values (Larry, Moe and Curly), but it's only giving me the...
essential quint
quintessential1@...
Send Email
May 4, 2009
6:41 am
26594
... essential> Can someone explain/correct what I have done wrong here? I want it essential> to output all values (Larry, Moe and Curly), but it's only giving...
merlyn@...
merlynstoneh...
Online Now Send Email
May 4, 2009
7:22 am
26595
Hello Randall: You missed the point entirely. In a nutshell, I need to pass a number of parameters between subs. Getting back on track - Given the extremely...
essential quint
quintessential1@...
Send Email
May 4, 2009
7:54 am
26596
... No, he got it. You just didn't listen. ... You have three local variables defined in a subroutine with no explicit return. A perl sub with no explicit...
Jeff Soules
soules@...
Send Email
May 4, 2009
11:42 am
26597
On Mon, May 4, 2009 at 3:54 AM, essential quint <quintessential1@... ... His name is Randal. (Why does everyone add an 'l' to the end of his name?) ...
Jeff Pinyan
evilffej
Offline Send Email
May 4, 2009
2:19 pm
26598
... Jeff> His name is Randal. (Why does everyone add an 'l' to the end of his Jeff> name?) Sadly, it's the more common spelling. I blame my parents. :) Mom...
merlyn@...
merlynstoneh...
Online Now Send Email
May 4, 2009
4:06 pm
26599
You need to change sub_a to : sub sub_a { my $x = "Larry"; my $y = "Moe"; my $z = "Curly"; return ($x, $y, $z); } and sub_b to : sub sub_b { my @values = @_; ...
yehezkielbs
Online Now Send Email
May 4, 2009
11:21 pm
26600
Hi How do I extract the number of weeks from the datecalc output. I have generated the difference between 2 dates, but I want to present the week field i my...
taz.hasan@...
taz.hasan...
Offline Send Email
May 5, 2009
10:30 am
26601
date calculation can be tricky to do correctly, luckily there has been good work done in this area, see...
david wright
david_v_wright
Offline Send Email
May 5, 2009
5:35 pm
26605
Is there a Perl module that has a command that will remove all files that are over X days old in a directory? Or will I have to write something? I've try...
Dukelow, Don
dondukelow
Offline Send Email
May 18, 2009
5:10 pm
26606
... Dukelow,> Is there a Perl module that has a command that will remove all files that are over X days old in a directory? Or will I have to write something?...
merlyn@...
merlynstoneh...
Online Now Send Email
May 18, 2009
5:28 pm
26607
Hi List, First time poster here, and perl beginner. I have a question about a perl one-liner I am trying to put together to hex encode an ascii string, except...
Bill Landry
bill_landry
Offline Send Email
May 19, 2009
4:35 am
26608
You are very close, but what you want is something like: perl -e 'while ( $ARGV[0] =~ /([a-fA-F0-9]{2})|(\{[^}]*\})|(\([^\)]*\))/g ) {print ( defined $2 ? $2 :...
Robert Lee Binkley
leebinkley
Offline Send Email
May 19, 2009
11:48 pm
26609
... Thanks Robert, that does indeed work. ... However, someone else sent me this modification to what I already had, and it seems to be working just great: ...
Bill Landry
bill_landry
Offline Send Email
May 20, 2009
2:32 am
26610
Would someone please provide me the below if your currently using ds 4000 ? Thanks Robert 1: df -g output 2: ls -lv 3: ls -vg 4: ls vg -p 5: fget_config -Av ...
Robert Lee Binkley
leebinkley
Offline Send Email
May 23, 2009
2:26 am
26611
No guarantee, this is extracted from some of an application. I think it's complete, but you should verify and test all your code! my $LOGFILE_DIR =...
Wittich,Douglas G
n3vej
Offline Send Email
May 29, 2009
11:31 am
26612
... You should use File::Find ( http://search.cpan.org/perldoc?File::Find ), File::Find::Object: ...
Shlomi Fish
shlomif2
Online Now Send Email
May 29, 2009
1:18 pm
Messages 26575 - 26612 of 26718   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help