[Omaha.pm] Perl question

Mario Steele mario at ruby-im.net
Thu Mar 18 23:29:13 PDT 2010


I would rename it assignment_6, instead of assignment 6, as usually, bash
prefers that anything separated by a space, is considered an argument to the
program.

Even more, I would probably add .pl to the end of the filename, so as to
ensure that you can tell what is a Perl file, and so on.

2010/3/19 Wendy Moroz <wmoroz18 at gmail.com>

> I am using UNO's Blizzard account.  I have the file saved as "assignment
> 6".  I then VIM assignment 6, and that is where I am trying to get it to
> print.  Is this not correct?   Sorry, I am really confused here.  :(
>
>
> On Fri, Mar 19, 2010 at 1:15 AM, Andy Lester <andy at petdance.com> wrote:
>
>>
>> On Mar 19, 2010, at 1:12 AM, Wendy Moroz wrote:
>>
>> > Hi - this is my first time asking a question, so I am not sure if I'm
>> doing this right.
>> >
>> > I am a new Perl user - this is my very first attempt at trying to run a
>> Perl command.  It is for my class, and I really need some help.
>> >
>> > I have the file chmod'ed so I am able to execute commands.  I also have
>> the shebang, strict, and warnings lines entered and everything is typed
>> correctly.
>> >
>> > I tried the "Hello World" line by entering this:   print "hello world.
>> \n"
>> >
>> > When I key that in, nothing happens.  This seems like an incredibly easy
>> command, yet for the life of me I can't figure out what am I doing wrong??
>>  When you ask Perl to output (print) something, how/where is it supposed to
>> show up?
>>
>> You have it keyed in where?  Do you have all this saved in a file?  What's
>> the file called?
>>
>> You want to save all this in a file called, for example, "hello.pl".
>>  Then, you run it by running "perl hello.pl".  What OS are you on?
>>
>> xoa
>>
>>
>> --
>> Andy Lester => andy at petdance.com => www.theworkinggeek.com =>
>> AIM:petdance
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Omaha-pm mailing list
>> Omaha-pm at pm.org
>> http://mail.pm.org/mailman/listinfo/omaha-pm
>>
>
>
> _______________________________________________
> Omaha-pm mailing list
> Omaha-pm at pm.org
> http://mail.pm.org/mailman/listinfo/omaha-pm
>



-- 
Mario Steele
Lieutenant 3 - Geo 99
XO - STO IFT Fleet
Chief Engineer - Second Life
http://www.iftcommand.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/omaha-pm/attachments/20100319/8e9a37d0/attachment-0001.html>


More information about the Omaha-pm mailing list