User Profile

Collapse

Profile Sidebar

Collapse
hgdien
hgdien
Last Activity: Oct 23 '07, 05:21 AM
Joined: Sep 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hgdien
    replied to Help pls
    in Perl
    Thank you very much for your help.
    I know these codes are not pratical use. I just try to do some small perl code first
    See more | Go to post

    Leave a comment:


  • hgdien
    replied to Help pls
    in Perl
    It belongs to the program of another course. I have just finish bash and wanted to learn some perl myself. However, looking for a simple solution through the webs is so difficult, since most of them only have difficult problems and tutorial texts, which couldn`t help me.
    Can you help me out, pls?
    See more | Go to post

    Leave a comment:


  • hgdien
    started a topic Help pls
    in Perl

    Help pls

    I am a complete newbie at Perl. I have just started getting from bash to Perl language. I am trying to do a simple perl scripting that takes three arguments: two integers and an operation (+, -, * or /) and outputs the computed value.
    Example:
    $ ./perl_calc.pl 12 -13 *
    -156
    $
    However, I don`t know how to turn that operation variable (+, -, * or /) back to an operation only, since when I put in $ARGV[0] $ARGV[1]...
    See more | Go to post
No activity results to display
Show More
Working...