I am using Win7Pro-64bit.
say "Another Hello World!";
if run from Padre v. 0.94 yields:
String found where operator expected at HelloWorld.plx line 4, near "say "Anothe
r Hello World!""
(Do you need to predeclare say?)
syntax error at HelloWorld.plx line 4, near "say "Another Hello World
Dear All,
The below is my input data:
$ cat demo.txt
159350,PP02,Backup,0,Done
159349,B02_bkp,Backup,0,Done
159347,B02_bkp,Backup,0,Done
159346,B02_bkp,Backup,0,Done
159345,B02_bkp,Backup,0,Not
159344,02_bkp,Backup,0,Done
I am using Text::CSV_XS to read the above comma separated file. Here is th
"jet speed" wrote in message news:CAG1VzcezebNiFar3YKep-
What i am trying to do ?
I want to match the entries from file1.txt with file.txt, if matches then
print the key and value. some will have multiple entries as in the output.
required output
10.00.00.00.aa.56.9b.7a 22:5a
10.00.00.00.
"jet speed" wrote in message news:CAG1VzcezebNiFar3YKep-
What i am trying to do ?
I want to match the entries from file1.txt with file.txt, if matches then
print the key and value. some will have multiple entries as in the output.
required output
10.00.00.00.aa.56.9b.7a 22:5a
10.00.00.00.
"jet speed" wrote in message news:CAG1VzcezebNiFar3YKep-
What i am trying to do ?
I want to match the entries from file1.txt with file.txt, if matches then
print the key and value. some will have multiple entries as in the output.
required output
10.00.00.00.aa.56.9b.7a 22:5a
10.00.00.00.
On Nov 15, 2012, at 8:40 AM, jet speed wrote:
> On Thu, Nov 15, 2012 at 2:49 PM, jet speed wrote:
>
>> On Thu, Nov 15, 2012 at 11:43 AM, Charles DeRykus wrote:
>>
>> Thanks Charles,
>>
>> What i am trying to do ?
>> I want to match the entries from file1.txt with file.txt, if matches then
>>
On Thu, Nov 15, 2012 at 2:49 PM, jet speed wrote:
>
>
> On Thu, Nov 15, 2012 at 11:43 AM, Charles DeRykus wrote:
>
>> On Thu, Nov 15, 2012 at 2:46 AM, jet speed
>> > ...
>> > I was able to build the hash, however the file contains approx 10,000
>> > entries. but while i print the hash i get on
On Thu, Nov 15, 2012 at 11:43 AM, Charles DeRykus wrote:
> On Thu, Nov 15, 2012 at 2:46 AM, jet speed
> > ...
> > I was able to build the hash, however the file contains approx 10,000
> > entries. but while i print the hash i get only approx 1300 lines or
> > key=>values.
> >
> > i guess its
On Thu, Nov 15, 2012 at 2:46 AM, jet speed
> ...
> I was able to build the hash, however the file contains approx 10,000
> entries. but while i print the hash i get only approx 1300 lines or
> key=>values.
>
> i guess its because, the file has duplicate entries. example below
>
> file.txt
>>
On Thu, 15 Nov 2012 10:46:34 +
jet speed wrote:
> I was able to build the hash, however the file contains approx
> 10,000 entries. but while i print the hash i get only approx 1300
> lines or key=>values.
>
> i guess its because, the file has duplicate entries. example below
[...]
> How
On 2012-11-15 11:46, jet speed wrote:
22:5a => 10.00.00.00.aa.56.9b.7a
22:5a => 10.00.00.00.aa.57.99.8a
32:9c => 10.00.00.00.aa.46.9b.33
a2:cc => 10.00.00.00.aa.5a.9b.63
a5:cc => 10.00.00.00.aa.5a.9b.63
b2:cc => 10.00.00.00.aa.5a.9b.63
How do i build all the entries into
On Thu, Nov 15, 2012 at 8:46 AM, Dr.Ruud wrote:
> On 2012-11-15 03:07, Uri Guttman wrote:
>
> my %hash = read_file( 'file.txt' ) =~ /^(.+)\s*=>\s*(.+)$/mg ;
>>
>
> Trailing whitespace in the keys? Skipping empty values?
>
> my %kv= read_file( 'file.txt' ) =~ /^(.+?)\s*=>\s*(.*)/mg;
>
> an
On 2012-11-15 03:07, Uri Guttman wrote:
my %hash = read_file( 'file.txt' ) =~ /^(.+)\s*=>\s*(.+)$/mg ;
Trailing whitespace in the keys? Skipping empty values?
my %kv= read_file( 'file.txt' ) =~ /^(.+?)\s*=>\s*(.*)/mg;
and without File::Slurp:
my %kv= map m/(.+?)\s*=>\s*(.*)/, <$fh>
13 matches
Mail list logo