Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: META tags in perl scripts



>>>>> "Simon" == Simon Cozens <simon@example.com> writes:

    Simon> Stephen J. Turnbull (lists.tlug):
    >> Oh, and doesn't PERL output a newline for every print?

    Simon> Come on, Turnbull, empirical method:

    Simon> % perl -e 'print ":)"'
    Simon> :)justanother:simon ~ %

Doesn't work atall on my box.

I guess the command you really meant was

$ python -c 'print ":)"'
:)
$ 

Seriously, is the existence of "print" just another example of
"there's ALWAYS several useless alternative ways of doing things in
Perl"?

Interestingly enough, I can't find a way to duplicate the Perl output
using Python.[1]

$ python -c 'print ":)",'
:)
$ 


Footnotes: 
[1]  Of course I could use low-level direct writes.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."
-----------------------------------------------------------------------
Next Technical Meeting: July 8 (Sat)  13:30  Place: LinuxProbe Hall
Next Nomikai meeting: August 18 (Fri) 19:00  Place: TBD
-----------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links