Hi ,
Is there a perl module to plot graphs with lines point.
Thanks,
-Bandeep
Hi Lauri,
Lauri Nikkinen wrote:
I would like to parse a .csv file and write certain records into two
separate files. The program below writes the records easily into the
csvtmp.csv but the second file is only created with no records
written. I cannot see the problem here, the second file is pr
Hello,
I would like to parse a .csv file and write certain records into two
separate files. The program below writes the records easily into the
csvtmp.csv but the second file is only created with no records
written. I cannot see the problem here, the second file is produced
easily if the first lo
On Mon, Nov 17, 2008 at 13:42, monnappa appaiah <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I wanted to write a script which could login into the server and
> execute a command and return the output for that i used "Net::SSH::Perl"
> module
>
> but when i run the script (i'm running on the win
Telemachus wrote:
On Mon Nov 17 2008 @ 10:21, John W. Krahn wrote:
Set paragraph mode.
while (<>) {
Read a paragraph into $_. In your example a paragraph is:
" field:value
field:value
field:value
"
my @fields = split /^([^:]+):\s*/m;
Since there are multiple lines in a parag
On Mon, Nov 17, 2008 at 13:21, John W. Krahn <[EMAIL PROTECTED]> wrote:
snip
>> push(@Array_of_Records, { map /(.*)/, @fields });
>
> Store the fields as a hash at the end of @Array_of_Records. The filter
> /(.*)/ ensures that no newlines are included in the keys or values of the
> hash.
snip
Hi All,
I wanted to write a script which could login into the server and
execute a command and return the output for that i used "Net::SSH::Perl"
module
but when i run the script (i'm running on the windows machine) i'm getting
this error "The getpwuid function is unimplemented at
C:/Pe
On Mon Nov 17 2008 @ 10:21, John W. Krahn wrote:
> Set paragraph mode.
>
>> while (<>) {
>
> Read a paragraph into $_. In your example a paragraph is:
>
> " field:value
> field:value
> field:value
>
> "
>
>> my @fields = split /^([^:]+):\s*/m;
>
> Since there are multiple lines in a p
Telemachus wrote:
Good morning,
Hello,
I'm using a recipe from The Perl Cookbook (11.10 for anyone browsing at
home) to produce a record structure from items in a text file. The text
file itself has a simple structure:
field:value
field:value
field:value
field:value
field:value
On Mon, Nov 17, 2008 at 11:04, Richard Lee <[EMAIL PROTECTED]> wrote:
snip
> but I am suprised that perl doesn't have neutral equator..
How would you suggest it handle
my $boolean = " 123 " magic_smart_compare "123";
string compare is false
numeric compare is true
both look like numbers to l
On Mon, Nov 17, 2008 at 10:13 AM, Sharan Basappa
<[EMAIL PROTECTED]> wrote:
>>
>> You haven't installed anything. You've downloaded and untarred/
>> gunzipped the source. You still have to run
>> perl Makefile.PL
>> make
>> make test
>> make install
>>
>> That final command will copy the installe
Chas. Owens wrote:
On Mon, Nov 17, 2008 at 04:47, Richard Lee <[EMAIL PROTECTED]> wrote:
but it would only be worthwhile if you used $compare a lot after
setting it once; otherwise it would be simpler to just say
sub compare {
my ($x, $y) = @_;
return looks_like_numb
On Mon, Nov 17, 2008 at 7:13 AM, Sharan Basappa
<[EMAIL PROTECTED]> wrote:
> On the 3 rd terminal, it works fine.
So, on the third terminal, you can ask it which module it is finding
that the others aren't:
perldoc -l Algorithm::Permute
> I ran "env" and redirected output to a file from 2 t
Good morning,
I'm using a recipe from The Perl Cookbook (11.10 for anyone browsing at
home) to produce a record structure from items in a text file. The text
file itself has a simple structure:
field:value
field:value
field:value
field:value
field:value
etc.
That is, the records are
>
> You haven't installed anything. You've downloaded and untarred/
> gunzipped the source. You still have to run
> perl Makefile.PL
> make
> make test
> make install
>
> That final command will copy the installed module to the real library
> directory. THAT is the path that you need for use lib
On Mon, Nov 17, 2008 at 04:47, Richard Lee <[EMAIL PROTECTED]> wrote:
> say something like == or eq ..
>
> Can you sub them w/ varilable like $unknown ?
>
> Let me be more specific.
> Let's say I don't know what the variable will hold
>
> I guess I can say something like,
>
> sub check_unknown {
say something like == or eq ..
Can you sub them w/ varilable like $unknown ?
Let me be more specific.
Let's say I don't know what the variable will hold
I guess I can say something like,
sub check_unknown {
my $unknown = shift; ## it's either digits or letters but both
will be same
17 matches
Mail list logo