Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Build your array with push

by Anonymous Monk
on Jan 31, 2006 at 16:49 UTC ( #526799=note: print w/ replies, xml ) Need Help??


in reply to Re: Build your array with push
in thread Build your array with push

Of course, if you want to get rid of all that pesky horizontal scrolling you could pass something like the following through cpp...

p\ u\ s\ h\ (\ @\ H\ i\ b\ b\ s\ _\ D\ a\ g\ l\ i\ s\ h\ _\ S\ c\ h\ w\ a\ r\ t\ z\ _\ V\ r\ o\ o\ m\ ,\ c\ h\ r\ (\ 0\ b\ 1\ 0\ 0\ 1\ 0\ 0\ 0\ )\ )\ ;\


Comment on Re^2: Build your array with push
Download Code
Replies are listed 'Best First'.
Re^3: Build your array with push
by ambrus (Abbot) on Feb 01, 2006 at 10:17 UTC

    That won't work. Perl is not C.

      Sure it will, but you need the -P command-line switch (which is not recommended), cpp and sed.
      $ perl -P -MO=Deparse cpp.pl <stdin>:1:2: warning: backslash-newline at end of file push @Hibbs_Daglish_Schwartz_Vroom, 'H'; cpp.pl syntax OK
      That won't work. Perl is not C.
      Perl is pretty close though. What part of Perl's syntax makes CPP choke (just curious)?
        Oh, you said "pass it through cpp". Sorry, I didn't notice that. Then it would work.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://526799]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2015-08-03 16:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (45 votes), past polls