Hi All,
Although it is not related to Perl directly and might be little strange
question but still thought of consulting Perl gurus.
Here is the thing - I mainly code in Perl and Bash and I don't use any SCM
tool. And the reason I don't use it is because even if I configure a SCM
server - I shoul
Hi;
Re: would like "pure" Perl solution to count of files in directory (nested
subdirectories too)
I would like to have a "pure" Perl solution to "find dir | wc -l"
find2perl x
*
#! /usr/bin/perl -w
eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
if 0; #$ru
manu wrote:
Want to do a perl program -
Read from file 1 - line1, line2etc
Search line1 on file2 (all lines)
Then Search line 2 on file 2...
Ouput results of search.
perldoc -q "How can I read in an entire file all at once"
perldoc -q "How do I efficiently match many regular expressions
perlperl wrote:
> Has anyone seen "not enough space" error while executing command in
> perl scrip
>
> $processid = open OUT, "$cmd 2>&1 |" or die "$!" ;
>
> is there any restriction on maximum number of process running on
> solaris?
>
>
The normal error message is, "too many processes" Th
manu wrote:
> Want to do a perl program -
>
> Read from file 1 - line1, line2etc
> Search line1 on file2 (all lines)
> Then Search line 2 on file 2...
>
> Ouput results of search.
>
>
What code do you have so far?
--
Just my 0.0002 million dollars worth,
Shawn
Programming is as m
Has anyone seen "not enough space" error while executing command in
perl scrip
$processid = open OUT, "$cmd 2>&1 |" or die "$!" ;
is there any restriction on maximum number of process running on
solaris?
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-ma
Want to do a perl program -
Read from file 1 - line1, line2etc
Search line1 on file2 (all lines)
Then Search line 2 on file 2...
Ouput results of search.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.or
On Sat, Mar 13, 2010 at 12:31 AM, Uri Guttman wrote:
> > "r" == raphael() writes:
>
> r> Hi,
> r> -- CODE --
>
> r> use strict;
> r> use warnings;
> r> use WWW::Mechanize;
> r> use File::Basename;
> r> use Number::Bytes::Human qw(format_bytes);
>
> r> # CODE GOES ON HERE TIL
On Fri, 12 Mar 2010 17:38:30 +0530, raphael() wrote:
> use WWW::Mechanize;
> my $b;
> $wmc->get(
> "$link",
> ':content_cb' => sub {
>
> I got this snippet on perlmonks. It's a kind of progress bar. I want to
> know what is being passed to @_ by ':content_cb' ??
Look in the documentation for LWP: