Ajay & Rob, thanks for your perfect solutions!
It does pick up the last matched string if we add another greedy match pattern
(.+ or .*) in front of the original regex.
And thanks for the replies from yitzle, John, Ruud as well.
BR
Howardz
- Original Message
From: Rob Dixon <[EMAIL PRO
obdulio santana wrote:
I must mix 3 files, and produce a little report but in line 23 and 31 is a
warning of uninitalized value I really don't see the mistake.
use warnings;
use strict;
@lfile0 = ;
chomp @lfile0;
@meses = qw(ene feb mar abr may jun jul ago sep oct nov dic);
@files= glob "
obdulio santana wrote:
I must mix 3 files, and produce a little report but in line 23 and 31 is a
warning of uninitalized value I really don't see the mistake.
use warnings;
use strict;
@lfile0 = ;
chomp @lfile0;
@meses = qw(ene feb mar abr may jun jul ago sep oct nov dic);
@files= glob "7
On Feb 1, 2008 2:08 PM, Grant <[EMAIL PROTECTED]> wrote:
> I am able to print from my remote server to my local printer server
> perfectly with 'lpr file.pdf'. I'd like to be able to do that from
> within a perl script. What is the simplest way?
snip
open my $printer, "|-", "/usr/bin/lpr"
or
I must mix 3 files, and produce a little report but in line 23 and 31 is a
warning of uninitalized value I really don't see the mistake.
Thank you in advance
use warnings;
@lfile0 = ;
chomp @lfile0;
@meses = qw(ene feb mar abr may jun jul ago sep oct nov dic);
@files= glob "78*";
my %textos;
I am able to print from my remote server to my local printer server
perfectly with 'lpr file.pdf'. I'd like to be able to do that from
within a perl script. What is the simplest way?
- Grant
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://
On Feb 1, 2008 8:04 AM, Cort Morgan <[EMAIL PROTECTED]> wrote:
> Can anyone tell me is it possible to look at the current value
> of a variable in a package method, if the package was included
> in the main program with a use statement?
Yes and kinda. If it's a package variable, yes; if it's a
Hi,
Can anyone tell me is it possible to look at the current value of a variable
in a package method, if the package was included in the main program with a use
statement?
I've read perldebug, perldebugtut, perldebguts, any web links I can find, and
all no help (or I just don't understand
On Feb 1, 2008 6:26 AM, <[EMAIL PROTECTED]> wrote:
> I want to hide the standard output on the terminal when I am executing
> the Perl script. For example I am running this command
> "`/usr/atria/bin/cleartool lslock lbtype:$dep_lbl`;
>
> if the execution of this command failed then whatever outp
On Feb 1, 2008 9:26 AM, <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I want to hide the standard output on the terminal when I am executing
> the Perl script. For example I am running this command
> "`/usr/atria/bin/cleartool lslock lbtype:$dep_lbl`;
>
> if the execution of this command failed then wh
> If you've just written the file, have you closed the
> filehandle and checked the return value?
>
> Paul Johnson - [EMAIL PROTECTED]
> http://www.pjcj.net
>
Well, I've just learned a valuable lesson (or two), which is, after all,
what I'm on this list for :)
Just prior to the code I've alrea
Hi All,
I want to hide the standard output on the terminal when I am executing
the Perl script. For example I am running this command
"`/usr/atria/bin/cleartool lslock lbtype:$dep_lbl`;
if the execution of this command failed then whatever output is coming
on the terminal I want to hide that an
thanks adrano.
you are correct. have installed perl-cpan. it is resolved now.
thanks again,
On Feb 1, 2008 8:17 AM, Adriano Ferreira <[EMAIL PROTECTED]> wrote:
> On Feb 1, 2008 10:47 AM, Pradeep Mishra <[EMAIL PROTECTED]>
> wrote:
> > hi all
> >
> > I have been trying to install spamassin usin
On Feb 1, 2008 10:47 AM, Pradeep Mishra <[EMAIL PROTECTED]> wrote:
> hi all
>
> I have been trying to install spamassin using ...perl -MCPAN -e shell
> which throws an error
>
> Can't locate CPAN.pm in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
> /usr/lib/perl5/si
hi all
I have been trying to install spamassin using ...perl -MCPAN -e shell
which throws an error
Can't locate CPAN.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-t
I found this module on cpan:
http://search.cpan.org/~sprout/WWW-Mechanize-Plugin-JavaScript-0.002/lib/WWW/Mechanize/Plugin/JavaScript.pm#PREREQUISITES
But it says,
To load the plugin, just use WWW::Mechanize's use_plugin method (note
that the current stable release of that module doesn't support
Hello,
I wrote a script using WWW::Mechanize, when I run it I got bad
results, it said my browser has no javascript supported.
Do you know how to fake the header declaring my useranget has enabled
javascript?
Thanks!
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
17 matches
Mail list logo