Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");

by grep (Monsignor)
on Jun 07, 2007 at 16:31 UTC ( #619847=note: print w/ replies, xml ) Need Help??


in reply to Re: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");
in thread any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");

Unless I'm missing something - it doesn't have to be an overloaded obj or a symbolic ref. It could be just a non-explicit (DWIM) deref.

use strict; use warnings; use Data::Dumper; my $user = [ 'foo','bar' ]; push( @$user,'baz'); print Dumper $user;

grep
1)Gain XP 2)??? 3)Profit


Comment on Re^2: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-08-29 21:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls