Balazs Wellisch wrote:
Hi all,
I'm using a regular expression to rename some files I'm working with.
It works well and does exactly what I need.
$name =~ s/(\S+)_(\d+)\.(\S*)$/$2\/videos\/$1\.$3/i;
However, I would like to read this pattern from an ini file instead of
having it hard coded into
On Fri, Jun 5, 2009 at 15:48, Balazs Wellisch wrote:
> Hi all,
>
> I'm using a regular expression to rename some files I'm working with.
> It works well and does exactly what I need.
>
> $name =~ s/(\S+)_(\d+)\.(\S*)$/$2\/videos\/$1\.$3/i;
>
> However, I would like to read this pattern from an ini
Hi all,
I'm using a regular expression to rename some files I'm working with.
It works well and does exactly what I need.
$name =~ s/(\S+)_(\d+)\.(\S*)$/$2\/videos\/$1\.$3/i;
However, I would like to read this pattern from an ini file instead of
having it hard coded into the program. So, the cod
On Fri, Jun 5, 2009 at 14:24, Chas. Owens wrote:
snip
> what line is line 371?
snip
Nevermind, it is obvious:
open my $pipe, "-|", "/usr/atria/bin/cleartool", "desc",
$include_path/$srcfile or die "could not run cleartool: $!";
$include_path is being divided by $srcfile. The code should probab
On Fri, Jun 5, 2009 at 13:57, Rajini Naidu wrote:
> Thanks owens for the response
>
> This code is included in our testing infrastructure to extract some data.
>
> Please find the code included in the perl module :
>
> print SCRIPT "${d}${driver} ${d}${driver}_OPTIONS ${d}DATA_MODE_FLAG
> ${d}\{
Thanks owens for the response
This code is included in our testing infrastructure to extract some data.
Please find the code included in the perl module :
print SCRIPT "${d}${driver} ${d}${driver}_OPTIONS ${d}DATA_MODE_FLAG
${d}\{CTI_OPT_SIGN\}O${d}OPT_LEVEL -c \$INCLUDE $srcfile \$EXTRA_ARGS
WowThank you thank you very much, Chas. Owens, that's great...appreciate
that :-)
William
- Original Message
> From: Chas. Owens
> To: William
> Cc: beginner perl mailling list
> Sent: Friday, June 5, 2009 22:01:41
> Subject: Re: parsing data structure
>
> On Fri, Jun 5, 2009
On Fri, Jun 5, 2009 at 09:19, William wrote:
>
> I have been trying for hours, to make this data structure into hash, I need
> help. Thanks.
>
> $str =
> "
> (dr1
> foo
> <1>(dr2 bar)
> <2>a
> )
> ";
>
> $hash = {
> "dr1" => {
> "<1>" => {"dr2" => {"predic
On Fri, Jun 5, 2009 at 07:37, Rajini Naidu wrote:
> Hi,
>
> This is my code in perl.
>
> my $include = "foo.1";
> my $ct = "/usr/atria/bin/cleartool";
>
> open my $pipe, "-|", $ct, "desc", $include or die "could not run cleartool:
> $!";
>
> When i execute this , I am getting below error.
>
>
I have been trying for hours, to make this data structure into hash, I need
help. Thanks.
$str =
"
(dr1
foo
<1>(dr2 bar)
<2>a
)
";
$hash = {
"dr1" => {
"<1>" => {"dr2" => {"predicate"=> "bar"}},
"<2>" => "a"
}
};
dr1 and dr2 is
>> Any suggestions?
>
> What about file permissions? Does the user the test script was run as
> have read access to
> /usr/local/lib/perl5/site_perl/5.10.0/x86_64-linux/HTML/Parser.pm ?
Hello,
I just tried running the test script as root and got the same results,
so I do not think it is a permis
Hi,
This is my code in perl.
my $include = "foo.1";
my $ct = "/usr/atria/bin/cleartool";
open my $pipe, "-|", $ct, "desc", $include or die "could not run cleartool:
$!";
When i execute this , I am getting below error.
meaningless input.
Uncaught exception from user code:
Il
12 matches
Mail list logo