Re: perl Question

2007-03-24 Thread John W. Krahn
Craig Petty wrote:
> 
> I got a question could i write a script that look for
> a ip on a network or would that be to hard to do for a
> newbie?

Can you describe your quest in more detail?

http://www.catb.org/~esr/faqs/smart-questions.html


John
-- 
Perl isn't a toolbox, but a small machine shop where you can special-order
certain sorts of tools at low cost and in short order.   -- Larry Wall

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: perl Question

2007-03-24 Thread Jeff Pang
yes you can.
Maybe you take a look at Net::Ping on CPAN?

-Original Message-
>From: Craig Petty <[EMAIL PROTECTED]>
>Sent: Mar 24, 2007 8:18 AM
>To: beginners@perl.org
>Subject: perl Question
>
>
>
>I got a question could i write a script that look for
>a ip on a network or would that be to hard to do for a
>newbie?
>
>
>
>
> 
>
>It's here! Your new message!  
>Get new email alerts with the free Yahoo! Toolbar.
>http://tools.search.yahoo.com/toolbar/features/mail/
>
>-- 
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>http://learn.perl.org/
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




perl Question

2007-03-24 Thread Craig Petty


I got a question could i write a script that look for
a ip on a network or would that be to hard to do for a
newbie?




 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: perldoc -q "How can I make my Perl program run faster?"

2007-03-24 Thread Ken Foskey
On Thu, 2007-03-22 at 17:17 -0700, oryann9 wrote:

> So in general in a web environment with 8-12gb RAM,
> mod_Perl and a MySQL/Postgres backend, do you or
> people you know statically link libc.a?

My understanding is with mod_perl the perl is constantly loaded into
Apache,  not starting and stopping the perl instance would mean that the
static versus dynamic would not be a really great saving.

Whenever I see performance tuning I always look towards the code itself
first.   Always profile your code to find out where the time is really
spent if it is a real issue, if it isn't then don't waste your time
looking to tenths of a second spend it on answering another business
question that may make thousands of dollars.

-- 
Ken Foskey
FOSS developer


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/




Re: Porting a Script from Linux to Win32

2007-03-24 Thread Dr.Ruud
Richard Luckhurst schreef:


> [Windows]
> The line I am having trouble with is as follows
>
> $mv_result = `mv $dir/pdfs/$print_dir/$book_no.PDF
> $dir/pdfs/$print_dir/$replace.PDF`;

You assume that 'mv' works on both platforms. What happens if you type
mv on a command prompt on either platform?

See `perldoc -f rename`.

-- 
Affijn, Ruud

"Gewoon is een tijger."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/